{
  "id": "chart-releaser",
  "name": "chart-releaser",
  "homepage": "https://github.com/helm/chart-releaser",
  "description": "A tool designed to help GitHub repos self-host their own Helm chart repositories.",
  "executables": [
    "cr"
  ],
  "dotfiles": {
    "paths": [
      "~/.cr.yaml",
      "~/.cr/cr.yaml"
    ],
    "secret": [],
    "secret_paths": [
      {
        "file": [
          "~/.cr.yaml",
          "~/.cr/cr.yaml"
        ],
        "format": "yaml",
        "match": {
          "key_path": [
            "token"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "chart-releaser",
    "description": "Package Helm charts into archives with cr package. Upload and index subcommands are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "package"
        ],
        "label": "Package Helm charts",
        "source": [
          {
            "id": "help",
            "kind": "help",
            "url": "https://github.com/helm/chart-releaser/blob/main/doc/cr_package.md",
            "revision": "2026-10-27",
            "evidence": "cr package [CHART_PATH] [...] [flags]\n  -p, --package-path string      Path to directory with chart packages (default \".cr-release-packages\")\n      --sign                     Use a PGP private key to sign this package\n      --key string               Name of the key to use when signing\n      --keyring string           Location of a public keyring (default \"~/.gnupg/pubring.gpg\")\n"
          }
        ],
        "field": [
          {
            "id": "chart_path",
            "label": "Chart paths",
            "type": "path",
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "position": 0,
            "multiple": true,
            "sources": [
              "help"
            ]
          },
          {
            "id": "package_path",
            "label": "Output directory",
            "type": "path",
            "path": {
              "kind": "directory",
              "role": "output"
            },
            "option": [
              "--package-path",
              "-p"
            ],
            "sources": [
              "help"
            ]
          },
          {
            "id": "sign",
            "label": "Sign with PGP",
            "type": "boolean",
            "option": [
              "--sign"
            ],
            "sources": [
              "help"
            ]
          },
          {
            "id": "key",
            "label": "Signing key name",
            "type": "string",
            "option": [
              "--key"
            ],
            "sources": [
              "help"
            ]
          },
          {
            "id": "keyring",
            "label": "Public keyring",
            "type": "path",
            "path": {
              "kind": "file",
              "role": "input"
            },
            "option": [
              "--keyring"
            ],
            "sources": [
              "help"
            ]
          }
        ],
        "task": [
          {
            "id": "package",
            "label": "Package charts",
            "fields": [
              "chart_path",
              "package_path"
            ],
            "required": [
              "chart_path"
            ]
          },
          {
            "id": "package_signed",
            "label": "Package and sign",
            "fields": [
              "chart_path",
              "package_path",
              "sign",
              "key",
              "keyring"
            ],
            "required": [
              "chart_path",
              "sign",
              "key"
            ],
            "set": {
              "sign": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "chart_path",
              "package_path"
            ]
          },
          {
            "id": "advanced",
            "label": "Signing",
            "fields": [
              "sign",
              "key",
              "keyring"
            ]
          }
        ]
      }
    ]
  }
}
