Skip to main content

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

Project description

https://travis-ci.org/emanuelfeld/groupthink.svg?branch=master https://img.shields.io/pypi/v/groupthink.svg

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

Project details


Download files

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

Source Distribution

groupthink-1.0.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

groupthink-1.0.0-py2.py3-none-any.whl (9.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file groupthink-1.0.0.tar.gz.

File metadata

  • Download URL: groupthink-1.0.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for groupthink-1.0.0.tar.gz
Algorithm Hash digest
SHA256 eb05025de2324524b3f3fa46b2a5995193a5f8c980662ec094dc6f7911ea2ffa
MD5 14a1cf0e545aae0de653a98ff859ea2d
BLAKE2b-256 81ee29a53f13e07f5b51cc52dd5aef0cf2ab1c3e267fe01821f03cc9ca7dfb8e

See more details on using hashes here.

File details

Details for the file groupthink-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for groupthink-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ac5e270d459be349110999aa2ce8bc432efb98ca098c1de2d6ce9a7fcb21eb64
MD5 2a0010fb3e4e228b05231f38d036e5dc
BLAKE2b-256 cd2f54edb937d53ebf4d526003f81a2f03938a4bb0e296c4d4c58ef8ce85bd29

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page