{
  "id": "create-t3-app",
  "name": "create-t3-app",
  "description": "A CLI for creating web applications with the T3 stack.",
  "executables": [
    "create-t3-app"
  ],
  "commands": {
    "format": 1,
    "label": "Create T3 app",
    "description": "Scaffold a T3 stack app. The CI-only module toggles are left out.",
    "quality": "ai-draft",
    "base": "fig:create-t3-app",
    "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/create-t3-app.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "dir",
        "label": "App name / directory",
        "type": "path",
        "path": {
          "kind": "directory",
          "role": "output"
        },
        "position": 0,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "default",
        "label": "Use all defaults",
        "type": "boolean",
        "option": [
          "--default",
          "-y"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_git",
        "label": "Skip git init",
        "type": "boolean",
        "option": [
          "--noGit"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_install",
        "label": "Skip dependency install",
        "type": "boolean",
        "option": [
          "--noInstall"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "import_alias",
        "label": "Import alias",
        "type": "string",
        "option": [
          "--import-alias",
          "-i"
        ],
        "suggestions": [
          {
            "value": "~/",
            "label": "~/"
          },
          {
            "value": "@/",
            "label": "@/"
          }
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "defaults",
        "label": "Defaults, no prompts",
        "set": {
          "default": [
            true
          ]
        },
        "lock": [
          "default"
        ],
        "fields": [
          "dir",
          "no_git",
          "no_install",
          "import_alias"
        ],
        "required": [
          "dir"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "dir",
          "default",
          "no_git",
          "no_install",
          "import_alias"
        ]
      }
    ]
  }
}
