{
  "name": "volta",
  "description": "The JavaScript Launcher",
  "subcommands": [
    {
      "name": "fetch",
      "description": "Fetches a tool to the local machine",
      "options": [
        {
          "names": [
            "--verbose"
          ],
          "description": "Enables verbose diagnostics"
        },
        {
          "names": [
            "--quiet"
          ],
          "description": "Prevents unnecessary output"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Prints help information"
        }
      ],
      "args": [
        {
          "name": "tool | tool@version",
          "is_variadic": true
        }
      ]
    },
    {
      "name": "install",
      "description": "Installs a tool in your toolchain",
      "options": [
        {
          "names": [
            "--verbose"
          ],
          "description": "Enables verbose diagnostics"
        },
        {
          "names": [
            "--quiet"
          ],
          "description": "Prevents unnecessary output"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Prints help information"
        }
      ],
      "args": [
        {
          "name": "tool@version",
          "is_variadic": true
        }
      ]
    },
    {
      "name": "uninstall",
      "description": "Uninstalls a tool from your toolchain",
      "options": [
        {
          "names": [
            "--verbose"
          ],
          "description": "Enables verbose diagnostics"
        },
        {
          "names": [
            "--quiet"
          ],
          "description": "Prevents unnecessary output"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Prints help information"
        }
      ],
      "args": [
        {
          "name": "tool"
        }
      ]
    },
    {
      "name": "pin",
      "description": "Pins your project's runtime or package manager",
      "options": [
        {
          "names": [
            "--verbose"
          ],
          "description": "Enables verbose diagnostics"
        },
        {
          "names": [
            "--quiet"
          ],
          "description": "Prevents unnecessary output"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Prints help information"
        }
      ],
      "args": [
        {
          "name": "tool@version",
          "is_variadic": true
        }
      ]
    },
    {
      "name": "list",
      "description": "Displays the current toolchain",
      "options": [
        {
          "names": [
            "-c",
            "--current"
          ],
          "description": "Show the currently-active tool(s)"
        },
        {
          "names": [
            "-d",
            "--default"
          ],
          "description": "Show your default tool(s)"
        },
        {
          "names": [
            "--verbose"
          ],
          "description": "Enables verbose diagnostics"
        },
        {
          "names": [
            "--quiet"
          ],
          "description": "Prevents unnecessary output"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--format"
          ],
          "description": "Specify output format",
          "takes_arg": true,
          "arg": {
            "name": "output format",
            "suggestions": [
              "human",
              "plain"
            ]
          }
        }
      ],
      "args": [
        {
          "name": "tool"
        }
      ]
    },
    {
      "name": "completions",
      "description": "Generates Volta completions",
      "options": [
        {
          "names": [
            "-f",
            "--force"
          ],
          "description": "Write over an existing file, if any"
        },
        {
          "names": [
            "--verbose"
          ],
          "description": "Enables verbose diagnostics"
        },
        {
          "names": [
            "--quiet"
          ],
          "description": "Prevents unnecessary output"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "-o",
            "--output"
          ],
          "description": "File to write generated completions to",
          "takes_arg": true,
          "arg": {
            "name": "file"
          }
        }
      ],
      "args": [
        {
          "name": "shell",
          "description": "Shell to generate completions for",
          "suggestions": [
            "zsh",
            "bash",
            "fish",
            "powershell",
            "elivsh"
          ]
        }
      ]
    },
    {
      "name": "which",
      "description": "Locates the actual binary that will be called by Volta",
      "options": [
        {
          "names": [
            "--verbose"
          ],
          "description": "Enables verbose diagnostics"
        },
        {
          "names": [
            "--quiet"
          ],
          "description": "Prevents unnecessary output"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Prints help information"
        }
      ],
      "args": [
        {
          "name": "binary",
          "is_variadic": true,
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "setup",
      "description": "Enables Volta for the current user",
      "options": [
        {
          "names": [
            "--verbose"
          ],
          "description": "Enables verbose diagnostics"
        },
        {
          "names": [
            "--quiet"
          ],
          "description": "Prevents unnecessary output"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Prints help information"
        }
      ]
    },
    {
      "name": "run",
      "description": "Run a command with custom Node, npm, and/or Yarn versions",
      "options": [
        {
          "names": [
            "--bundle"
          ],
          "description": "Forces npm to be the version bundled with Node"
        },
        {
          "names": [
            "--no-yarn"
          ],
          "description": "Disables Yarn"
        },
        {
          "names": [
            "--verbose"
          ],
          "description": "Enables verbose diagnostics"
        },
        {
          "names": [
            "--quiet"
          ],
          "description": "Prevents unnecessary output"
        },
        {
          "names": [
            "--node"
          ],
          "description": "Set the custom Node version",
          "takes_arg": true,
          "arg": {
            "name": "version"
          }
        },
        {
          "names": [
            "--npm"
          ],
          "description": "Set the custom npm version",
          "takes_arg": true,
          "arg": {
            "name": "version"
          }
        },
        {
          "names": [
            "--yarn"
          ],
          "description": "Set the custom Yarn version",
          "takes_arg": true,
          "arg": {
            "name": "version"
          }
        },
        {
          "names": [
            "--env"
          ],
          "description": "Set an environment variable (can be used multiple times)",
          "takes_arg": true,
          "arg": {
            "name": "NAME=value"
          }
        }
      ],
      "args": [
        {
          "name": "command"
        }
      ]
    },
    {
      "name": "help",
      "description": "Prints this message or the help of the given subcommand(s)",
      "args": [
        {
          "name": "subcommand"
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "--verbose"
      ],
      "description": "Enables verbose diagnostics"
    },
    {
      "names": [
        "--quiet"
      ],
      "description": "Prevents unnecessary output"
    },
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Prints help information"
    },
    {
      "names": [
        "-v",
        "--version"
      ],
      "description": "Prints the current version of Volta"
    }
  ]
}
