eXecute c(ommand) (xc6) is a command line tool to execute commands in a package.json script or a shell script.
Why:
- cross-platform
- lightweight
- no dependencies
- no need to install a package globally
- fast
Notes
- It is not a reimplementation of unix commands, but a simple wrapper around nodejs fs module. BTW there is shelljs that provides Unix shell commands for Node.js.
- No glob patterns are supported.
Remove a file or directory.
xc6 rm <file | directory>
Move a file or directory.
xc6 mv <source> <destination>
Copy a file or directory.
xc6 cp <source> <destination>
Create a link to a file or directory.
xc6 ln <existingPath> <newPath>