Skip to content

CommandArgEntryDefinition ​

A named positional argument entry accepted by createCommandSchema.

The schema may be an ArgDefinition or an already-built ArgSchema.

Signatures ​

ts
interface CommandArgEntryDefinition {}

Members ​

Properties ​

name ​

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

ts
name: string;

schema ​

Arg definition or an already-built schema.

ts
schema: ArgSchema<"string" | "number" | "boolean" | "enum" | "custom" | "keyValue"> | ArgDefinition;

See Also ​

Released under the MIT License.