A command line interface for managing GitHub repos in bulk.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
scripts
sweep
tests
.editorconfig
.gitignore
.travis.yml
HISTORY.rst
LICENSE
MANIFEST.in
README.rst
dependencies.yml
requirements_dev.txt
setup.cfg
setup.py
tox.ini

README.rst

sweep

https://travis-ci.org/dropseedlabs/sweep.svg?branch=master

A CLI for responding to and merging pull requests.

Installation

pip install sweep

Usage

sweep <organization slug>

Hooks

There are several places where a user can run a custom script as a part of their process (i.e. deploying after a merge). Put an executable script matching the name of the hook at ~/.sweep/hooks/<hook_name>. Each hook will also receive a set of arguments, which you can use in your script.

  • post_merge - runs right after a successful merge
    • repo name
    • PR number
    • repo full name (owner/repo)