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 = []
[[dotfiles.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 }
[[commands.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
-r refresh feeds on start
-i <file> import OPML file
-u <urlfile> read RSS feed URLs from <urlfile>
-c <cachefile> use <cachefile> as cache file
-C <configfile> read configuration from <configfile>
-X clean up cache thoroughly
-q quiet startup
"""
[[commands.field]]
id = "refresh"
label = "Refresh feeds on start"
type = "boolean"
option = ["-r"]
sources = ["help"]
[[commands.field]]
id = "urlfile"
label = "URL file"
type = "path"
option = ["-u"]
path = { kind = "file", role = "input" }
sources = ["help"]
[[commands.field]]
id = "cachefile"
label = "Cache file"
type = "path"
option = ["-c"]
path = { kind = "file", role = "output", must_exist = false }
sources = ["help"]
[[commands.field]]
id = "configfile"
label = "Config file"
type = "path"
option = ["-C"]
path = { kind = "file", role = "input" }
sources = ["help"]
[[commands.field]]
id = "import_opml"
label = "Import OPML file"
type = "path"
option = ["-i"]
path = { kind = "file", role = "input" }
sources = ["help"]
[[commands.field]]
id = "export_opml"
label = "Export OPML to stdout"
type = "boolean"
option = ["-e"]
sources = ["help"]
[[commands.field]]
id = "cleanup"
label = "Clean up cache thoroughly"
type = "boolean"
option = ["-X"]
sources = ["help"]
[[commands.field]]
id = "quiet"
label = "Quiet startup"
type = "boolean"
option = ["-q"]
sources = ["help"]
[[commands.task]]
id = "start"
label = "Start and refresh"
fields = ["refresh"]
set = { refresh = [true] }
[[commands.task]]
id = "import"
label = "Import OPML"
fields = ["import_opml"]
required = ["import_opml"]
[[commands.task]]
id = "export"
label = "Export OPML"
fields = ["export_opml"]
set = { export_opml = [true] }
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["refresh", "urlfile", "import_opml", "export_opml"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["cachefile", "configfile", "cleanup", "quiet"]