{
  "id": "create-react-native-app",
  "name": "create-react-native-app",
  "description": "Create a new React Native project.",
  "executables": [
    "create-react-native-app"
  ],
  "commands": {
    "format": 1,
    "label": "Create React Native app",
    "description": "Scaffold an Expo-based React Native project from a template.",
    "quality": "ai-draft",
    "base": "fig:create-react-native-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-react-native-app.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "name",
        "label": "Project directory",
        "type": "path",
        "path": {
          "kind": "directory",
          "role": "output"
        },
        "position": 0,
        "min": 1,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "template",
        "label": "Template",
        "description": "A template from expo/examples or a GitHub repo URL.",
        "type": "string",
        "option": [
          "--template"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "template_path",
        "label": "Template path in repo",
        "type": "string",
        "option": [
          "--template-path"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "yes",
        "label": "Use default options",
        "type": "boolean",
        "option": [
          "--yes"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_install",
        "label": "Skip installing packages",
        "type": "boolean",
        "option": [
          "--no-install"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "use_npm",
        "label": "Use npm",
        "type": "boolean",
        "option": [
          "--use-npm"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "defaults",
        "label": "Defaults, no prompts",
        "set": {
          "yes": [
            true
          ]
        },
        "lock": [
          "yes"
        ],
        "fields": [
          "name",
          "template",
          "no_install",
          "use_npm"
        ],
        "required": [
          "name"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "name",
          "template",
          "template_path",
          "yes",
          "no_install",
          "use_npm"
        ]
      }
    ]
  }
}
