Skip to content

CommandConfig

Compile-time state carried through the command builder chain.

F accumulates named flag builders; A accumulates named arg builders. Both start empty ({}) and grow as .flag() / .arg() are called.

Signatures

ts
interface CommandConfig {}

Members

Properties

args

Accumulated arg builders keyed by arg name.

ts
args: Record<string, ArgBuilder<ArgConfig>>;

flags

Accumulated flag builders keyed by flag name.

ts
flags: Record<string, FlagBuilder<FlagConfig>>;

See Also

Released under the MIT License.