Skip to content

CommandArgEntry ​

A named positional argument entry in the command schema.

Pairs a user-facing arg name with its ArgSchema descriptor. The array ordering in CommandSchema.args determines CLI position.

Signatures ​

ts
interface CommandArgEntry {}

Members ​

Properties ​

name ​

User-facing argument name (shown in help as <name>).

ts
name: string;

schema ​

Runtime descriptor controlling parsing, presence, and coercion.

ts
schema: ArgSchema;

See Also ​

Released under the MIT License.