{
  "description": "Start pwsh with common startup switches or run a script file or a command string. Remoting, encoded commands and apartment switches are left out.",
  "options": [
    {
      "names": [
        "-NoProfile"
      ],
      "description": "Do not load the PowerShell profiles."
    },
    {
      "names": [
        "-NoLogo"
      ],
      "description": "Hide banner"
    },
    {
      "names": [
        "-NoExit"
      ],
      "description": "Stay open after running"
    },
    {
      "names": [
        "-NonInteractive"
      ],
      "description": "Fail instead of prompting for input."
    },
    {
      "names": [
        "-WorkingDirectory"
      ],
      "description": "Working directory",
      "args": {
        "name": "working_directory",
        "isOptional": false,
        "template": "folders"
      }
    },
    {
      "names": [
        "-OutputFormat"
      ],
      "description": "Output format",
      "args": {
        "name": "output_format",
        "isOptional": false,
        "suggestions": [
          {
            "name": "Text",
            "description": "Text"
          },
          {
            "name": "XML",
            "description": "XML (CLIXML)"
          }
        ]
      }
    },
    {
      "names": [
        "-Command"
      ],
      "description": "PowerShell command text to run. Must be last on the command line.",
      "args": {
        "name": "command",
        "description": "PowerShell command text to run. Must be last on the command line.",
        "isOptional": false
      },
      "isDangerous": true
    },
    {
      "names": [
        "-File"
      ],
      "description": "Script to run. Must be last on the command line.",
      "args": {
        "name": "file",
        "description": "Script to run. Must be last on the command line.",
        "isOptional": false,
        "template": "filepaths"
      },
      "isDangerous": true
    }
  ],
  "name": "pwsh",
  "aliases": [
    "powershell"
  ]
}
