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 = []
[[dotfiles.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 }
[[commands.subcommand]]
path = ["package"]
label = "Package Helm charts"
[[commands.subcommand.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]
-p, --package-path string Path to directory with chart packages (default ".cr-release-packages")
--sign Use a PGP private key to sign this package
--key string Name of the key to use when signing
--keyring string Location of a public keyring (default "~/.gnupg/pubring.gpg")
"""
[[commands.subcommand.field]]
id = "chart_path"
label = "Chart paths"
type = "path"
path = { kind = "directory", role = "input" }
position = 0
multiple = true
sources = ["help"]
[[commands.subcommand.field]]
id = "package_path"
label = "Output directory"
type = "path"
path = { kind = "directory", role = "output" }
option = ["--package-path", "-p"]
sources = ["help"]
[[commands.subcommand.field]]
id = "sign"
label = "Sign with PGP"
type = "boolean"
option = ["--sign"]
sources = ["help"]
[[commands.subcommand.field]]
id = "key"
label = "Signing key name"
type = "string"
option = ["--key"]
sources = ["help"]
[[commands.subcommand.field]]
id = "keyring"
label = "Public keyring"
type = "path"
path = { kind = "file", role = "input" }
option = ["--keyring"]
sources = ["help"]
[[commands.subcommand.task]]
id = "package"
label = "Package charts"
fields = ["chart_path", "package_path"]
required = ["chart_path"]
[[commands.subcommand.task]]
id = "package_signed"
label = "Package and sign"
fields = ["chart_path", "package_path", "sign", "key", "keyring"]
required = ["chart_path", "sign", "key"]
set = { sign = [true] }
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["chart_path", "package_path"]
[[commands.subcommand.group]]
id = "advanced"
label = "Signing"
fields = ["sign", "key", "keyring"]