{
  "description": "Render a file or a command's output to a PNG/SVG snapshot. Colours, fonts, line highlighting, image/clipboard input and the ascii type are not modelled.",
  "options": [
    {
      "names": [
        "--from-file",
        "-f"
      ],
      "description": "Source file",
      "args": {
        "name": "from_file",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--output",
        "-o"
      ],
      "description": "A .png or .svg path, a directory, or the word clipboard.",
      "args": {
        "name": "output",
        "description": "A .png or .svg path, a directory, or the word clipboard.",
        "isOptional": false,
        "suggestions": [
          {
            "name": "clipboard",
            "description": "Copy to clipboard"
          }
        ]
      },
      "isDangerous": true
    },
    {
      "names": [
        "--range"
      ],
      "description": "For example 3:5, 3: or :5.",
      "args": {
        "name": "range",
        "description": "For example 3:5, 3: or :5.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--language",
        "-l"
      ],
      "description": "Language",
      "args": {
        "name": "language",
        "isOptional": false
      }
    },
    {
      "names": [
        "--code-theme"
      ],
      "description": "Code theme",
      "args": {
        "name": "code_theme",
        "isOptional": false
      }
    },
    {
      "names": [
        "--has-line-number"
      ],
      "description": "Show line numbers"
    },
    {
      "names": [
        "--title"
      ],
      "description": "Window title",
      "args": {
        "name": "title",
        "isOptional": false
      }
    },
    {
      "names": [
        "--background"
      ],
      "description": "Background colour",
      "args": {
        "name": "background",
        "isOptional": false
      }
    },
    {
      "names": [
        "--scale-factor"
      ],
      "description": "Scale factor",
      "args": {
        "name": "scale_factor",
        "isOptional": false
      }
    },
    {
      "names": [
        "--config"
      ],
      "description": "Config file",
      "args": {
        "name": "config",
        "isOptional": false,
        "template": "filepaths"
      }
    }
  ],
  "name": "codesnap"
}
