id = "tailcall" name = "Tailcall" description = "CLI for managing and optimizing GraphQL configurations." executables = ["tailcall"] [commands] format = 1 label = "Tailcall" description = "Validate configs or start the GraphQL server." quality = "ai-draft" base = "fig:tailcall" 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/tailcall.ts" license = "MIT" [[commands.subcommand]] path = ["check"] label = "Validate a configuration" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/tailcall.ts" license = "MIT" [[commands.subcommand.field]] id = "files" label = "Config files" type = "path" path = { kind = "file", role = "input" } position = 0 multiple = true min = 1 sources = ["fig"] [[commands.subcommand.field]] id = "n_plus_one" label = "Detect N+1 queries" type = "boolean" option = ["--n-plus-one-queries"] sources = ["fig"] [[commands.subcommand.field]] id = "schema" label = "Display schema" type = "boolean" option = ["--schema"] sources = ["fig"] [[commands.subcommand.field]] id = "format" label = "Input format" type = "string" option = ["--format"] suggestions = [{ value = "gql", label = "gql" }, { value = "graphql", label = "graphql" }, { value = "yml", label = "yml" }, { value = "yaml", label = "yaml" }, { value = "json", label = "json" }] sources = ["fig"] [[commands.subcommand.task]] id = "check" label = "Validate" fields = ["files", "n_plus_one", "schema"] required = ["files"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["files", "n_plus_one", "schema", "format"] [[commands.subcommand]] path = ["start"] label = "Start the GraphQL server" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/tailcall.ts" license = "MIT" [[commands.subcommand.field]] id = "files" label = "Config files" type = "path" path = { kind = "file", role = "input" } position = 0 multiple = true min = 1 sources = ["fig"] [[commands.subcommand.task]] id = "start" label = "Start" fields = ["files"] required = ["files"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["files"]