{
  "name": "dotnet",
  "description": "The dotnet cli",
  "options": [
    {
      "names": [
        "--version"
      ],
      "description": "Prints out the version of the .NET SDK used by dotnet commands. Includes the effects of any global.json"
    },
    {
      "names": [
        "--info"
      ],
      "description": "Prints out detailed information about a .NET installation and the machine environment, such as the current operating system, and commit SHA of the .NET version"
    },
    {
      "names": [
        "--list-runtimes"
      ],
      "description": "Prints out a list of the installed .NET runtimes. An x86 version of the SDK lists only x86 runtimes, and an x64 version of the SDK lists only x64 runtimes"
    },
    {
      "names": [
        "--list-sdks"
      ],
      "description": "Prints out a list of the installed .NET SDKs"
    },
    {
      "names": [
        "-?",
        "-h",
        "--help"
      ],
      "description": "Prints out a list of available commands"
    },
    {
      "names": [
        "-d",
        "--diagnostics"
      ],
      "description": "Enables diagnostic output"
    },
    {
      "names": [
        "-v",
        "--verbosity"
      ],
      "description": "Sets the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. Not supported in every command. See specific command page to determine if this option is available",
      "args": [
        {
          "name": "verbosity",
          "suggestions": [
            "quiet",
            "minimal",
            "normal",
            "detailed",
            "diagnostic"
          ]
        }
      ]
    },
    {
      "names": [
        "--additionalprobingpath"
      ],
      "description": "Path containing probing policy and assemblies to probe",
      "args": [
        {
          "name": "path",
          "template": "folders"
        }
      ]
    },
    {
      "names": [
        "--additional-deps"
      ],
      "description": "Path to an additional .deps.json file. A deps.json file contains a list of dependencies, compilation dependencies, and version information used to address assembly conflicts. For more information, see Runtime Configuration Files on GitHub",
      "args": [
        {
          "name": "deps",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "-depsfile"
      ],
      "description": "Path to the deps.json file. A deps.json file is a configuration file that contains information about dependencies necessary to run the application. This file is generated by the .NET SDK",
      "args": [
        {
          "name": "deps",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "--runtimeconfig"
      ],
      "description": "Path to a runtimeconfig.json file. A runtimeconfig.json file is a configuration file that contains run-time settings",
      "args": [
        {
          "name": "path",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "--roll-forward"
      ],
      "description": "Controls how roll forward is applied to the app. The SETTING can be one of the following values. If not specified, Minor is the default",
      "args": [
        {
          "name": "setting",
          "suggestions": [
            "LatestPatch",
            "Minor",
            "Major",
            "LatestMinor",
            "LatestMajor",
            "Disable"
          ]
        }
      ]
    },
    {
      "names": [
        "--fx-version"
      ],
      "description": "Version of the .NET runtime to use to run the application",
      "args": [
        {
          "name": "version"
        }
      ]
    }
  ],
  "args": [
    {
      "name": "command",
      "isOptional": true,
      "template": "filepaths"
    }
  ],
  "subcommands": [
    {
      "name": "new",
      "options": [
        {
          "names": [
            "--name",
            "-n"
          ],
          "description": "Name",
          "args": {
            "name": "name",
            "isOptional": false
          }
        },
        {
          "names": [
            "--output",
            "-o"
          ],
          "description": "Output directory",
          "args": {
            "name": "output",
            "isOptional": false,
            "template": "folders"
          }
        },
        {
          "names": [
            "--dry-run"
          ],
          "description": "Dry run"
        },
        {
          "names": [
            "--force"
          ],
          "description": "Overwrite existing files",
          "isDangerous": true
        }
      ],
      "args": [
        {
          "name": "template",
          "isOptional": true,
          "suggestions": [
            {
              "name": "console",
              "description": "console"
            },
            {
              "name": "classlib",
              "description": "classlib"
            },
            {
              "name": "webapi",
              "description": "webapi"
            },
            {
              "name": "xunit",
              "description": "xunit"
            },
            {
              "name": "sln",
              "description": "sln"
            },
            {
              "name": "gitignore",
              "description": "gitignore"
            }
          ]
        }
      ]
    },
    {
      "name": "add"
    },
    {
      "name": "list"
    },
    {
      "name": "remove"
    },
    {
      "name": "build",
      "options": [
        {
          "names": [
            "--configuration",
            "-c"
          ],
          "description": "Configuration",
          "args": {
            "name": "configuration",
            "isOptional": false,
            "suggestions": [
              {
                "name": "Debug",
                "description": "Debug"
              },
              {
                "name": "Release",
                "description": "Release"
              }
            ]
          }
        },
        {
          "names": [
            "--framework",
            "-f"
          ],
          "description": "Target framework",
          "args": {
            "name": "framework",
            "isOptional": false
          }
        },
        {
          "names": [
            "--runtime",
            "-r"
          ],
          "description": "Runtime identifier",
          "args": {
            "name": "runtime",
            "isOptional": false
          }
        },
        {
          "names": [
            "--output",
            "-o"
          ],
          "description": "Output directory",
          "args": {
            "name": "output",
            "isOptional": false,
            "template": "folders"
          }
        },
        {
          "names": [
            "--no-restore"
          ],
          "description": "Skip restore"
        },
        {
          "names": [
            "--no-incremental"
          ],
          "description": "Non-incremental build"
        },
        {
          "names": [
            "--self-contained"
          ],
          "description": "Self-contained"
        },
        {
          "names": [
            "--no-logo"
          ],
          "description": "No banner"
        }
      ],
      "args": [
        {
          "name": "project",
          "isOptional": true,
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "build-server"
    },
    {
      "name": "clean"
    },
    {
      "name": "format"
    },
    {
      "name": "migrate"
    },
    {
      "name": "msbuild"
    },
    {
      "name": "nuget"
    },
    {
      "name": "pack"
    },
    {
      "name": "publish"
    },
    {
      "name": "restore"
    },
    {
      "name": "run",
      "options": [
        {
          "names": [
            "--project"
          ],
          "description": "Project path",
          "args": {
            "name": "project",
            "isOptional": false,
            "template": "filepaths"
          }
        },
        {
          "names": [
            "--configuration",
            "-c"
          ],
          "description": "Configuration",
          "args": {
            "name": "configuration",
            "isOptional": false,
            "suggestions": [
              {
                "name": "Debug",
                "description": "Debug"
              },
              {
                "name": "Release",
                "description": "Release"
              }
            ]
          }
        },
        {
          "names": [
            "--framework",
            "-f"
          ],
          "description": "Target framework",
          "args": {
            "name": "framework",
            "isOptional": false
          }
        },
        {
          "names": [
            "--launch-profile",
            "-lp"
          ],
          "description": "Launch profile",
          "args": {
            "name": "launch_profile",
            "isOptional": false
          }
        },
        {
          "names": [
            "--no-launch-profile"
          ],
          "description": "Ignore launch profile"
        },
        {
          "names": [
            "--no-build"
          ],
          "description": "Skip build"
        },
        {
          "names": [
            "--no-restore"
          ],
          "description": "Skip restore"
        }
      ]
    },
    {
      "name": "sln"
    },
    {
      "name": "store"
    },
    {
      "name": "test",
      "options": [
        {
          "names": [
            "--filter"
          ],
          "description": "Test filter",
          "args": {
            "name": "filter",
            "isOptional": false
          }
        },
        {
          "names": [
            "--logger",
            "-l"
          ],
          "description": "Logger",
          "args": {
            "name": "logger",
            "isOptional": false,
            "suggestions": [
              {
                "name": "trx",
                "description": "trx"
              },
              {
                "name": "console;verbosity=detailed",
                "description": "console;verbosity=detailed"
              }
            ]
          }
        },
        {
          "names": [
            "--configuration",
            "-c"
          ],
          "description": "Configuration",
          "args": {
            "name": "configuration",
            "isOptional": false,
            "suggestions": [
              {
                "name": "Debug",
                "description": "Debug"
              },
              {
                "name": "Release",
                "description": "Release"
              }
            ]
          }
        },
        {
          "names": [
            "--framework",
            "-f"
          ],
          "description": "Target framework",
          "args": {
            "name": "framework",
            "isOptional": false
          }
        },
        {
          "names": [
            "--list-tests"
          ],
          "description": "List tests only"
        },
        {
          "names": [
            "--no-build"
          ],
          "description": "Skip build"
        },
        {
          "names": [
            "--no-restore"
          ],
          "description": "Skip restore"
        },
        {
          "names": [
            "--collect"
          ],
          "description": "Data collector",
          "args": {
            "name": "collect",
            "isOptional": false,
            "suggestions": [
              {
                "name": "XPlat Code Coverage",
                "description": "XPlat Code Coverage"
              }
            ]
          }
        },
        {
          "names": [
            "--results-directory"
          ],
          "description": "Results directory",
          "args": {
            "name": "results_directory",
            "isOptional": false,
            "template": "folders"
          }
        },
        {
          "names": [
            "--blame"
          ],
          "description": "Blame mode"
        }
      ]
    },
    {
      "name": "tool"
    }
  ]
}
