I am creating a cli tool in nodejs, that i want people to be able to run like this:
git clone mytool.git mytool -arg1
Is it possible, or there needs to be a step in between. What would it be.
git clone will create a new directory, you will need to either
cd to that directory or include it in the command path as
Here is a little script that you can give to your friends who want to use your program:
#!/bin/bash git clone mytool.git cd yourproject ./mytool -arg1