{
  "id": "hostname",
  "name": "hostname",
  "description": "Print the name of the current host system, or set it.",
  "executables": [
    "hostname"
  ],
  "commands": {
    "format": 1,
    "label": "Show host name",
    "description": "Print the host name, optionally trimmed or with domain information. Setting the name needs privileges and is left out.",
    "quality": "ai-draft",
    "base": "fig:hostname",
    "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/hostname.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "full",
        "label": "Include domain",
        "type": "boolean",
        "option": [
          "-f"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "short",
        "label": "Trim domain",
        "type": "boolean",
        "option": [
          "-s"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "domain_only",
        "label": "Domain only",
        "type": "boolean",
        "option": [
          "-d"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "show",
        "label": "Show host name",
        "fields": [
          "full",
          "short",
          "domain_only"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "full",
          "short",
          "domain_only"
        ]
      }
    ]
  }
}
