{
  "description": "Common mise jobs: install tools, add them to the config, list them. Execution and tasks are left out.",
  "name": "mise",
  "subcommands": [
    {
      "name": "use",
      "description": "Install a tool and add it to config",
      "options": [
        {
          "names": [
            "--global",
            "-g"
          ],
          "description": "Write to global config"
        },
        {
          "names": [
            "--pin"
          ],
          "description": "Pin resolved version"
        },
        {
          "names": [
            "--force",
            "-f"
          ],
          "description": "Reinstall if installed",
          "isDangerous": true
        },
        {
          "names": [
            "--path",
            "-p"
          ],
          "description": "Config file",
          "args": {
            "name": "path",
            "isOptional": false,
            "template": "filepaths"
          }
        }
      ],
      "args": [
        {
          "name": "tools",
          "isOptional": true,
          "isVariadic": true,
          "suggestions": [
            {
              "name": "node@24",
              "description": "node@24"
            },
            {
              "name": "python@latest",
              "description": "python@latest"
            }
          ]
        }
      ]
    },
    {
      "name": "install",
      "description": "Install tools",
      "options": [
        {
          "names": [
            "--dry-run",
            "-n"
          ],
          "description": "Dry run"
        },
        {
          "names": [
            "--force",
            "-f"
          ],
          "description": "Reinstall",
          "isDangerous": true
        },
        {
          "names": [
            "--jobs",
            "-j"
          ],
          "description": "Parallel jobs",
          "args": {
            "name": "jobs",
            "isOptional": false
          }
        },
        {
          "names": [
            "--verbose",
            "-v"
          ],
          "description": "Show installer output"
        }
      ],
      "args": [
        {
          "name": "tools",
          "description": "Leave empty to install everything in the config.",
          "isOptional": true,
          "isVariadic": true
        }
      ]
    }
  ]
}
