{
  "id": "planter",
  "name": "Planter",
  "description": "Project scaffolding CLI that creates projects from planters or public repos.",
  "executables": [
    "planter"
  ],
  "commands": {
    "format": 1,
    "label": "Planter",
    "description": "Create a project from a planter or list planters.",
    "quality": "ai-draft",
    "base": "fig:planter",
    "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/planter.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "create"
        ],
        "label": "Create a project",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/planter.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "source",
            "label": "Planter or public repo",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dir",
            "label": "Directory",
            "type": "path",
            "position": 1,
            "path": {
              "kind": "directory",
              "role": "output"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "force",
            "label": "Overwrite existing directory",
            "type": "boolean",
            "option": [
              "--force",
              "-f"
            ],
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "create",
            "label": "Create",
            "fields": [
              "source",
              "dir"
            ],
            "required": [
              "source"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "source",
              "dir",
              "force"
            ]
          }
        ]
      },
      {
        "path": [
          "list"
        ],
        "label": "List planters",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/planter.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "alphanumeric",
            "label": "Sort alphanumerically",
            "type": "boolean",
            "option": [
              "--alphanumeric",
              "-a"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List",
            "fields": [
              "alphanumeric"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "alphanumeric"
            ]
          }
        ]
      }
    ]
  }
}
