Skip to content

Taskfile initialization is too verbose #2009

@HeCorr

Description

@HeCorr

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

Metadata

Metadata

Assignees

Labels

area: uiChanges related to the UI of Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions