v0.8.0
charmbracelet/gumv0.8.0Oct 11, 2022by github-actions[bot]
AI Summary
A major feature release introducing three new subcommands: `gum file` for file selection, `gum table` for tabular data, and `gum pager` for scrolling long content.
Key Highlights
- New `gum file` command for file selection
- New `gum table` command for tabular data
- New `gum pager` command for scrolling long documents
New Features
- gum file
- gum table
- gum pager
- --header for gum write
Full Release Notes
# Brand New Flavours! Version `v0.8.0` of Gum comes packed with three brand-new `gum` subcommands, as well as a handful of other fixes and improvements. * [Gum File](#file) * [Gum Table](#table) * [Gum Pager](#pager) ## File ``` gum file [directory] ``` With this new `gum` sub-command, you can prompt users to select a file, which returns the absolute path of the file selected. The command will start in the current directory or the directory passed as an argument but users may traverse the file tree up or down. <img src="https://user-images.githubusercontent.com/42545625/195205606-eeb884ae-84be-4b61-9aa2-73a3c86432c8.gif" width="700" /> ## Table ``` gum table < table.csv ``` Display and select a row of tabular data with `gum table`. <img src="https://user-images.githubusercontent.com/42545625/195205675-042060c7-e5e6-4b63-9f05-9d3d516f1eaa.gif" width="700" /> ## Pager ``` gum pager < README.md ``` Scroll through long form content with `gum pager`. <img src="https://user-images.githubusercontent.com/42545625/195205769-661577a1-b268-4f59-a9a1-94729fee272e.gif" width="700" /> ## Changelog ### New Features * 2bea4dc0301cdc3e89535a7bde078ebf4ccb4062: feat(file): gum file to pick files (@maaslalani) * a82d5af1e8e0e62639da4a2e5216cc361946f076: feat(filter): add reverse layout (#177) (@dhruvmanila) * 430ab459d709dae03aca5d47f5b414f88f1097c5: feat(pager): gum pager for scrolling through long documents (@maaslalani) * bdd86d5fbcb0b97b146611c0725d2b630317e83b: feat(table): gum table for tabular data (@maaslalani) * f13b5b6b8277ff90b3e75b89105fe01339c5e725: feat(write): use --header to display a label above the textarea (@keevan) ### Bug fixes * a4d479382968407b2b470c5ce58cef774ee4e5a8: fix(confirm): an empty --negative will not be displayed (@keevan) **Full Changelog**: https://github.com/charmbracelet/gum/compare/v0.7.0...v0.8.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).