🏗A cli for node-fs-extra.
Everyone needs simple file system operations like copy, remove, clean, ... that can be used from the terminal or via npm scripts.
While there are many Node.js utils that provide this, all are meant to be used as part of an app, and does not have a CLI.
This CLI is based on fs-extra.
Note. It's a work in progress:
- not all functions are mapped yet, see Commands below;
- a lot of tests still to be created, even if they will only cover the cli part.
npm install @atao60/fse-cli
Each function is available:
- either as a stand alone one, eg
fse-copy
, - or as a sub command, eg
fse copy
.
The arguments are those of fs-extra as far as possible.
For more details, see the manual.
- copy,
- ensureDir, alias mkdirs or mkdirp
- remove, alias rimraf
- emptyDir,
- ensureFile, alias touch,
- move.
See Contributing.
Indeed node-fs-extra.
Amongst several dead attempts to create a CLI : node-fs-extra-cli.