Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to update success/failure prefixes #29

Open
Makeshift opened this issue Feb 5, 2021 · 0 comments
Open

Ability to update success/failure prefixes #29

Makeshift opened this issue Feb 5, 2021 · 0 comments
Labels
feature New feature or request

Comments

@Makeshift
Copy link

I'm using spinnies to display the status of various stack deployments in makeshift/terragrunt-status, and it's working pretty great.

However, due to the binary nature of success/failure, it's sometimes hard to convey at a glance the status of a command that's been ran. Currently I'm using 'failed' as 'the whole command failed' and success for everything else. For anything in-between I have the text become yellow, but the successPrefix is still a green tick as it's defined when the spinny is created and can't (currently) be updated later.

I'd like to be able to update the successPrefix later in the spinnies lifecycle, so I can emulate statuses that are neither success nor failure by simply having a different prefix + text colour.

@jbcarpanelli jbcarpanelli added the feature New feature or request label Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants