Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI equivalent for fs-extra #184

Closed
Deele opened this issue Oct 16, 2015 · 3 comments
Closed

CLI equivalent for fs-extra #184

Deele opened this issue Oct 16, 2015 · 3 comments

Comments

@Deele
Copy link

Deele commented Oct 16, 2015

Is there an CLI equivalent for fs-extra?

I would like to create npm build scripts that are platform independent, and fs-extra seems to have very nice set of methods, but I would like to use them from CLI.

It could be like a single script:

node fs-cli copy source/dir target/dir

multiple scripts

node fs-copy source/dir target/dir

or even multiple binaries

fs-copy source/dir target/dir
@jprichardson
Copy link
Owner

I don't know of any. But it'd be cool to see someone make it. If you do, please let me know :)

@Deele
Copy link
Author

Deele commented Oct 23, 2015

@jprichardson Have a look on my first implementation of copy command and please, share your thoughts https://github.com/Deele/node-fs-extra-cli

@jprichardson
Copy link
Owner

Nice :) One thing to note, the option clobber will be renamed to overwrite. So you may want to change that on your end. When you implement both move and delete, feel free to make a PR and update this section: https://github.com/jprichardson/node-fs-extra#misc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants