proposals
proposals copied to clipboard
tctl: Add spinner to long running commands [p2]
- Origin issue:
Summary
Adds spinner and progress bar for potentially long running commands. Makes tctl feel more responsive
Basic example
Motivation
Some commands may take long time until they will show output or an error (typically context timeout). This makes tctl feel unresponsive and slow. Proposal addresses these issues adding responsiveness
Detailed design
in doc
Drawbacks
Alternatives
Adoption strategy
not a breaking change
How we teach this
We should make sure that indicators are only shown when output is a TTY because it will conflict with piping.
It'd be nice to have a flag to dictate this as well.
We should make sure that indicators are only shown when output is a TTY because it will conflict with piping.
yup, this is covered
It'd be nice to have a flag to dictate this as well.
Updated the terminology to "spinner" and "progress bar", specified --no-progress
in the doc (similar to npm --no-progress)
this proposal is on hold rn, focused on implementing higher priority proposals and releasing tctl. Afterwards planning to finish and implement this proposal
This is outdated. Closing due to lack of motivation.