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 } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/create-react-native-app.ts" license = "MIT" [[commands.field]] id = "name" label = "Project directory" type = "path" path = { kind = "directory", role = "output" } position = 0 min = 1 sources = ["fig"] [[commands.field]] id = "template" label = "Template" description = "A template from expo/examples or a GitHub repo URL." type = "string" option = ["--template"] sources = ["fig"] [[commands.field]] id = "template_path" label = "Template path in repo" type = "string" option = ["--template-path"] sources = ["fig"] [[commands.field]] id = "yes" label = "Use default options" type = "boolean" option = ["--yes"] sources = ["fig"] [[commands.field]] id = "no_install" label = "Skip installing packages" type = "boolean" option = ["--no-install"] sources = ["fig"] [[commands.field]] id = "use_npm" label = "Use npm" type = "boolean" option = ["--use-npm"] sources = ["fig"] [[commands.task]] id = "defaults" label = "Defaults, no prompts" set = { yes = [true] } lock = ["yes"] fields = ["name", "template", "no_install", "use_npm"] required = ["name"] [[commands.group]] id = "basic" label = "Basic" fields = ["name", "template", "template_path", "yes", "no_install", "use_npm"]