{
  "id": "aerc",
  "name": "aerc",
  "homepage": "https://aerc-mail.org",
  "description": "aerc is an email client that runs in your terminal.",
  "executables": [
    "aerc"
  ],
  "platforms": [
    "macos",
    "linux"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/aerc/aerc.conf",
      "[configHome]/aerc/binds.conf"
    ],
    "exclude": [],
    "secret": [
      "[configHome]/aerc/accounts.conf"
    ]
  },
  "commands": {
    "format": 1,
    "label": "Start aerc",
    "description": "Launch aerc, optionally limited to some accounts or using alternate config files. mailto: and mbox: arguments and :commands are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "man",
        "kind": "manual",
        "url": "https://man.archlinux.org/man/aerc.1",
        "revision": "aerc(1)",
        "evidence": "aerc [-h] [-v] [-a <name>] [-C <file>] [-A <file>] [-B <file>] [-I] [mailto:<...> | mbox:<file> | :<command...>]\n-a <name>, --account <name>  Load only the named account, as opposed to all configured accounts. It can also be a comma separated list of names. This option may be specified multiple times.\n-C </path/to/aerc.conf>, --aerc-conf </path/to/aerc.conf>  Instead of using $XDG_CONFIG_HOME/aerc/aerc.conf use the file at the specified path for configuring aerc.\n-A </path/to/accounts.conf>, --accounts-conf </path/to/accounts.conf>  Instead of using $XDG_CONFIG_HOME/aerc/accounts.conf use the file at the specified path for configuring accounts.\n-B </path/to/binds.conf>, --binds-conf </path/to/binds.conf>  Instead of using $XDG_CONFIG_HOME/aerc/binds.conf use the file at the specified path for configuring binds.\n-I, --no-ipc  Run commands directly in this instance rather than over IPC in an existing aerc instance.\n"
      }
    ],
    "field": [
      {
        "id": "account",
        "label": "Account",
        "description": "Load only this account; repeat for several.",
        "type": "string",
        "option": [
          "--account",
          "-a"
        ],
        "multiple": true,
        "sources": [
          "man"
        ]
      },
      {
        "id": "aerc_conf",
        "label": "aerc.conf",
        "type": "path",
        "option": [
          "--aerc-conf",
          "-C"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "man"
        ]
      },
      {
        "id": "accounts_conf",
        "label": "accounts.conf",
        "type": "path",
        "option": [
          "--accounts-conf",
          "-A"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "man"
        ]
      },
      {
        "id": "binds_conf",
        "label": "binds.conf",
        "type": "path",
        "option": [
          "--binds-conf",
          "-B"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "man"
        ]
      },
      {
        "id": "no_ipc",
        "label": "Do not use IPC",
        "type": "boolean",
        "option": [
          "--no-ipc",
          "-I"
        ],
        "sources": [
          "man"
        ]
      }
    ],
    "task": [
      {
        "id": "one_account",
        "label": "Open one account",
        "fields": [
          "account"
        ],
        "required": [
          "account"
        ]
      },
      {
        "id": "alt_config",
        "label": "Use alternate config files",
        "fields": [
          "aerc_conf",
          "accounts_conf",
          "binds_conf",
          "no_ipc"
        ],
        "required": [
          "accounts_conf"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "account",
          "no_ipc"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "aerc_conf",
          "accounts_conf",
          "binds_conf"
        ]
      }
    ]
  }
}
