id = "newman" name = "Newman" description = "Command-line collection runner for Postman." homepage = "https://github.com/postmanlabs/newman" executables = ["newman"] [commands] format = 1 label = "Run a Postman collection" description = "Run a collection with an optional environment, data file and iteration count. TLS client certificates, exports and timeouts are left out." quality = "ai-draft" base = "fig:newman" parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/newman.ts" license = "MIT" [[commands.subcommand]] path = ["run"] label = "Run collection" description = "Run a collection from a path or URL." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/newman.ts" license = "MIT" [[commands.subcommand.field]] id = "collection" label = "Collection (file or URL)" type = "string" position = 0 min = 1 sources = ["fig"] [[commands.subcommand.field]] id = "environment" label = "Environment" type = "string" option = ["--environment", "-e"] sources = ["fig"] [[commands.subcommand.field]] id = "globals" label = "Globals" type = "string" option = ["--globals", "-g"] sources = ["fig"] [[commands.subcommand.field]] id = "iteration_count" label = "Iterations" type = "integer" option = ["--iteration-count", "-n"] sources = ["fig"] [[commands.subcommand.field]] id = "iteration_data" label = "Iteration data file" type = "path" option = ["--iteration-data", "-d"] path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.subcommand.field]] id = "folder" label = "Folders to run" type = "string" option = ["--folder"] multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "bail" label = "Stop on first error" type = "boolean" option = ["--bail"] sources = ["fig"] [[commands.subcommand.field]] id = "insecure" label = "Disable SSL validation" type = "boolean" option = ["--insecure", "-k"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.field]] id = "silent" label = "No CLI output" type = "boolean" option = ["--silent"] sources = ["fig"] [[commands.subcommand.task]] id = "run" label = "Run collection" fields = ["collection", "environment", "iteration_count"] required = ["collection"] [[commands.subcommand.task]] id = "ci" label = "Run with bail" set = { bail = [true] } fields = ["collection", "environment", "bail"] required = ["collection"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["collection", "environment", "globals", "iteration_count", "iteration_data", "bail"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["folder", "insecure", "verbose", "silent"]