{
  "id": "goreleaser",
  "name": "GoReleaser",
  "homepage": "https://goreleaser.com",
  "description": "Release engineering, simplified.",
  "icon": "https://goreleaser.com/apple-touch-icon.png",
  "executables": [
    "goreleaser"
  ],
  "dotfiles": {
    "paths": [],
    "exclude": [],
    "secret": [
      "~/.config/goreleaser/github_token",
      "~/.config/goreleaser/gitlab_token",
      "~/.config/goreleaser/gitea_token"
    ]
  },
  "commands": {
    "format": 1,
    "label": "GoReleaser",
    "description": "Build, release or check the current Go project. Uses the short command names b, r and c. Init, healthcheck and schema are left out.",
    "quality": "ai-draft",
    "base": "fig:goreleaser",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/goreleaser.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "b"
        ],
        "label": "Build",
        "description": "Build the current project (goreleaser build).",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/goreleaser.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "clean",
            "label": "Clean dist",
            "type": "boolean",
            "option": [
              "--clean"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "config",
            "label": "Config file",
            "description": "Defaults to .goreleaser.yaml.",
            "type": "path",
            "option": [
              "--config",
              "-f"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "snapshot",
            "label": "Snapshot",
            "description": "Unversioned snapshot, skipping validations.",
            "type": "boolean",
            "option": [
              "--snapshot"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "parallelism",
            "label": "Parallelism",
            "type": "integer",
            "option": [
              "--parallelism",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "timeout",
            "label": "Timeout",
            "description": "For example 30m.",
            "type": "string",
            "option": [
              "--timeout"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "single_target",
            "label": "Current platform only",
            "type": "boolean",
            "option": [
              "--single-target"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "output",
            "label": "Copy binary to",
            "description": "Only with --single-target.",
            "type": "path",
            "option": [
              "--output",
              "-o"
            ],
            "path": {
              "kind": "file",
              "role": "output"
            },
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_validate",
            "label": "Skip validation",
            "type": "boolean",
            "option": [
              "--skip-validate"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "snapshot",
            "label": "Local snapshot",
            "fields": [
              "clean",
              "snapshot",
              "single_target",
              "config"
            ],
            "required": [],
            "set": {
              "clean": [
                true
              ],
              "snapshot": [
                true
              ],
              "single_target": [
                true
              ]
            }
          },
          {
            "id": "all",
            "label": "Build all targets",
            "fields": [
              "clean",
              "config",
              "parallelism"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "clean",
              "config",
              "snapshot",
              "single_target",
              "output"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "timeout",
              "skip_validate",
              "parallelism"
            ]
          }
        ]
      },
      {
        "path": [
          "r"
        ],
        "label": "Release",
        "description": "Release the current project (goreleaser release). Publishes artifacts unless skipped.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/goreleaser.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "clean",
            "label": "Clean dist",
            "type": "boolean",
            "option": [
              "--clean"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "config",
            "label": "Config file",
            "description": "Defaults to .goreleaser.yaml.",
            "type": "path",
            "option": [
              "--config",
              "-f"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "snapshot",
            "label": "Snapshot",
            "description": "Unversioned snapshot, skipping validations.",
            "type": "boolean",
            "option": [
              "--snapshot"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "parallelism",
            "label": "Parallelism",
            "type": "integer",
            "option": [
              "--parallelism",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "timeout",
            "label": "Timeout",
            "description": "For example 30m.",
            "type": "string",
            "option": [
              "--timeout"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_publish",
            "label": "Skip publishing",
            "type": "boolean",
            "option": [
              "--skip-publish"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_announce",
            "label": "Skip announcing",
            "type": "boolean",
            "option": [
              "--skip-announce"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_sign",
            "label": "Skip signing",
            "type": "boolean",
            "option": [
              "--skip-sign"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_validate",
            "label": "Skip git checks",
            "type": "boolean",
            "option": [
              "--skip-validate"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "fail_fast",
            "label": "Fail fast",
            "type": "boolean",
            "option": [
              "--fail-fast"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "auto_snapshot",
            "label": "Snapshot if dirty",
            "type": "boolean",
            "option": [
              "--auto-snapshot"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "release_notes",
            "label": "Release notes file",
            "type": "path",
            "option": [
              "--release-notes"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "release",
            "label": "Release",
            "fields": [
              "clean",
              "config",
              "fail_fast"
            ],
            "required": []
          },
          {
            "id": "dry",
            "label": "Local dry run",
            "fields": [
              "clean",
              "snapshot",
              "skip_publish",
              "skip_announce"
            ],
            "required": [],
            "set": {
              "clean": [
                true
              ],
              "snapshot": [
                true
              ],
              "skip_publish": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "clean",
              "config",
              "snapshot",
              "skip_publish"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "skip_announce",
              "skip_sign",
              "skip_validate",
              "auto_snapshot",
              "release_notes",
              "timeout",
              "parallelism",
              "fail_fast"
            ]
          }
        ]
      },
      {
        "path": [
          "c"
        ],
        "label": "Check config",
        "description": "Check that the configuration is valid (goreleaser check).",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/goreleaser.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "config",
            "label": "Config file",
            "type": "path",
            "option": [
              "--config",
              "-f"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "quiet",
            "label": "Quiet",
            "type": "boolean",
            "option": [
              "--quiet",
              "-q"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "check",
            "label": "Check",
            "fields": [
              "config",
              "quiet"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "config",
              "quiet"
            ]
          }
        ]
      }
    ]
  }
}
