id = "planter" name = "Planter" description = "Project scaffolding CLI that creates projects from planters or public repos." executables = ["planter"] [commands] format = 1 label = "Planter" description = "Create a project from a planter or list planters." quality = "ai-draft" base = "fig:planter" 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/planter.ts" license = "MIT" [[commands.subcommand]] path = ["create"] label = "Create a project" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/planter.ts" license = "MIT" [[commands.subcommand.field]] id = "source" label = "Planter or public repo" type = "string" position = 0 sources = ["fig"] [[commands.subcommand.field]] id = "dir" label = "Directory" type = "path" position = 1 path = { kind = "directory", role = "output" } sources = ["fig"] [[commands.subcommand.field]] id = "force" label = "Overwrite existing directory" type = "boolean" option = ["--force", "-f"] effect = "overwrite" sources = ["fig"] [[commands.subcommand.task]] id = "create" label = "Create" fields = ["source", "dir"] required = ["source"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["source", "dir", "force"] [[commands.subcommand]] path = ["list"] label = "List planters" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/planter.ts" license = "MIT" [[commands.subcommand.field]] id = "alphanumeric" label = "Sort alphanumerically" type = "boolean" option = ["--alphanumeric", "-a"] sources = ["fig"] [[commands.subcommand.task]] id = "list" label = "List" fields = ["alphanumeric"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["alphanumeric"]