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

Verbose Flag (for CLI) #140

Closed
mordentware opened this issue Mar 10, 2017 · 2 comments
Closed

Verbose Flag (for CLI) #140

mordentware opened this issue Mar 10, 2017 · 2 comments

Comments

@mordentware
Copy link

I was surprised to find that the verbose flag (-v or --verbose) was not supported, whereas it is within rm.

While this functionality could be considered as a separate package surrounding rimraf, the files being deleted are not exposed, meaning it would have to include its own globbing logic, handing single files to rimraf to delete and thereby losing much of the benefit of using it in the first place.

I appreciate the desire to keep any sort of UI out of rimraf, but given that rm supports -v (lines of removed foo/bar/baz.txt) and that rimraf advertises itself as a substitute for rm -rf, I figured it was worth a conversation.

@isaacs
Copy link
Owner

isaacs commented Mar 11, 2017

Sure. Patch welcome :)

@xenoterracide
Copy link

I too would like this, seems like there was a PR long ago :'(

isaacs added a commit that referenced this issue Mar 4, 2023
@isaacs isaacs closed this as completed in 3b57687 Mar 4, 2023
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

Successfully merging a pull request may close this issue.

3 participants