{
  "id": "ov",
  "name": "ov",
  "homepage": "https://github.com/noborus/ov",
  "description": "A feature-rich terminal-based text viewer and pager.",
  "executables": [
    "ov"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/ov/config.yaml",
      "~/.ov.yaml",
      "%USERPROFILE%/.ov.yaml"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "View files",
    "description": "Open files in the ov pager with a pinned header, column mode, following or a filter. Section, sidebar and key-binding options are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "readme",
        "kind": "manual",
        "url": "https://github.com/noborus/ov",
        "evidence": "| -C,   | --alternate-rows                           | highlight even and odd rows in alternating colors |\n| -d,   | --column-delimiter character               | column delimiter character (default \",\") |\n| -c,   | --column-mode                              | split content into columns at the delimiter |\n| -X,   | --exit-write                               | output the current screen when exiting |\n| -A,   | --follow-all                               | follow multiple files and show the most recently updated one |\n| -f,   | --follow-mode                              | monitor file and display new content as it is written |\n| -H,   | --header int                               | number of lines to pin as a fixed header |\n| -n,   | --line-number                              | show line numbers |\n| -F,   | --quit-if-one-screen                       | quit if the output fits on one screen |\n`--filter`\n"
      }
    ],
    "field": [
      {
        "id": "files",
        "label": "Files",
        "type": "path",
        "position": 0,
        "multiple": true,
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "readme"
        ]
      },
      {
        "id": "header",
        "label": "Header lines",
        "type": "integer",
        "option": [
          "--header",
          "-H"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "column_mode",
        "label": "Column mode",
        "type": "boolean",
        "option": [
          "--column-mode",
          "-c"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "column_delimiter",
        "label": "Column delimiter",
        "type": "string",
        "option": [
          "--column-delimiter",
          "-d"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "filter",
        "label": "Filter",
        "type": "string",
        "option": [
          "--filter"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "follow_mode",
        "label": "Follow appended data",
        "type": "boolean",
        "option": [
          "--follow-mode",
          "-f"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "follow_all",
        "label": "Follow all files",
        "type": "boolean",
        "option": [
          "--follow-all",
          "-A"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "line_number",
        "label": "Line numbers",
        "type": "boolean",
        "option": [
          "--line-number",
          "-n"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "alternate_rows",
        "label": "Alternate row colors",
        "type": "boolean",
        "option": [
          "--alternate-rows",
          "-C"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "quit_if_one_screen",
        "label": "Quit if one screen",
        "type": "boolean",
        "option": [
          "--quit-if-one-screen",
          "-F"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "exit_write",
        "label": "Print screen on exit",
        "type": "boolean",
        "option": [
          "--exit-write",
          "-X"
        ],
        "sources": [
          "readme"
        ]
      }
    ],
    "task": [
      {
        "id": "csv",
        "label": "View CSV as columns",
        "fields": [
          "files",
          "header",
          "column_mode",
          "column_delimiter"
        ],
        "required": [
          "files"
        ],
        "set": {
          "column_mode": [
            true
          ],
          "header": [
            1
          ]
        }
      },
      {
        "id": "follow",
        "label": "Follow a log",
        "fields": [
          "files",
          "follow_mode"
        ],
        "required": [
          "files"
        ],
        "set": {
          "follow_mode": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "files",
          "header",
          "column_mode",
          "column_delimiter",
          "filter",
          "follow_mode"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "follow_all",
          "line_number",
          "alternate_rows",
          "quit_if_one_screen",
          "exit_write"
        ]
      }
    ]
  }
}
