Pad Everything
This is a small feature release that adds --padding
to as many commands as possible. For example:
Padding arguments work similarly to CSS values:
- With one value, padding applies to all sides (
--padding="4"
) - With two values, padding applies vertically and horizontally, respectively (
--padding="4 10"
) - With four values, padding applies top, right, bottom, and left, respectively (
--padding="4 10"
)
Which commands can be padded? These:
choose
confirm
file
filter
input
pager
spin
style
table
write
Special thanks to @caarlos0 for banging this one out in record time, for none other than @dhh. 💎
Changelog
New Features
Other work
- 09940da: ci: sync dependabot config (#956) (@charmcli)
- 8c12c2a: ci: sync golangci-lint config (#946) (@github-actions[bot])
Verifying the artifacts
First, download the checksums.txt
file, for example, with wget
:
wget 'https://github.com/charmbracelet/gum/releases/download/v0.17.0/checksums.txt'
Then, verify it using cosign
:
cosign verify-blob \
--certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
--cert 'https://github.com/charmbracelet/gum/releases/download/v0.17.0/checksums.txt.pem' \
--signature 'https://github.com/charmbracelet/gum/releases/download/v0.17.0/checksums.txt.sig' \
./checksums.txt
If the output is Verified OK
, you can safely use it to verify the checksums of other artifacts you downloaded from the release using sha256sum
:
sha256sum --ignore-missing -c checksums.txt
Done! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, Discord, Slack, The Fediverse.