asc CLI Usage
Iron Law
NEVER GENERATE ASC COMMANDS WITHOUT RUNNING asc --help OR SUBCOMMAND --help FIRST
Always use --help to discover current flags and subcommands. The asc CLI evolves — never assume flags from memory.
Command discovery
- Always use
--helpto discover commands and flags. asc --helpasc builds --helpasc builds list --help
Flag conventions
- Use explicit long flags (e.g.,
--app,--output). - No interactive prompts; destructive operations require
--confirm. - Use
--paginatewhen the user wants all pages.
Output formats
- Default output is minified JSON.
- Use
--output tableor--output markdownonly for human-readable output. --prettyis only valid with JSON output.
Authentication and defaults
- Prefer keychain auth via
asc auth login. - Fallback env vars:
ASC_KEY_ID,ASC_ISSUER_ID,ASC_PRIVATE_KEY_PATH,ASC_PRIVATE_KEY,ASC_PRIVATE_KEY_B64. ASC_APP_IDcan provide a default app ID.
Timeouts
ASC_TIMEOUT/ASC_TIMEOUT_SECONDScontrol request timeouts.ASC_UPLOAD_TIMEOUT/ASC_UPLOAD_TIMEOUT_SECONDScontrol upload timeouts.
Documentation Sources
| Source | How to Access | Purpose |
|--------|--------------|---------|
| asc CLI help | asc --help, asc <command> --help | Discover current flags, subcommands, and options |
| asc subcommand help | asc builds --help, asc submit --help | Command-specific flags and usage |