{
    "help": [
        "${bright}xlings version:${clear} 0.0.4",
        "",
        "${bright}Usage: $ ${cyan}xlings [command] [target]\n",

        "${bright}Commands:${clear}",
        "\t ${magenta}new${clear},      \t create project template",
        "\t ${magenta}install${clear},  \t install packages or project dependencies",
        "\t ${magenta}use${clear},      \t swtich target version",
        "\t ${magenta}remove${clear},   \t remove packages",
        "\t ${magenta}checker${clear},  \t run project's exercise checker",
        "\t ${magenta}self${clear},     \t self management",
        "\t ${magenta}help${clear},     \t help info",
        "",
        "${bright}Tools:${clear}",
        "\t ${green}xim${clear},     \t xlings installation manager",
        "\t ${green}xvm${clear},     \t xlings version manager",
        "\t ${green}d2x${clear},     \t xlings d2x project tool",
        "\t ${green}xself${clear},   \t xlings self management",
        "",
        "More: ${underline}https://xlings.d2learn.org${clear}",
        ""
    ],

    "command-not-found": "${bright yellow}Command not found:${clear} ${red}%s${clear}, please check your input...",
    "common-qa-tips": "${bright yellow}Common-QA:${clear} ${red}https://xlings.d2learn.org/documents/qa.html${clear}",

    "xim": {
        "help":[
            "",
            "\t${bright}XIM - Xlings Installation Manager${clear}",
            "",

            "${bright}xim version:${clear} pre-v0.0.4",
            "",
            "${bright}Usage1: $ ${cyan}xlings install [command] [target]",
            "${bright}Usage2: $ ${cyan}xim [command] [target]",
            "",

            "${bright}Commands:${clear}",
            "  ${magenta}-i${clear},   install,   install software/package/env",
            "  ${magenta}-r${clear},   remove,    remove the software/package/env",
            "  ${magenta}-u${clear},   update,    update the software/package/env",
            "  ${magenta}-l${clear},   list,      list all installed software/packages/env",
            "  ${magenta}-s${clear},   search,    search for a software/package",
            "  ${magenta}-h${clear},   help,      display this help message",
            "",

            "${bright}SysCommands:${clear}",
            "  ${magenta}--detect${clear},        detect local software/packages",
            "  ${magenta}--update${clear},        update [self | index]",
            "  ${magenta}--add-xpkg${clear},      add xpkg file to index database",
            "  ${magenta}--xpkg-args${clear},     xpkg args",
            "  ${magenta}--add-indexrepo${clear}, add indexrepo to repo manager",
            "  ${magenta}--disable-info${clear},  disable info display",
            "",

            "${bright}Examples:${clear}",
            "  ${cyan}xim vscode${clear}     -- install vscode",
            "  ${cyan}xim -r vscode${clear}  -- remove/uninstall vscode",
            "  ${cyan}xim -l${clear}         -- list all installed software/packages",
            "  ${cyan}xim -s code${clear}    -- search for software/package with 'code'",
            ""
        ]
    },

    "d2x": {
        "help":[
            "${bright}d2x version:${clear} pre-v0.0.4",
            "",
            "${bright}Usage: $ ${cyan}d2x [command] [target]\n",

            "${bright}Commands:${clear}",
            "\t ${magenta}new${clear},      \t create new d2x project",
            "\t ${magenta}book${clear},     \t open project's book",
            "\t ${magenta}run${clear},      \t run sourcecode file",
            "\t ${magenta}checker${clear},  \t run checker for d2x project's exercises",
            "\t ${magenta}help${clear},     \t help info",
            ""
        ]
    },

    "xself": {
        "help":[
            "${bright}\t[ xlings self ]${clear} - xlings self sub-command",
            "",
            "${bright}Usage1: $ ${cyan}xlings self [command]\n",
            "${bright}Usage2: $ ${cyan}xself [command]\n",
            "",
            "${bright}Commands:${clear}",
            "\t ${magenta}init${clear},     \t init xlings",
            "\t ${magenta}config${clear},   \t config xlings",
            "\t ${magenta}update${clear},   \t update xlings to the latest version",
            "\t ${magenta}clean${clear},    \t clean xlings tmp files",
            "\t ${magenta}uninstall${clear},\t uninstall xlings",
            "\t ${magenta}help${clear},     \t help info",
            ""
        ]
    }
}