Skip to content

Commit

Permalink
Document difference with other tools (#28)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
mesqueeb and sindresorhus committed Jan 25, 2022
1 parent 1e9d718 commit 1f012a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme.md
Expand Up @@ -31,6 +31,12 @@ $ del --help

> :warning: **Windows users**: Since `$ del` is already a builtin command on Windows, you need to use `$ del-cli` there.
## Comparison

Benefits over `rimraf` CLI: Supports globbing (even on Windows), safer by default as it doesn't allow deleting parent directories, and has a dry-run mode.

Benefits over `rm -rf`: Cross-platform, safer by default as it doesn't allow deleting parent directories, and has a dry-run mode.

## Related

- [del](https://github.com/sindresorhus/del) - API for this module
Expand Down

0 comments on commit 1f012a4

Please sign in to comment.