Skip to main content

CommandPrintHelpForSubcommandsArguments

Callable

  • CommandPrintHelpForSubcommandsArguments(cmd: ICommand, options: { arguments?: string[] | () => string[]; subcommands?: Subcommand[] }, timeout?: number): void

  • Prints out the help for commands


    Parameters

    • cmd: ICommand
    • options: { arguments?: string[] | () => string[]; subcommands?: Subcommand[] }

      list of commands

      • optionalarguments: string[] | () => string[]
      • optionalsubcommands: Subcommand[]
    • optionaltimeout: number

      total time to display the help message in ms

    Returns void