{
  "id": "mas",
  "name": "mas",
  "description": "Command line interface for the Mac App Store.",
  "executables": [
    "mas"
  ],
  "platforms": [
    "macos"
  ],
  "commands": {
    "format": 1,
    "label": "Mac App Store CLI",
    "description": "Search and install Mac App Store apps.",
    "quality": "ai-draft",
    "base": "fig:mas",
    "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/mas.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "search"
        ],
        "label": "Search for apps",
        "description": "Search for apps from the Mac App Store.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/mas.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "query",
            "label": "Search term",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "search",
            "label": "Search",
            "fields": [
              "query"
            ],
            "required": [
              "query"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "query"
            ]
          }
        ]
      },
      {
        "path": [
          "install"
        ],
        "label": "Install an app",
        "description": "Install an application by its App Store ID.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/mas.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "app",
            "label": "App ID",
            "type": "string",
            "position": 0,
            "effect": "exec",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install",
            "fields": [
              "app"
            ],
            "required": [
              "app"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "app"
            ]
          }
        ]
      }
    ]
  }
}
