{
  "id": "degit",
  "name": "degit",
  "description": "Straightforward project scaffolding.",
  "executables": [
    "degit"
  ],
  "commands": {
    "format": 1,
    "label": "Scaffold from a repo",
    "description": "Copy a git repository without its history.",
    "quality": "ai-draft",
    "base": "fig:degit",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/degit.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "force",
        "label": "Overwrite existing files",
        "type": "boolean",
        "option": [
          "--force",
          "-f"
        ],
        "effect": "overwrite",
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbose",
        "label": "Verbose",
        "type": "boolean",
        "option": [
          "--verbose",
          "-v"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "mode",
        "label": "Clone mode",
        "type": "string",
        "option": [
          "--mode",
          "-m"
        ],
        "suggestions": [
          {
            "value": "git",
            "label": "git"
          },
          {
            "value": "tar",
            "label": "tar"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "repo",
        "label": "Repository",
        "description": "user/repo, optionally with #branch.",
        "type": "string",
        "position": 0,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "location",
        "label": "Destination",
        "type": "path",
        "position": 1,
        "path": {
          "kind": "directory",
          "role": "output",
          "must_exist": false
        },
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "scaffold",
        "label": "Scaffold project",
        "fields": [
          "repo",
          "location",
          "force"
        ],
        "required": [
          "repo"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "repo",
          "location",
          "force",
          "mode",
          "verbose"
        ]
      }
    ]
  }
}
