sindresorhus / grunt-shell

Run shell commands
MIT License
949 stars 126 forks source link

Option to log command #97

Closed Stuk closed 9 years ago

Stuk commented 9 years ago

This pull request adds an option to echo the command when running.

This is useful for people to be able to see the exact command being run when it has been generated dynamically by a function.

The copyright line is a requirement from Adobe legal, the code is MIT licensed.

Thanks for the really useful project!

sindresorhus commented 9 years ago

The command is already logged when you run grunt in verbose mode grunt --verbose. Not interested in an option for that.

Stuk commented 9 years ago

I found that I often didn't want all the extra information associated with logging in verbose mode, while still being interested in the command being run.

Anyways, thank you for your time and the grunt-shell project :)