shelljs / shx

Portable Shell Commands for Node
MIT License
1.72k stars 44 forks source link

Why not directly overwrite these commands of cp/rm/mv but place them as subcommands of shx? #188

Closed rxliuli closed 3 years ago

rxliuli commented 3 years ago

Is there any problem with overwriting? It seems to be easier to use

nfischer commented 3 years ago

That's not a goal of this project. This is mainly focused on portable commands for npm package scripts. This is a case where it's useful to have shell-like commands but it's OK if it's slightly verbose.

If you want drop-in replacements for unix commands, you can try https://github.com/dthree/cash.