Variable passThroughCommandConst

passThroughCommand: {
    handler: (
        state: Readonly<State<unknown, OptionsConfig>>,
    ) => Promise<unknown>;
    requiresSubcommand: true;
} = ...

A command handler that simply passes the data to the next command in the chain, requiring a subcommand to pass the data to.

Type declaration

  • Readonlyhandler: (state: Readonly<State<unknown, OptionsConfig>>) => Promise<unknown>
  • ReadonlyrequiresSubcommand: true