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 } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/create-redwood-app.ts" license = "MIT" [[commands.field]] id = "project_name" label = "Project directory" type = "path" path = { kind = "directory", role = "output" } position = 0 min = 1 sources = ["fig"] [[commands.field]] id = "typescript" label = "TypeScript project" type = "boolean" option = ["--typescript", "--ts"] sources = ["fig"] [[commands.field]] id = "git_init" label = "Initialize a git repository" type = "boolean" option = ["--git-init", "--git"] sources = ["fig"] [[commands.field]] id = "commit_message" label = "Initial commit message" type = "string" option = ["--commit-message", "-m"] sources = ["fig"] [[commands.field]] id = "yes" label = "Skip prompts, use defaults" type = "boolean" option = ["--yes", "-y"] sources = ["fig"] [[commands.field]] id = "overwrite" label = "Create even if directory is not empty" type = "boolean" option = ["--overwrite"] effect = "overwrite" sources = ["fig"] [[commands.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"] [[commands.group]] id = "basic" label = "Basic" fields = ["project_name", "typescript", "git_init", "commit_message", "yes", "overwrite"]