id = "degit" name = "degit" description = "Straightforward project scaffolding." executables = ["degit"] [commands] format = 1 label = "Scaffold from a repo" description = "Copy a git repository without its history." quality = "ai-draft" base = "fig:degit" 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/degit.ts" license = "MIT" [[commands.field]] id = "force" label = "Overwrite existing files" type = "boolean" option = ["--force", "-f"] effect = "overwrite" sources = ["fig"] [[commands.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["--verbose", "-v"] sources = ["fig"] [[commands.field]] id = "mode" label = "Clone mode" type = "string" option = ["--mode", "-m"] suggestions = [{ value = "git", label = "git" }, { value = "tar", label = "tar" }] sources = ["fig"] [[commands.field]] id = "repo" label = "Repository" description = "user/repo, optionally with #branch." type = "string" position = 0 sources = ["fig"] [[commands.field]] id = "location" label = "Destination" type = "path" position = 1 path = { kind = "directory", role = "output", must_exist = false } sources = ["fig"] [[commands.task]] id = "scaffold" label = "Scaffold project" fields = ["repo", "location", "force"] required = ["repo"] [[commands.group]] id = "basic" label = "Basic" fields = ["repo", "location", "force", "mode", "verbose"]