Skip to content

Allow output: to be set per task #3100

Open

Description

@atollk

Description

Hey.
At the moment, the output format (e.g., "prefixed") can only be set for an entire Taskfile or task invocation.
I would like it if it was possible to specify the output for individual tasks:

tasks:
  build-push-all:
    output: prefixed
    deps:
      - for: { var: IMAGE_SPECS }
        task: build-push
        vars: { IMAGE: '{{.KEY}}' }

The use case is that "prefixed" adds noise, which I would like to avoid unless needed for tasks that actually run several operations in parallel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    state: needs triageWaiting to be triaged by a maintainer.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions