{
  "id": "cups",
  "name": "CUPS",
  "homepage": "https://openprinting.github.io/cups/",
  "description": "The Common UNIX Printing System.",
  "executables": [
    "lp",
    "lpr",
    "lpoptions",
    "lpstat"
  ],
  "dotfiles": {
    "paths": [
      "~/.cups/client.conf",
      "~/.cups/lpoptions"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Print a file",
    "description": "Print files with lp. Page ranges, scheduling and -o job options are left out.",
    "quality": "ai-draft",
    "base": "fig:lp",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/lp.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "files",
        "label": "Files",
        "type": "path",
        "position": 0,
        "multiple": true,
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "destination",
        "label": "Printer",
        "type": "string",
        "option": [
          "-d"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "copies",
        "label": "Copies",
        "type": "integer",
        "option": [
          "-n"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "title",
        "label": "Job name",
        "type": "string",
        "option": [
          "-t"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "mail",
        "label": "Email when completed",
        "type": "boolean",
        "option": [
          "-m"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "silent",
        "label": "Silent",
        "description": "Do not report the resulting job IDs.",
        "type": "boolean",
        "option": [
          "-s"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "print",
        "label": "Print files",
        "fields": [
          "files",
          "destination",
          "copies",
          "title"
        ],
        "required": [
          "files"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "files",
          "destination",
          "copies"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "title",
          "mail",
          "silent"
        ]
      }
    ]
  }
}
