Options for the CommandRegistry.getCommand method.

interface CommandRegistryGetCommandOptions {
    includeAliases?: boolean;
    typeFilter?: "built-in" | "custom";
}

Properties

includeAliases?: boolean

Whether or not to include aliases.

Note: Aliases will have a lower priority than actual commands, so if a command with the same name is found, it will be returned instead of the one referenced by the alias.

true
typeFilter?: "built-in" | "custom"

The type of command to filter by.