{
  "id": "vivid",
  "name": "vivid",
  "homepage": "https://github.com/sharkdp/vivid",
  "description": "A generator for the LS_COLORS environment variable.",
  "executables": [
    "vivid"
  ],
  "dotfiles": {
    "paths": [
      "~/.config/vivid/",
      "%APPDATA%/vivid/"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Generate LS_COLORS",
    "description": "Generate an LS_COLORS expression from a theme, or preview a theme. Run `vivid themes` in a terminal to list theme names.",
    "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/sharkdp/vivid/blob/master/src/main.rs",
        "revision": "master 2026-10-27",
        "evidence": "-m, --color-mode <mode>  Type of ANSI colors to be used [possible values: 8-bit, 24-bit] [default: 24-bit]\n-d, --database <path>  Path to filetypes database (filetypes.yml)\ngenerate  Generate a LS_COLORS expression\npreview  Preview a given theme\nthemes  Prints list of available themes\n[theme]  Name of the color theme"
      }
    ],
    "field": [
      {
        "id": "color_mode",
        "label": "Color mode",
        "type": "enum",
        "option": [
          "--color-mode",
          "-m"
        ],
        "choices": [
          {
            "value": "24-bit",
            "label": "24-bit (true color)"
          },
          {
            "value": "8-bit",
            "label": "8-bit (256 colors)"
          }
        ],
        "observed_default": "24-bit",
        "sources": [
          "help"
        ]
      },
      {
        "id": "database",
        "label": "Filetypes database",
        "type": "path",
        "option": [
          "--database",
          "-d"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "help"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "color_mode",
          "database"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "generate"
        ],
        "label": "Generate LS_COLORS",
        "description": "Print an LS_COLORS expression for a theme.",
        "source": [
          {
            "id": "help",
            "kind": "help",
            "url": "https://github.com/sharkdp/vivid/blob/master/src/main.rs",
            "revision": "master 2026-10-27",
            "evidence": "generate  Generate a LS_COLORS expression\n[theme]  Name of the color theme"
          }
        ],
        "field": [
          {
            "id": "theme",
            "label": "Theme",
            "description": "Theme name (see `vivid themes`) or path to a theme YAML file.",
            "type": "string",
            "position": 0,
            "min": 1,
            "sources": [
              "help"
            ]
          }
        ],
        "task": [
          {
            "id": "generate",
            "label": "Generate for a theme",
            "fields": [
              "theme"
            ],
            "required": [
              "theme"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "theme"
            ]
          }
        ]
      },
      {
        "path": [
          "preview"
        ],
        "label": "Preview a theme",
        "description": "Show a preview of a theme.",
        "source": [
          {
            "id": "help",
            "kind": "help",
            "url": "https://github.com/sharkdp/vivid/blob/master/src/main.rs",
            "revision": "master 2026-10-27",
            "evidence": "preview  Preview a given theme\n[theme]  Name of the color theme"
          }
        ],
        "field": [
          {
            "id": "theme",
            "label": "Theme",
            "type": "string",
            "position": 0,
            "min": 1,
            "sources": [
              "help"
            ]
          }
        ],
        "task": [
          {
            "id": "preview",
            "label": "Preview a theme",
            "fields": [
              "theme"
            ],
            "required": [
              "theme"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "theme"
            ]
          }
        ]
      }
    ]
  }
}
