{
  "id": "neomutt",
  "name": "NeoMutt",
  "homepage": "https://neomutt.org/",
  "description": "A command-line mail reader based on the Mutt mail client.",
  "executables": [
    "neomutt"
  ],
  "dotfiles": {
    "paths": [],
    "secret": [
      "[configHome]/neomutt/neomuttrc",
      "[configHome]/neomutt/muttrc"
    ],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Send or open mail",
    "description": "Open a mailbox, or compose a message with recipients, subject and attachments. Draft, include and debug options are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "help",
        "kind": "manual",
        "url": "https://manpages.debian.org/unstable/neomutt/neomutt.1.en.html",
        "revision": "debian unstable",
        "evidence": "  -a file\n  Attach one or more files to a message (must be the last option).\n  -b address\n  Specify a blind carbon copy (Bcc) recipient\n  -c address\n  Specify a carbon copy (Cc) recipient\n  -e command\n  Specify a command to be run after reading the config files\n  -F config\n  Specify an alternative initialization file to read, see FILES\n  -f mailbox\n  Specify a mailbox (as defined with mailboxes command) to load\n  -n\n  Do not read the system-wide configuration file\n  -R\n  Open mailbox in read-only mode\n  -s subject\n  Specify a subject (must be enclosed in quotes if it has spaces)\n"
      }
    ],
    "field": [
      {
        "id": "mailbox",
        "label": "Mailbox",
        "type": "string",
        "option": [
          "-f"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "read_only",
        "label": "Read-only",
        "type": "boolean",
        "option": [
          "-R"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "config",
        "label": "Config file",
        "type": "path",
        "option": [
          "-F"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "help"
        ]
      },
      {
        "id": "no_system_config",
        "label": "Skip system-wide config",
        "type": "boolean",
        "option": [
          "-n"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "subject",
        "label": "Subject",
        "type": "string",
        "option": [
          "-s"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "cc",
        "label": "Cc",
        "type": "string",
        "option": [
          "-c"
        ],
        "multiple": true,
        "sources": [
          "help"
        ]
      },
      {
        "id": "bcc",
        "label": "Bcc",
        "type": "string",
        "option": [
          "-b"
        ],
        "multiple": true,
        "sources": [
          "help"
        ]
      },
      {
        "id": "startup_command",
        "label": "Run command after config",
        "type": "string",
        "option": [
          "-e"
        ],
        "effect": "exec",
        "sources": [
          "help"
        ]
      }
    ],
    "task": [
      {
        "id": "open",
        "label": "Open a mailbox",
        "fields": [
          "mailbox",
          "read_only"
        ],
        "required": [
          "mailbox"
        ]
      },
      {
        "id": "compose",
        "label": "Compose a message",
        "fields": [
          "subject",
          "cc",
          "bcc"
        ],
        "required": [
          "subject"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "mailbox",
          "read_only",
          "subject",
          "cc",
          "bcc"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "config",
          "no_system_config",
          "startup_command"
        ]
      }
    ]
  }
}
