link-to-bin
v1.0.0
Published
A tool to link or unlink an executable to ~/.local/bin
Downloads
6
Readme
link-to-bin
A tool to link or unlink an executable to ~/.local/bin
.
How to install it?
First you need to have Node.js on your system, then you can install it like this:
npm i -g link-to-bin
What does it do?
E.g. if you have mySuperScript.js
and call
link-to-bin mySuperScript.js
then it will make ~/.local/bin/mySuperScript
link to that script!
It will also make sure that it is set with executable permission.
But it's up to you to put the correct shebang, e.g. #!/usr/bin/env node
if it's a Node.js script!
The End
Take care!
Go eat a banana, it's good for you.