mirror of
https://github.com/charmbracelet/gum.git
synced 2024-11-05 05:46:36 +03:00
01c7d96945
* feat: pass stderr Pass stderr from the command run by gum spin analog to how stdout is passed. #63 * Apply suggestions from code review * Update spin/spin.go * fix(spin): Add stderr to output When `--show-output` is passed we should display all the output of the command and allow scripters to control `stderr` and `stdout` how they want. For example, if a user wants only `stdout` they can redirect stderr to `/dev/null`: ``` gum spin --show-output -- <action> 2> /dev/null ``` Co-authored-by: Maas Lalani <maas@lalani.dev> |
||
---|---|---|
.. | ||
command.go | ||
options.go | ||
spin.go | ||
spinners.go |