Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Install, update, and manage GitHub organization-specific command line scripts

Project Description

The groupthink package helps you install, update, and manage GitHub organization-specific command line scripts. Let’s say your organization is called foo.

Running groupthink install foo looks for a repository at https://github.com/foo/foo-cli. If it finds one, it installs to the foo-cli directory within ~/.groupthink. Like this:

.groupthink
└── foo-cli
    ├── CONTRIBUTING.md
    ├── LICENSE.md
    ├── README.md
    └── bin
        ├── help
        ├── init
        ├── scan
        ├── setup
        └── validate

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)

Requirements

  • Python (v. 2.7 or 3.3+)
  • git
  • If you’re running Windows, use Git Bash

Installation

Install groupthink with pip install groupthink

Release History

Release History

This version
History Node

1.0.0

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
groupthink-1.0.0-py2.py3-none-any.whl (9.3 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jun 23, 2016
groupthink-1.0.0.tar.gz (6.1 kB) Copy SHA256 Checksum SHA256 Source Jun 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting