-
Notifications
You must be signed in to change notification settings - Fork 48
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
Bare task names list for completion #46
Comments
Nice use case, perhaps we should use $ go doc colour.TTY
func TTY(w io.Writer) Printer
TTY creates a Printer that colourises output if w is a terminal, or strips
formatting if it is not. Other solutions might be to add completions automatically for shells like zsh and bash, or a I'll see if I have 30m this weekend to whip up a PR. |
Actually haven't thought about it a bit, it seems like |
Exactly my thoughts @yields, same as docker lists only the IDs with |
The option renders the task names only, allows users to implement scripting easily with robo. Closes #46.
Released v0.7.0: λ ~ robo --version
0.7.0
λ ~ robo -q
dev
stage
prod
... |
It would be nice to have a way to list task names without colors and formatting so it could be consumed by a bash/zsh/fish completion script for the task name. Something like
robo -q
?Adding this to
robo.yml
:And sourcing this bash completion:
Works nicely. But it's annoying adding the list template in each
robo.yml
file.The text was updated successfully, but these errors were encountered: