Running Your Prog
Prerequisites
- Installed Proggy CLI
- Proggy CLI is logged in
You do not need to have a Proggy account to run publicly available commands. This allows you to leverage commands created by others, such as those found in our official channel.
However, we recommend that you create an account.
Running your Prog
If you have already installed the Proggy CLI from the above prerequisite step, you can run the Prog you created.
If you are on the desktop, the Prog command can be copied and pasted to your terminal. Alternatively, you can manually type out the command:
proggy run <your command>
Replace <your command
> with the actual name of the command you created.
You should see your Prog run, like so:
Running Progs from other accounts
By default, you can run Progs in your personal and team accounts quite simply with:
proggy run <your command>
.
However, you can run public Progs by adding the username in front.
For example, you can run the public Prog at https://proggy.io/geetfun/commands/hello by typing in:
proggy run geetfun/hello
.
In this way, it is easy to run and share Progs with each other.
Note that this only works for public Progs.
What happens when my personal and team accounts has the same command name?
There might be scenarios where you created a command that has the same name as another command in a team account. This can happen, say, if you were to clone a command from a team account to customize it.
When Proggy detects this, you will be prompted, when running proggy run <your command>
to choose the command you want to execute.
You can avoid this prompt by prefixing the command name with the username of the account, as described above.
For example:
proggy run <my username>/mycommand
proggy run <team username>/mycommand