Type alias WithCommand

WithCommand: {
    clusterPrefix?: string;
    exec?: CommandCallback;
    options?: Options | OptionsCallback;
}

Defines attributes for the command option.

Type declaration

  • Optional Readonly clusterPrefix?: string

    The prefix of cluster arguments. If set, then eligible arguments that have this prefix will be considered a cluster.

  • Optional Readonly exec?: CommandCallback

    The command's callback.

  • Optional Readonly options?: Options | OptionsCallback

    The command's options. It can be a callback that returns the options (for use with recursive commands).