public sealed class ConsoleCommandOptionsDescribes how a console command appears in CMAPI's command catalog.
Members
UsageGets the full syntax shown by help <command>.propertyCategoryGets the catalog category used to group the command.propertyAliasesGets the optional alternative names which run the command.propertyConsoleCommandOptionsCreates catalog metadata in the default Mods category.methodConsoleCommandOptionsCreates catalog metadata with a category and optional aliases.methodUsage
propertypublic string UsageGets the full syntax shown by help <command>.
Category
propertypublic string CategoryGets the catalog category used to group the command.
Aliases
propertypublic IReadOnlyList<string> AliasesGets the optional alternative names which run the command.
ConsoleCommandOptions
methodpublic ConsoleCommandOptions(string usage) : this(usage, "Mods")Creates catalog metadata in the default Mods category.
ConsoleCommandOptions
methodpublic ConsoleCommandOptions( string usage, string category, params string[] aliases)Creates catalog metadata with a category and optional aliases.