Skip to content
On this page

Commands

An Array which is contains all categories and commands for the commands page.

Example Usage

js
theme: SoftUI({
    commands: [
        {
            category: "category",
            subTitle: "subTitle",
            categoryId: "category-id", // No spaces or special characters
            image: "<img src='link to image'>",
            hideAlias: false, // Optional - Default: false - Hides the alias from all commands in the category
            hideDescription: false, // Optional - Default: false - Hides the description from all commands in the category
            hideSidebarItem: false, // Optional - Default: false - Hides the category from the sidebar
            list: [
                {
                    commandName: "cmdname",
                    commandUsage: "usage",
                    commandDescription: "Command description",
                    commandAlias: "alias"
                }
            ]
        }
    ]
})

Properties

Types

Released under the MIT License.