It also install as foo script to /usr/local/bin, which allows you to invoke any of the scripts found within the foo-cli/bin directory. So foo init would run the init script within foo-cli/bin, foo help would run the help script in the same directory, and so on.

You can check for updates made to the remote foo-cli repository with groupthink update foo. groupthink upgrade foo would install all updates. And groupthink uninstall foo removes both the foo script in /usr/local/bin and the foo-cli directory in ~/.groupthink.

Finally, you can list all the organization commands you have installed to ~/.groupthink with groupthink list.

To sum up the options:

groupthink install <org> installs the scripts for <org>

groupthink uninstall <org> removes the scripts for <org>

groupthink update <org> checks for updates made to <org>’s scripts

groupthink upgrade <org> installs all updates made to <org>’s scripts

groupthink list lists all groupthink scripts you have installed for any <org>

groupthink install <org> --alias <alias> install the scripts for <org> under <altname> (if you use this, replace <org> with <altname> in the options above)