{
  "name": "glow",
  "description": "Render markdown on the CLI, with pizzazz!",
  "options": [
    {
      "names": [
        "-a",
        "--all"
      ],
      "description": "Show system files and directories (TUI-mode only)"
    },
    {
      "names": [
        "--config"
      ],
      "description": "Config file",
      "isPersistent": true,
      "args": [
        {
          "name": "path",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Help for glow",
      "isPersistent": true
    },
    {
      "names": [
        "-l",
        "--local"
      ],
      "description": "Show local files only; no network (TUI-mode only)"
    },
    {
      "names": [
        "-p",
        "--pager"
      ],
      "description": "Display with pager"
    },
    {
      "names": [
        "-s",
        "--style"
      ],
      "description": "Style name or JSON path (default 'auto')",
      "args": [
        {
          "name": "name",
          "template": "filepaths",
          "suggestions": [
            "auto",
            "light",
            "dark",
            "notty"
          ]
        }
      ]
    },
    {
      "names": [
        "-v",
        "--version"
      ],
      "description": "Version for glow"
    },
    {
      "names": [
        "-w",
        "--width"
      ],
      "description": "Word-wrap at width",
      "args": [
        {
          "name": "column"
        }
      ]
    }
  ],
  "args": [
    {
      "name": "source|dir",
      "isOptional": true,
      "isVariadic": true,
      "template": "filepaths"
    }
  ],
  "subcommands": [
    {
      "name": "config",
      "description": "Edit the glow config file"
    },
    {
      "name": "help",
      "description": "Help about any command",
      "args": [
        {
          "name": "command",
          "isOptional": true,
          "template": "help"
        }
      ]
    },
    {
      "name": "stash",
      "description": "Manage your stash of markdown files",
      "options": [
        {
          "names": [
            "-m",
            "--memo"
          ],
          "description": "Memo/note for stashing",
          "args": [
            {
              "name": "note"
            }
          ]
        }
      ],
      "args": [
        {
          "name": "path",
          "isOptional": true,
          "template": "filepaths"
        }
      ]
    }
  ]
}
