OptionalallowUnknownOption?: booleanAllow unknown options
Optionalexec?: CommandExecFunc | CommandExecAsyncFuncExecute funtion to invoke for the command
Optionaloptions?: GroupOptionSpecOptions for this command only
OptionalsubCommands?: Record<string, CommandSpec>Sub commands under this command
Optionalusage?: string | (() => string)Command usage help text
Represents the specification for a command.