{
  "name": "fvm",
  "description": "Flutter Version Management: A cli to manage Flutter SDK versions",
  "subcommands": [
    {
      "name": "config",
      "description": "Set configuration for FVM",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print this usage information"
        },
        {
          "names": [
            "-c",
            "--cache-path"
          ],
          "description": "Set the path which FVM will cache the version. Priority over FVM_HOME",
          "takes_arg": true,
          "arg": {
            "name": "path",
            "description": "Path to the Flutter versions cache",
            "template": "filepaths"
          }
        },
        {
          "names": [
            "-s",
            "--skip-setup",
            "--no-skip-setup"
          ],
          "description": "Skip setup after a version install"
        },
        {
          "names": [
            "-g",
            "--git-cache",
            "--no-git-cache"
          ],
          "description": "ADVANCED: Will cache a local version of Flutter repo for faster version install"
        }
      ]
    },
    {
      "name": "dart",
      "description": "Proxies Dart commands"
    },
    {
      "name": "doctor",
      "description": "Shows information about environment, and project configuration"
    },
    {
      "name": "flavor",
      "description": "Switches between different project flavors",
      "args": [
        {
          "name": "flavor-name",
          "description": "The flavor to switch to"
        }
      ]
    },
    {
      "name": "flutter",
      "description": "Proxies Flutter commands"
    },
    {
      "name": "global",
      "description": "Sets Flutter SDK version as global",
      "args": [
        {
          "name": "version",
          "description": "Flutter SDK to set for global flutter command"
        }
      ]
    },
    {
      "name": "install",
      "description": "Installs Flutter SDK version",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print this usage information"
        },
        {
          "names": [
            "-s",
            "--skip-setup"
          ],
          "description": "Skips Flutter setup after install"
        }
      ],
      "args": [
        {
          "name": "version",
          "suggestions": [
            "stable",
            "beta",
            "dev"
          ]
        }
      ]
    },
    {
      "name": "list",
      "description": "Lists installed Flutter SDK versions",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print this usage information"
        }
      ]
    },
    {
      "name": "releases",
      "description": "View all Flutter SDK releases available for install",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print this usage information"
        }
      ]
    },
    {
      "name": "remove",
      "description": "Removes Flutter SDK version",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print this usage information"
        },
        {
          "names": [
            "--force"
          ],
          "description": "Skips version global check"
        }
      ],
      "args": [
        {
          "name": "version",
          "description": "The installed Flutter version to remove"
        }
      ]
    },
    {
      "name": "spawn",
      "description": "Spawn a Flutter SDK version command",
      "args": [
        {
          "name": "version",
          "description": "The Flutter version from which to spawn a command"
        }
      ]
    },
    {
      "name": "use",
      "description": "Sets a Flutter SDK version to be used in a project",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Print this usage information"
        },
        {
          "names": [
            "-f",
            "--force"
          ],
          "description": "Skips command guards that does Flutter project checks"
        },
        {
          "names": [
            "-p",
            "--pin"
          ],
          "description": "If version provided is a channel. Will pin the latest release of the channel"
        },
        {
          "names": [
            "--flavor"
          ],
          "description": "Sets version for a project flavor"
        }
      ],
      "args": [
        {
          "name": "version",
          "description": "The Flutter SDK version to use"
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Print this usage information"
    },
    {
      "names": [
        "--verbose"
      ],
      "description": "Print verbose output"
    },
    {
      "names": [
        "--version"
      ],
      "description": "Current FVM version"
    }
  ]
}
