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
- 6045525ab92f75c169d3c69596844d8748437e37: feat: adding
--padding
to most commands (#960) (@caarlos0)
Other work
- 09940da8c024f518d5820239e38e2edc20e2b431: ci: sync dependabot config (#956) (@charmcli)
- 8c12c2a6a2025b349fce7ad045dbe68a76d23583: ci: sync golangci-lint config (#946) (@github-actions[bot])
Verifying the artifacts
First, download the [`checksums.txt` file](https://github.com/charmbracelet/gum/releases/download/v0.17.0/checksums.txt), for example, with `wget`: :::bash wget 'https://github.com/charmbracelet/gum/releases/download/v0.17.0/checksums.txt' Then, verify it using [`cosign`](https://github.com/sigstore/cosign): :::bash 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`: :::bash 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.