Qaze CLI
Use qaze tc when you want fast, repeatable runs from your terminal.
When The CLI Is Useful
- Before a commit: validate manifests quickly
- In CI: fail builds when checks fail
- For smoke tests: run a tagged subset only
- For debugging: preview and run one manifest directly
First CLI Session
bash
qaze tc ping
qaze tc validate .
qaze tc run . --dry-run
qaze tc run .Practical Examples
Run only smoke tests
bash
qaze tc run . --tag smokeRun only publish checks
bash
qaze tc run . --kind PublishRun one manifest while debugging
bash
qaze tc validate publish-orders.yaml
qaze tc preview publish-orders.yaml
qaze tc run publish-orders.yamlProduce JSON output for CI artifacts
bash
qaze tc run . --output json --output-file qaze-results.jsonConfigure Connections
You can provide connection data using:
- CLI flags
qaze.config.yaml- Environment variables
If the same value is set in multiple places, CLI flags win.
Config File
Create a starter file:
bash
qaze config initExample qaze.config.yaml:
yaml
connections:
- id: default
name: My Connection
work:
server: nats://localhost:4222
# sys:
# creds: /path/to/sys.credsUse a specific config connection:
bash
qaze tc run . --connection-id defaultCommon Environment Variables
QAZE_TESTING_CLIENT_SERVERQAZE_TESTING_CLIENT_CONTEXTQAZE_TESTING_CLIENT_CREDSQAZE_TESTING_CLIENT_NKEYQAZE_TESTING_CLIENT_USERQAZE_TESTING_CLIENT_PASSWORDQAZE_TESTING_CLIENT_SYS_CONTEXTQAZE_TESTING_CLIENT_SYS_CREDSQAZE_TESTING_CLIENT_SYS_NKEYQAZE_TESTING_CLIENT_SYS_USERQAZE_TESTING_CLIENT_SYS_PASSWORD
Command Map
qaze tc runexecute manifestsqaze tc validatelint/validate manifests onlyqaze tc previewpreview publish payload + subjectqaze tc listlist manifests in a pathqaze tc treeshow manifest treeqaze tc initcreate collections or manifestsqaze tc pingverify NATS connectivity
Notes
qaze tc runsupportsPublishandRequest.qaze tc previewsupportsPublishmanifests.- If a manifest uses
useSystemAccount, configure system credentials (sys) in flags, config, or environment variables. - Use
qaze tc --helpandqaze tc <command> --helpfor full options.