feat(S-303): Update --help output and add CLI integration smoke tests
This commit is contained in:
@@ -71,10 +71,25 @@ function printHelp(): void {
|
||||
|
||||
Usage:
|
||||
ai-cli-dispatch list [--json|--text]
|
||||
ai-cli-dispatch run --client <client> --prompt <prompt> [--json|--text]
|
||||
ai-cli-dispatch dispatch <prompt> [--client <client>] [--json|--text]
|
||||
ai-cli-dispatch run --client <client> --prompt <prompt> [--sync] [--timeout <ms>] [--debug] [--json|--text]
|
||||
ai-cli-dispatch dispatch <prompt> [--client <client>] [--sync] [--timeout <ms>] [--debug] [--json|--text]
|
||||
ai-cli-dispatch start --client <client> --prompt <prompt> [--timeout <ms>] [--debug] [--json|--text]
|
||||
ai-cli-dispatch status <job-id> [--json|--text]
|
||||
ai-cli-dispatch results <job-id> [--json|--text]
|
||||
ai-cli-dispatch cancel <job-id> [--json|--text]
|
||||
ai-cli-dispatch list-jobs [--status running|completed|failed] [--json|--text]
|
||||
ai-cli-dispatch cleanup-jobs [--max-age <number>[h|m|s|d]] [--json|--text]
|
||||
ai-cli-dispatch --help
|
||||
|
||||
Flags:
|
||||
--sync Run synchronously and block until the client returns (default is async)
|
||||
--timeout Timeout in milliseconds (or override via config)
|
||||
--debug Emit diagnostic JSON to stderr
|
||||
--max-age Maximum age for cleanup (default unit: hours)
|
||||
--status Filter jobs by status (running, completed, failed)
|
||||
--json Output JSON (default)
|
||||
--text Output plain text
|
||||
|
||||
Clients: codex, claude, opencode`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user