tomvlk / node-split-file

:seedling: NodeJS Module to split and merge files for several purposes like transporting over unstable networks.
MIT License
41 stars 13 forks source link

fixed global install linking #9

Closed purplecones closed 7 years ago

purplecones commented 7 years ago

Hey I was having trouble using the CLI tool for this. I made some changes so that when someone writes npm install -g split-file, they can do $ split-file -m bundle.tar.gz *sf-part* globally.

I removed the bin/split-file file because it seemed redundant with the code in ./split-file-cli.js. Now the npm links ./split-file-cli.js to the global command split-file.

tomvlk commented 7 years ago

@purplecones thanks for this pull-request, I'll merge it right now, adjust some other things and publish a new version.

tomvlk commented 7 years ago

@purplecones New version is out, again, thanks for your contribution!

purplecones commented 7 years ago

No problem :-). Just submitted another https://github.com/tomvlk/node-split-file/pull/10.