id = "graphcdn" name = "GraphCDN" description = "Command-line interface for GraphCDN, a CDN for GraphQL APIs." executables = ["graphcdn"] [commands] format = 1 label = "GraphCDN" description = "Initialise a service and push configuration." quality = "ai-draft" base = "fig:graphcdn" 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/graphcdn.ts" license = "MIT" [[commands.subcommand]] path = ["init"] label = "Create a service" description = "Create a new GraphCDN service." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/graphcdn.ts" license = "MIT" [[commands.subcommand.field]] id = "yes" label = "Skip questions" description = "Skip all the questions and just init." type = "boolean" option = ["--yes", "-y"] sources = ["fig"] [[commands.subcommand.task]] id = "init" label = "Init" fields = ["yes"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["yes"] [[commands.subcommand]] path = ["push"] label = "Push configuration" description = "Push and deploy the latest app configuration." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/graphcdn.ts" license = "MIT" [[commands.subcommand.field]] id = "field" label = "Part to push" description = "Leave empty for everything." type = "string" position = 0 suggestions = [{ value = "schema", label = "Schema" }, { value = "rules", label = "Rules" }] sources = ["fig"] [[commands.subcommand.field]] id = "env" label = "Environment" type = "string" option = ["--env"] sources = ["fig"] [[commands.subcommand.task]] id = "push" label = "Push" fields = ["field", "env"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["field", "env"]