id = "sapphire" name = "Sapphire CLI" description = "CLI for the Sapphire Framework for Discord bots." homepage = "https://www.sapphirejs.dev" executables = ["sapphire"] [commands] format = 1 label = "Sapphire" description = "Create a project or generate a component." quality = "ai-draft" base = "fig:sapphire" parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = true, short_bundles = false } [[commands.source]] id = "src" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/sapphire.ts" license = "MIT" [[commands.subcommand]] path = ["new"] label = "Create a project" [[commands.subcommand.source]] id = "src" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/sapphire.ts" license = "MIT" [[commands.subcommand.field]] id = "name" label = "Project name" type = "string" position = 0 sources = ["src"] [[commands.subcommand.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["--verbose", "-v"] sources = ["src"] [[commands.subcommand.task]] id = "new" label = "New project" fields = ["name"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["name", "verbose"] [[commands.subcommand]] path = ["generate"] label = "Generate a component" [[commands.subcommand.source]] id = "src" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/sapphire.ts" license = "MIT" [[commands.subcommand.field]] id = "component" label = "Component type" type = "string" position = 0 sources = ["src"] [[commands.subcommand.field]] id = "name" label = "File name" type = "string" position = 1 sources = ["src"] [[commands.subcommand.task]] id = "gen" label = "Generate" fields = ["component", "name"] required = ["component", "name"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["component", "name"]