{
  "description": "List, extract or create archives with atool, which picks the right archiver by file extension. Archive-specific format options are left out.",
  "options": [
    {
      "names": [
        "--list",
        "-l"
      ],
      "description": "List contents"
    },
    {
      "names": [
        "--extract",
        "-x"
      ],
      "description": "Extract"
    },
    {
      "names": [
        "--add",
        "-a"
      ],
      "description": "The first positional argument is then the archive to create."
    },
    {
      "names": [
        "--extract-to",
        "-X"
      ],
      "description": "Extract into directory",
      "args": {
        "name": "extract_to",
        "isOptional": false,
        "template": "folders"
      }
    },
    {
      "names": [
        "--subdir",
        "-D"
      ],
      "description": "Always extract into a subdirectory"
    },
    {
      "names": [
        "--format",
        "-F"
      ],
      "description": "File extension, for example tar.gz.",
      "args": {
        "name": "format",
        "description": "File extension, for example tar.gz.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--force",
        "-f"
      ],
      "description": "Overwrite existing files",
      "isDangerous": true
    },
    {
      "names": [
        "--simulate",
        "-S"
      ],
      "description": "Simulate only"
    },
    {
      "names": [
        "--quiet",
        "-q"
      ],
      "description": "Quiet"
    }
  ],
  "args": [
    {
      "name": "files",
      "description": "Archives to list or extract; for create, the new archive followed by the files to add.",
      "isOptional": false,
      "isVariadic": true,
      "template": "filepaths"
    }
  ],
  "name": "atool",
  "aliases": [
    "aunpack",
    "apack",
    "als",
    "acat",
    "adiff",
    "arepack"
  ]
}
