{
  "id": "jnv",
  "name": "jnv",
  "homepage": "https://github.com/ynqa/jnv",
  "executables": [
    "jnv"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/jnv/config.toml",
      "[appData]/jnv/config.toml"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Explore JSON",
    "description": "Open a JSON file in the interactive jq filter navigator. Configuration-file contents are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "help",
        "kind": "help",
        "url": "https://github.com/ynqa/jnv/blob/main/README.md",
        "revision": "2026-10-27",
        "evidence": "Usage: jnv [OPTIONS] [INPUT]\nArguments:\n  [INPUT]  Optional path to a JSON file. If not provided or if \"-\" is specified, reads from standard input\nOptions:\n  -c, --config <CONFIG_FILE>             Path to the configuration file.\n      --default-filter <DEFAULT_FILTER>  Default jq filter to apply to the input data\n      --write-to-stdout                  Write the current JSON result to stdout when exiting\n"
      }
    ],
    "field": [
      {
        "id": "input",
        "label": "JSON file",
        "description": "Reads standard input when empty.",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "position": 0,
        "sources": [
          "help"
        ]
      },
      {
        "id": "config",
        "label": "Configuration file",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "option": [
          "--config",
          "-c"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "default_filter",
        "label": "Initial jq filter",
        "type": "string",
        "option": [
          "--default-filter"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "write_to_stdout",
        "label": "Print result on exit",
        "description": "Write the current JSON result to stdout when exiting.",
        "type": "boolean",
        "option": [
          "--write-to-stdout"
        ],
        "sources": [
          "help"
        ]
      }
    ],
    "task": [
      {
        "id": "explore",
        "label": "Explore a file",
        "fields": [
          "input",
          "default_filter"
        ],
        "required": [
          "input"
        ]
      },
      {
        "id": "filter_out",
        "label": "Filter and print result",
        "fields": [
          "input",
          "default_filter",
          "write_to_stdout"
        ],
        "required": [
          "input"
        ],
        "set": {
          "write_to_stdout": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "input",
          "default_filter",
          "write_to_stdout"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "config"
        ]
      }
    ]
  }
}
