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

Add execute output style options #173

Merged
merged 1 commit into from
Feb 7, 2019
Merged

Conversation

kjdev
Copy link
Contributor

@kjdev kjdev commented Feb 5, 2019

Add command line option.

$ task --help
..
Options:
  ..
  -o, --output string   sets output style: [interleaved|group|prefixed]
  ..

Taskfile.yml

version: '2'
tasks:
  test:
    cmds:
      - echo 'test'

Execute

$ task -s test
test
$ task -s -o prefixed test
[test] test

@andreynering andreynering added the type: feature A new feature or functionality. label Feb 7, 2019
@andreynering
Copy link
Member

Hi @kjdev,

Thanks for the PR! This is a good addition.

@andreynering andreynering merged commit 14f41ae into go-task:master Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A new feature or functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants