{
  "id": "pmset",
  "name": "pmset",
  "description": "macOS tool that manages power management settings such as sleep timers and wake behavior.",
  "executables": [
    "pmset"
  ],
  "platforms": [
    "macos"
  ],
  "commands": {
    "format": 1,
    "label": "Power management",
    "description": "Read power settings. Changing settings needs sudo and is left out of this form.",
    "quality": "ai-draft",
    "base": "fig:pmset",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/pmset.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "-g"
        ],
        "label": "Show power settings",
        "description": "Print current settings, assertions, logs or other power state.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pmset.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "what",
            "label": "What to show",
            "description": "Leave empty for the current settings.",
            "type": "string",
            "position": 0,
            "suggestions": [
              {
                "value": "live",
                "label": "Live settings"
              },
              {
                "value": "custom",
                "label": "Custom settings"
              },
              {
                "value": "ps",
                "label": "Power source"
              },
              {
                "value": "assertions",
                "label": "Assertions"
              },
              {
                "value": "sched",
                "label": "Schedule"
              },
              {
                "value": "thermlog",
                "label": "Thermal log"
              },
              {
                "value": "ups",
                "label": "UPS"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "show",
            "label": "Show settings",
            "fields": [
              "what"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "what"
            ]
          }
        ]
      }
    ]
  }
}
