v0.2.0
charmbracelet/gumv0.2.0Jul 31, 2022by github-actions[bot]
AI Summary
This release adds several utility enhancements to the Gum CLI tool, including version checking, password masking, configurable confirmations, output visibility for spinners, and improved interrupt handling in filters.
Key Highlights
- Version checking capability with `gum --version`
- Password masking support via `gum input --password`
- Configurable negative default for `gum confirm`
- Display spinner output with `gum spin --show-output`
- Improved Ctrl+C handling in `gum filter`
New Features
- `gum --version` flag
- `gum input --password` option
- `gum confirm --default=false` option
- `gum spin --show-output` flag
- Exit code 130 for Ctrl+C in `gum filter`
Full Release Notes
## What's Changed * Determine the version of Gum you are using with `gum --version` * Mask input for passwords with `gum input --password`. * Set the `gum confirm` default to the negative action with `gum confirm --default=false` * `gum spin --show-output` to display output after spinning (as well as exit codes will match the command that was run) * `gum filter` now aborts action when `ctrl+c` is pressed and exits with status 130. ## New Contributors * @muesli made their first contribution in https://github.com/charmbracelet/gum/pull/44 * @wissam made their first contribution in https://github.com/charmbracelet/gum/pull/24 **Full Changelog**: https://github.com/charmbracelet/gum/compare/v0.1.0...v0.2.0 * * * <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@charm), or on [Slack](https://charm.sh/slack).