gum/spin
Jelle Besseling f4d198396f
feat(spin): Add support for --show-error for the spinner. (rebase #440) (#518)
* feat(spin): Add support for `--show-error` for the spinner.

This makes it so that if the `--show-error` flag is provided then the
full output of the command will be printed if the command fails. This
kind of works in conjuncture with `--show-output` in that if the command
succeeds only STDOUT is pushed. If the command fails both `STDOUT` and
`STDERR` are pushed.

This builds off of https://github.com/charmbracelet/gum/pull/371

Resolves #55

* chore: Fix formatting

---------

Co-authored-by: Elliot Courant <me@elliotcourant.dev>
2024-03-28 13:11:07 -04:00
..
command.go feat(spin): Add support for --show-error for the spinner. (rebase #440) (#518) 2024-03-28 13:11:07 -04:00
options.go feat(spin): Add support for --show-error for the spinner. (rebase #440) (#518) 2024-03-28 13:11:07 -04:00
spin.go feat(spin): Add support for --show-error for the spinner. (rebase #440) (#518) 2024-03-28 13:11:07 -04:00
spinners.go feat: Add gum spin command 2022-07-07 13:29:10 -04:00