{
  "name": "sudo",
  "description": "Execute a command as the superuser or another user",
  "options": [
    {
      "names": [
        "-g",
        "--group"
      ],
      "description": "Run command as the specified group name or ID",
      "args": [
        {
          "name": "group",
          "description": "Group name or ID"
        }
      ]
    },
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Display help message and exit"
    },
    {
      "names": [
        "-u",
        "--user"
      ],
      "description": "Run command as specified user name or ID",
      "args": [
        {
          "name": "user",
          "description": "User name or ID"
        }
      ]
    }
  ],
  "args": [
    {
      "name": "command",
      "description": "Command to run with elevated permissions",
      "isCommand": true
    }
  ]
}
