{
  "id": "newsbeuter",
  "name": "Newsbeuter",
  "homepage": "https://github.com/akrennmair/newsbeuter",
  "description": "Newsbeuter is an RSS feed reader for the text console.",
  "executables": [
    "newsbeuter",
    "podbeuter"
  ],
  "platforms": [
    "macos",
    "linux"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/newsbeuter/config",
      "[configHome]/newsbeuter/urls",
      "~/.newsbeuter/config",
      "~/.newsbeuter/urls"
    ],
    "exclude": [
      "[xdgData]/newsbeuter/",
      "~/.newsbeuter/cache.db",
      "~/.newsbeuter/history.search",
      "~/.newsbeuter/history.cmdline",
      "~/.newsbeuter/queue"
    ],
    "secret": [],
    "secret_paths": [
      {
        "file": [
          "[configHome]/newsbeuter/config",
          "~/.newsbeuter/config"
        ],
        "match": {
          "prefix": [
            "oldreader-password",
            "newsblur-password",
            "feedhq-password",
            "ttrss-password",
            "ocnews-password"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Start newsbeuter",
    "description": "Start the feed reader with optional alternate URL, cache and config files, or import and export OPML. Logging and read-article sync 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/newsbeuter/newsbeuter.1.en.html",
        "revision": "debian unstable",
        "evidence": "-e              export OPML feed to stdout\n-r              refresh feeds on start\n-i <file>       import OPML file\n-u <urlfile>    read RSS feed URLs from <urlfile>\n-c <cachefile>  use <cachefile> as cache file\n-C <configfile> read configuration from <configfile>\n-X              clean up cache thoroughly\n-q              quiet startup\n"
      }
    ],
    "field": [
      {
        "id": "refresh",
        "label": "Refresh feeds on start",
        "type": "boolean",
        "option": [
          "-r"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "urlfile",
        "label": "URL file",
        "type": "path",
        "option": [
          "-u"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "help"
        ]
      },
      {
        "id": "cachefile",
        "label": "Cache file",
        "type": "path",
        "option": [
          "-c"
        ],
        "path": {
          "kind": "file",
          "role": "output",
          "must_exist": false
        },
        "sources": [
          "help"
        ]
      },
      {
        "id": "configfile",
        "label": "Config file",
        "type": "path",
        "option": [
          "-C"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "help"
        ]
      },
      {
        "id": "import_opml",
        "label": "Import OPML file",
        "type": "path",
        "option": [
          "-i"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "help"
        ]
      },
      {
        "id": "export_opml",
        "label": "Export OPML to stdout",
        "type": "boolean",
        "option": [
          "-e"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "cleanup",
        "label": "Clean up cache thoroughly",
        "type": "boolean",
        "option": [
          "-X"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet startup",
        "type": "boolean",
        "option": [
          "-q"
        ],
        "sources": [
          "help"
        ]
      }
    ],
    "task": [
      {
        "id": "start",
        "label": "Start and refresh",
        "fields": [
          "refresh"
        ],
        "set": {
          "refresh": [
            true
          ]
        }
      },
      {
        "id": "import",
        "label": "Import OPML",
        "fields": [
          "import_opml"
        ],
        "required": [
          "import_opml"
        ]
      },
      {
        "id": "export",
        "label": "Export OPML",
        "fields": [
          "export_opml"
        ],
        "set": {
          "export_opml": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "refresh",
          "urlfile",
          "import_opml",
          "export_opml"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "cachefile",
          "configfile",
          "cleanup",
          "quiet"
        ]
      }
    ]
  }
}
