Skip to content

Taskfile initialization is too verbose #2009

@HeCorr

Description

@HeCorr
Contributor

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

Activity

HeCorr

HeCorr commented on Jan 22, 2025

@HeCorr
ContributorAuthor

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

added
area: uiChanges related to the UI of Task.
and removed
state: needs triageWaiting to be triaged by a maintainer.
on Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: uiChanges related to the UI of Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @andreynering@HeCorr@task-bot

    Issue actions

      Taskfile initialization is too verbose · Issue #2009 · go-task/task