{
  "description": "Analyze a local repository, a remote repository or an organization for CI/CD supply-chain issues. Rule skipping beyond --skip and config-file options are left out.",
  "name": "poutine",
  "subcommands": [
    {
      "name": "analyze_local",
      "description": "Analyze a local repository",
      "options": [
        {
          "names": [
            "--format"
          ],
          "description": "Output format",
          "args": {
            "name": "format",
            "isOptional": false,
            "suggestions": [
              {
                "name": "pretty",
                "description": "Pretty"
              },
              {
                "name": "json",
                "description": "JSON"
              },
              {
                "name": "sarif",
                "description": "SARIF"
              }
            ]
          }
        },
        {
          "names": [
            "--config"
          ],
          "description": "Config file",
          "args": {
            "name": "config",
            "isOptional": false,
            "template": "filepaths"
          }
        },
        {
          "names": [
            "--skip"
          ],
          "description": "Skip rules",
          "args": {
            "name": "skip",
            "isOptional": false,
            "isVariadic": true
          },
          "isRepeatable": true
        },
        {
          "names": [
            "--fail-on-violation"
          ],
          "description": "Fail on violation"
        }
      ],
      "args": [
        {
          "name": "path",
          "isOptional": false,
          "template": "folders"
        }
      ]
    },
    {
      "name": "analyze_repo",
      "description": "Analyze a remote repository",
      "options": [
        {
          "names": [
            "--token"
          ],
          "description": "Prefer the GH_TOKEN environment variable over typing a token here.",
          "args": {
            "name": "token",
            "description": "Prefer the GH_TOKEN environment variable over typing a token here.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--scm"
          ],
          "description": "SCM platform",
          "args": {
            "name": "scm",
            "isOptional": false,
            "suggestions": [
              {
                "name": "github",
                "description": "GitHub"
              },
              {
                "name": "gitlab",
                "description": "GitLab"
              }
            ]
          }
        },
        {
          "names": [
            "--scm-base-url"
          ],
          "description": "SCM base URL",
          "args": {
            "name": "scm_base_url",
            "isOptional": false
          }
        },
        {
          "names": [
            "--format"
          ],
          "description": "Output format",
          "args": {
            "name": "format",
            "isOptional": false,
            "suggestions": [
              {
                "name": "pretty",
                "description": "Pretty"
              },
              {
                "name": "json",
                "description": "JSON"
              },
              {
                "name": "sarif",
                "description": "SARIF"
              }
            ]
          }
        }
      ],
      "args": [
        {
          "name": "repo",
          "description": "org/repo",
          "isOptional": false
        }
      ]
    }
  ]
}
