CLI Reference
Section titled “CLI Reference”Execute tests and manage authentication from your terminal.
Installation
Section titled “Installation”Install the zenitest CLI globally using your preferred package manager:
npm install -g zenitestpnpm add -g zenitestyarn global add zenitestbun install -g zenitestzenitest auth
Section titled “zenitest auth”Saves your Zeni API key to local configuration (~/.zenitest/config.json).
zenitest auth YOUR_API_KEYzenitest run
Section titled “zenitest run”Runs all .yaml test files in your test directory.
zenitest runOptions & Flags
Section titled “Options & Flags”| Flag | Short | Description | Default |
|---|---|---|---|
--dir <path> |
-d |
Path to test directory | zeni_tests |
--parallel <n> |
-p |
Number of test cases to run concurrently | 5 |
--help |
-h |
Show CLI help screen |
Example Usage
Section titled “Example Usage”zenitest run --dir zeni_tests --parallel 3