Skip to content

Add --silent flag to CLI run command #788

@pgrippi

Description

@pgrippi

Do you want to request a feature or report a bug?

feature

What is the current behavior?

I use the npm test command in my ember cli projects to run my tests. I was happy to see that yarn test works the same way as npm test but it's missing one feature that I use: the --silent flag.

When I run yarn test --silent (or yarn run test --silent) it prints out the yarn version and command it runs:

$ yarn run test --silent
yarn run v0.15.1
$ ember test
...

What is the expected behavior?

I would expect that when I run yarn run <cmd> --silent it would suppress the output of the yarn version and the command it is running, similar to how npm run --silent works.

Please mention your node.js, yarn and operating system version.

Node: v4.6.0
Yarn: v0.15.1
OS: MacOS Sierra 10.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions