Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

atao-web/fse-cli

Repository files navigation

@atao/fse-cli

🏗A cli for node-fs-extra.

💡 Rational

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.

🏁 Quickstart

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.

🎹 Commands

🛠️ Development

See Contributing.

🛡 License

MIT

📜 Credits

Indeed node-fs-extra.

Amongst several dead attempts to create a CLI : node-fs-extra-cli.