.qatech/config.json in the current directory so each project can have its own key. Use --global to write to ~/.qatech/config.json as a fallback.
Usage
Options
| Flag | Short | Description |
|---|---|---|
--api-key <key> | -k | Set the API key (saves to local config by default) |
--global | -g | Save to ~/.qatech/config.json instead of project-local |
--show | -s | Show the active configuration and where each value comes from |
--help | -h | Show command help |
Examples
Resolution order
The resolved key is the first match from:--api-keyflag on the running commandQATECH_API_KEYenvironment variable.qatech/config.jsonin the current directory (project-local)~/.qatech/config.json(global fallback)
qatech configure --show reports the active key (masked), the source it came from, and both config file paths so you can see exactly which file you’re editing.
Security
The config file stores your raw API key - treat it like any other credential. Add.qatech/ to your .gitignore if you want to keep project-local keys out of source control.