{
  "id": "asar",
  "name": "asar",
  "description": "Electron archive format: a simple tar-like archive with indexing.",
  "homepage": "https://github.com/electron/asar",
  "executables": [
    "asar"
  ],
  "commands": {
    "format": 1,
    "label": "asar archives",
    "description": "Pack, list or extract asar archives.",
    "quality": "ai-draft",
    "base": "fig:asar",
    "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/asar.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "pack"
        ],
        "label": "Create archive",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/asar.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "directory",
            "label": "Directory to archive",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "output",
            "label": "Output archive",
            "type": "path",
            "position": 1,
            "path": {
              "kind": "file",
              "role": "output",
              "must_exist": false
            },
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "pack",
            "label": "Pack",
            "fields": [
              "directory",
              "output"
            ],
            "required": [
              "directory",
              "output"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "directory",
              "output"
            ]
          }
        ]
      },
      {
        "path": [
          "list"
        ],
        "label": "List archive",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/asar.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "archive",
            "label": "Archive",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List",
            "fields": [
              "archive"
            ],
            "required": [
              "archive"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "archive"
            ]
          }
        ]
      },
      {
        "path": [
          "extract"
        ],
        "label": "Extract archive",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/asar.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "archive",
            "label": "Archive",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "directory",
            "label": "Extract to",
            "type": "path",
            "position": 1,
            "path": {
              "kind": "directory",
              "role": "output",
              "must_exist": false
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "extract",
            "label": "Extract",
            "fields": [
              "archive",
              "directory"
            ],
            "required": [
              "archive",
              "directory"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "archive",
              "directory"
            ]
          }
        ]
      }
    ]
  }
}
