@flowscripter/dynamic-cli-framework
    Preparing search index...

    Interface GroupCommand

    Interface for a group command.

    interface GroupCommand {
        description?: string;
        disableGenericHelpDisplay?: boolean;
        enableConfiguration?: boolean;
        memberSubCommands: readonly SubCommand[];
        name: string;
        execute(context: Context): Promise<void>;
    }

    Hierarchy (View Summary)

    Index
    description?: string

    Optional description of the command.

    disableGenericHelpDisplay?: boolean

    Optionally hide the command from generic help listings. The command remains registered and executable, and its own usage help (help <command>) is still shown if explicitly requested.

    enableConfiguration?: boolean

    Optionally enable support for populating argument values via configuration. If this is true then default argument values may be sourced using a configuration source provided by the CLI runtime.

    memberSubCommands: readonly SubCommand[]

    Array of SubCommand instances for this group command. Must contain at least one sub-command.

    name: string

    Name of the command.

    Must consist of alphanumeric non-whitespace ASCII or _ and - characters. Cannot start with -.

    • Execute the command.

      Parameters

      Returns Promise<void>