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

Taskfile initialization is too verbose #2009

Open
HeCorr opened this issue Jan 21, 2025 · 1 comment · May be fixed by #2011
Open

Taskfile initialization is too verbose #2009

HeCorr opened this issue Jan 21, 2025 · 1 comment · May be fixed by #2011
Assignees
Labels
area: ui Changes related to the UI of Task.

Comments

@HeCorr
Copy link
Contributor

HeCorr commented Jan 21, 2025

Summary

When initializing a new Taskfile with --init, it prints the whole file contents to the terminal, which I find unnecessarily verbose.
Also, the -s, --silent flags don't seem to affect it at all.

Suggestion

Both:

  • make --init take --silent into account and don't print non-error messages if it is present, and
  • print just the filename instead of the file contents by default: Taskfile.yml created in the current directory
    • additionally, hook up -v, --verbose to print the file contents if the user does want it
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Jan 21, 2025
@andreynering andreynering assigned HeCorr and unassigned HeCorr Jan 21, 2025
@HeCorr
Copy link
Contributor Author

HeCorr commented Jan 22, 2025

@andreynering it's okay to (re-)assign me here as well, I can work on both.

@andreynering andreynering added area: ui Changes related to the UI of Task. and removed state: needs triage Waiting to be triaged by a maintainer. labels Jan 22, 2025
@HeCorr HeCorr linked a pull request Jan 22, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ui Changes related to the UI of Task.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants