Skip to main content

Module args

Module args 

Source
Expand description

Single-pass CLI argument parser matching coding-agent cli/args.ts.

Structs§

Args
Parsed CLI arguments.
ArgsFlags
Informational command-line switches.
ContextFlags
Context resource command-line switches.
Diagnostic
Parser diagnostic that main reports without panicking.
ExecutionFlags
Execution-mode command-line switches.
ResourceFlags
Extension and resource command-line switches.
SessionFlags
Session command-line switches.
ToolFlags
Tool command-line switches.

Enums§

DiagnosticLevel
Severity of a parse diagnostic.
FlagValue
Value captured for an unknown/extension long flag.
ListModels
Result of parsing --list-models [search].
Mode
Output mode requested via --mode.

Functions§

parse_args
Parse argv tokens the same way as TypeScript parseArgs.