{
  "name": "env",
  "description": "Set environment and execute command, or print environment",
  "options": [
    {
      "names": [
        "-0"
      ],
      "description": "End each output line with NUL, not newline"
    },
    {
      "names": [
        "-i",
        "-"
      ],
      "description": "Start with an empty environment"
    },
    {
      "names": [
        "-v"
      ],
      "description": "Print verbose logs"
    },
    {
      "names": [
        "-u"
      ],
      "description": "Remove variable from the environment",
      "args": [
        {
          "name": "name"
        }
      ]
    },
    {
      "names": [
        "-P"
      ],
      "description": "Search the given directories for the utility, rather than the PATH",
      "args": [
        {
          "name": "altpath",
          "template": "folders"
        }
      ]
    },
    {
      "names": [
        "-S"
      ],
      "description": "Split the given string into separate arguments",
      "args": [
        {
          "name": "string"
        }
      ]
    }
  ],
  "args": [
    {
      "name": "name=value ...",
      "description": "Set environment variables",
      "isOptional": true
    },
    {
      "name": "utility",
      "description": "Utility to run",
      "isOptional": true,
      "isCommand": true
    }
  ]
}
