Expand description
Single-pass CLI argument parser matching coding-agent cli/args.ts.
Structs§
- Args
- Parsed CLI arguments.
- Args
Flags - Informational command-line switches.
- Context
Flags - Context resource command-line switches.
- Diagnostic
- Parser diagnostic that main reports without panicking.
- Execution
Flags - Execution-mode command-line switches.
- Resource
Flags - Extension and resource command-line switches.
- Session
Flags - Session command-line switches.
- Tool
Flags - Tool command-line switches.
Enums§
- Diagnostic
Level - Severity of a parse diagnostic.
- Flag
Value - Value captured for an unknown/extension long flag.
- List
Models - Result of parsing
--list-models [search]. - Mode
- Output mode requested via
--mode.
Functions§
- parse_
args - Parse argv tokens the same way as TypeScript
parseArgs.