Beast Mode CLI
Add a copy of bmcli
to usr/local/bin
.
./bmcli as_executable
Now instead of ./bmcli
you can run bmcli
from anywhere (when you restart the terminal).
Yup that's it, all done!
When you make changes you also need to update bmcli
in usr/local/bin
.
# Needs to be run from the root of the repo.
./bmcli update
bmcli help
Used to be necessary when commands were separate scripts instead of functions.
chmod +x ./commands/my_new_command