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

Feature request a REAL --verbose flag #91

Open
danshumaker opened this issue May 17, 2016 · 0 comments
Open

Feature request a REAL --verbose flag #91

danshumaker opened this issue May 17, 2016 · 0 comments

Comments

@danshumaker
Copy link

danshumaker commented May 17, 2016

In an attempt to get grunt to run "rm -rvf" I can't seem to get the equivalent working with either rimraf or grunt-contrib-clean.

Supplying the --verbose to grunt does NOT supply the linux cli -v option to the rm command as expected or desired.

I'd add this request to the rimraf https://www.npmjs.com/package/rimraf package but am not sure how to.

I understand that having the output of linux commands printed to the screen is ugly to some people but for the remove command it seems very appropriate to expect the users to be able to see what they are removing. The --no-write and --verbose options do not provide useful information but instead they provide a summary. For example:

  1. mkdir -p test/one/two
  2. mkdir -p test/three/four
  3. mkdir -p test/five/six
  4. grunt clean:default --no-write --verbose
Running "clean:default" (clean) task
Verifying property clean.default exists in config...OK
Files: test -> default
Options: force=false, no-write, verbose
Not actually cleaning test...
>> 1 path cleaned.

I find the "1 path cleaned" message, while technically correct, very misleading.. Any chance we could add an actual verbose flag to grunt-contrib-clean pretty please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant