{
  "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
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/newman.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "run"
        ],
        "label": "Run collection",
        "description": "Run a collection from a path or URL.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/newman.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "collection",
            "label": "Collection (file or URL)",
            "type": "string",
            "position": 0,
            "min": 1,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "environment",
            "label": "Environment",
            "type": "string",
            "option": [
              "--environment",
              "-e"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "globals",
            "label": "Globals",
            "type": "string",
            "option": [
              "--globals",
              "-g"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "iteration_count",
            "label": "Iterations",
            "type": "integer",
            "option": [
              "--iteration-count",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "iteration_data",
            "label": "Iteration data file",
            "type": "path",
            "option": [
              "--iteration-data",
              "-d"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "folder",
            "label": "Folders to run",
            "type": "string",
            "option": [
              "--folder"
            ],
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "bail",
            "label": "Stop on first error",
            "type": "boolean",
            "option": [
              "--bail"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "insecure",
            "label": "Disable SSL validation",
            "type": "boolean",
            "option": [
              "--insecure",
              "-k"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "silent",
            "label": "No CLI output",
            "type": "boolean",
            "option": [
              "--silent"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "run",
            "label": "Run collection",
            "fields": [
              "collection",
              "environment",
              "iteration_count"
            ],
            "required": [
              "collection"
            ]
          },
          {
            "id": "ci",
            "label": "Run with bail",
            "set": {
              "bail": [
                true
              ]
            },
            "fields": [
              "collection",
              "environment",
              "bail"
            ],
            "required": [
              "collection"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "collection",
              "environment",
              "globals",
              "iteration_count",
              "iteration_data",
              "bail"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "folder",
              "insecure",
              "verbose",
              "silent"
            ]
          }
        ]
      }
    ]
  }
}
