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

Special var CLI_SILENT / CLI_VERBOSE #1480

Closed
hans-d opened this issue Jan 21, 2024 · 1 comment · Fixed by #1669
Closed

Special var CLI_SILENT / CLI_VERBOSE #1480

hans-d opened this issue Jan 21, 2024 · 1 comment · Fixed by #1669
Labels
area: variables Changes related to variables. good first issue Issues that are good for first-time contributors to pick up.

Comments

@hans-d
Copy link

hans-d commented Jan 21, 2024

Like CLI_FORCE, would be great to have a CLI_SILENT and CLI_VERBOSE. This allows to play with the command verbosity.

cmds:
- do-x {{- if .CLI_VERBOSE }} -v {{ end -}}
- do-y | tee out.log {{- if .CLI_SILENT }} | head -n 3 {{ end -}}
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Jan 21, 2024
@andreynering andreynering added type: enhancement good first issue Issues that are good for first-time contributors to pick up. area: variables Changes related to variables. and removed state: needs triage Waiting to be triaged by a maintainer. labels Jan 25, 2024
@andreynering
Copy link
Member

Hi @hans-d,

Agreed. This should be simple to implement, so I added the good first issue label in case anyone wants to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: variables Changes related to variables. good first issue Issues that are good for first-time contributors to pick up.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants