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.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
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