Skip to content

Latest commit

 

History

History
62 lines (38 loc) · 930 Bytes

README.md

File metadata and controls

62 lines (38 loc) · 930 Bytes

xc6

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.

Changelog

rm

Remove a file or directory.

Usage

xc6 rm <file | directory>

mv

Move a file or directory.

Usage

xc6 mv <source> <destination>

cp

Copy a file or directory.

Usage

xc6 cp <source> <destination>

ln

Create a link to a file or directory.

Usage

xc6 ln <existingPath> <newPath>

License

MIT