{
  "id": "nom",
  "name": "nom",
  "homepage": "https://github.com/guyfedwards/nom",
  "description": "RSS reader for the terminal.",
  "executables": [
    "nom"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/nom/config.yml",
      "[appData]/nom/config.yml",
      "%APPDATA%/nom/config.yml"
    ],
    "exclude": [
      "[configHome]/nom/nom.db",
      "[appData]/nom/nom.db",
      "%APPDATA%/nom/nom.db"
    ],
    "secret": [],
    "secret_paths": [
      {
        "file": [
          "[configHome]/nom/config.yml",
          "[appData]/nom/config.yml",
          "%APPDATA%/nom/config.yml"
        ],
        "match": {
          "key_path": [
            "backends.miniflux.*.api_key",
            "backends.freshrss.*.password"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "nom",
    "description": "Start the RSS reader with an optional config file, or add a feed. OPML import is left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "readme",
        "kind": "help",
        "url": "https://raw.githubusercontent.com/guyfedwards/nom/HEAD/README.md",
        "revision": "HEAD 2026-10-27",
        "evidence": "nom -c my-custom-config.yml\nnom # start TUI\nnom add <url>\nnom add [-n <name>] [-t tag [...]] <url>"
      }
    ],
    "field": [
      {
        "id": "config",
        "label": "Config file",
        "description": "Use a custom config file instead of the default one.",
        "type": "path",
        "option": [
          "-c"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "readme"
        ]
      }
    ],
    "task": [
      {
        "id": "tui",
        "label": "Start reader",
        "fields": [
          "config"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "config"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "add"
        ],
        "label": "Add a feed",
        "description": "Add a feed URL to the configuration, optionally with a name and tags.",
        "source": [
          {
            "id": "readme",
            "kind": "help",
            "url": "https://raw.githubusercontent.com/guyfedwards/nom/HEAD/README.md",
            "revision": "HEAD 2026-10-27",
            "evidence": "nom add [-n <name>] [-t tag [...]] <url>"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Feed name",
            "type": "string",
            "option": [
              "-n"
            ],
            "sources": [
              "readme"
            ]
          },
          {
            "id": "tag",
            "label": "Tags",
            "type": "string",
            "option": [
              "-t"
            ],
            "multiple": true,
            "sources": [
              "readme"
            ]
          },
          {
            "id": "url",
            "label": "Feed URL",
            "type": "url",
            "position": 0,
            "sources": [
              "readme"
            ]
          }
        ],
        "task": [
          {
            "id": "add",
            "label": "Add feed",
            "fields": [
              "url",
              "name",
              "tag"
            ],
            "required": [
              "url"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "url",
              "name",
              "tag"
            ]
          }
        ]
      }
    ]
  }
}
