{
  "id": "bkmr",
  "name": "bkmr",
  "homepage": "https://github.com/sysid/bkmr",
  "description": "Unified CLI tool for bookmarks, snippets, and knowledge management.",
  "executables": [
    "bkmr"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/bkmr/config.toml"
    ],
    "exclude": [],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "bkmr",
    "description": "Add and search bookmarks and snippets. Only flags shown in the README examples are covered.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "add"
        ],
        "label": "Add a bookmark or snippet",
        "description": "Store a URL or text with comma-separated tags.",
        "source": [
          {
            "id": "readme",
            "kind": "manual",
            "url": "https://github.com/sysid/bkmr/blob/main/README.md",
            "revision": "main 2026-10-27",
            "evidence": "bkmr add https://example.com tag1,tag2\nbkmr add \"SELECT * FROM users\" sql,_snip_ --title \"User Query\"\nbkmr add \"Prod DB on port 5433\" fact,database --title \"Prod DB config\" -t mem --no-web\n"
          }
        ],
        "field": [
          {
            "id": "content",
            "label": "URL or text",
            "type": "string",
            "position": 0,
            "min": 1,
            "sources": [
              "readme"
            ]
          },
          {
            "id": "tags",
            "label": "Tags (comma-separated)",
            "type": "string",
            "position": 1,
            "sources": [
              "readme"
            ]
          },
          {
            "id": "title",
            "label": "Title",
            "type": "string",
            "option": [
              "--title"
            ],
            "sources": [
              "readme"
            ]
          },
          {
            "id": "no_web",
            "label": "Don't fetch page metadata",
            "type": "boolean",
            "option": [
              "--no-web"
            ],
            "sources": [
              "readme"
            ]
          }
        ],
        "task": [
          {
            "id": "add",
            "label": "Add",
            "fields": [
              "content",
              "tags",
              "title"
            ],
            "required": [
              "content"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "content",
              "tags",
              "title",
              "no_web"
            ]
          }
        ]
      },
      {
        "path": [
          "search"
        ],
        "label": "Search bookmarks",
        "description": "Search stored bookmarks, optionally in the fuzzy finder.",
        "source": [
          {
            "id": "readme",
            "kind": "manual",
            "url": "https://github.com/sysid/bkmr/blob/main/README.md",
            "revision": "main 2026-10-27",
            "evidence": "bkmr search github\nbkmr search --fzf\n"
          }
        ],
        "field": [
          {
            "id": "query",
            "label": "Query",
            "type": "string",
            "position": 0,
            "sources": [
              "readme"
            ]
          },
          {
            "id": "fzf",
            "label": "Use fzf",
            "type": "boolean",
            "option": [
              "--fzf"
            ],
            "sources": [
              "readme"
            ]
          }
        ],
        "task": [
          {
            "id": "search",
            "label": "Search",
            "fields": [
              "query",
              "fzf"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "query",
              "fzf"
            ]
          }
        ]
      }
    ]
  }
}
