{
  "id": "create-redwood-app",
  "name": "create-redwood-app",
  "description": "Create a new Redwood project.",
  "executables": [
    "create-redwood-app"
  ],
  "commands": {
    "format": 1,
    "label": "Create Redwood app",
    "description": "Scaffold a Redwood project. Telemetry and install toggles are left out.",
    "quality": "ai-draft",
    "base": "fig:create-redwood-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-redwood-app.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "project_name",
        "label": "Project directory",
        "type": "path",
        "path": {
          "kind": "directory",
          "role": "output"
        },
        "position": 0,
        "min": 1,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "typescript",
        "label": "TypeScript project",
        "type": "boolean",
        "option": [
          "--typescript",
          "--ts"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "git_init",
        "label": "Initialize a git repository",
        "type": "boolean",
        "option": [
          "--git-init",
          "--git"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "commit_message",
        "label": "Initial commit message",
        "type": "string",
        "option": [
          "--commit-message",
          "-m"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "yes",
        "label": "Skip prompts, use defaults",
        "type": "boolean",
        "option": [
          "--yes",
          "-y"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "overwrite",
        "label": "Create even if directory is not empty",
        "type": "boolean",
        "option": [
          "--overwrite"
        ],
        "effect": "overwrite",
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "ts-git",
        "label": "TypeScript with git",
        "set": {
          "typescript": [
            true
          ],
          "git_init": [
            true
          ]
        },
        "fields": [
          "project_name",
          "typescript",
          "git_init",
          "commit_message",
          "yes"
        ],
        "required": [
          "project_name"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "project_name",
          "typescript",
          "git_init",
          "commit_message",
          "yes",
          "overwrite"
        ]
      }
    ]
  }
}
