{
  "id": "uname",
  "name": "uname",
  "description": "Print operating system name and system information.",
  "executables": [
    "uname"
  ],
  "commands": {
    "format": 1,
    "label": "Show system information",
    "description": "Print selected system information. Defaults to the kernel name when nothing is chosen.",
    "quality": "ai-draft",
    "base": "fig:uname",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/uname.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "all",
        "label": "Everything",
        "type": "boolean",
        "option": [
          "-a"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "kernel",
        "label": "Operating system name",
        "type": "boolean",
        "option": [
          "-s"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "release",
        "label": "OS release",
        "type": "boolean",
        "option": [
          "-r"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "version",
        "label": "OS version",
        "type": "boolean",
        "option": [
          "-v"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "machine",
        "label": "Machine hardware name",
        "type": "boolean",
        "option": [
          "-m"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "node",
        "label": "Hostname",
        "type": "boolean",
        "option": [
          "-n"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "processor",
        "label": "Processor architecture",
        "type": "boolean",
        "option": [
          "-p"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "all",
        "label": "Show everything",
        "set": {
          "all": [
            true
          ]
        },
        "lock": [
          "all"
        ],
        "fields": [
          "all"
        ],
        "required": []
      },
      {
        "id": "arch",
        "label": "Show architecture",
        "set": {
          "machine": [
            true
          ]
        },
        "fields": [
          "machine",
          "processor"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "all",
          "kernel",
          "release",
          "version",
          "machine",
          "node",
          "processor"
        ]
      }
    ]
  }
}
