Skip to main content

Command line tool to use Github API to automate some works.

Project description


Command line tool to use Github's API to automate some works:

  • [x] create release with assets
  • [ ] TODO


pip install githubot


Usage: [OPTIONS] [ASSETS]...

  --token TEXT      Github access token  [required]
  -r, --repo TEXT   Repo full name like: <owner>/<repo>  [required]
  -t, --tag TEXT    Tag name for the release. If the tag does not
                    exist it will be created on default branch.  [required]
  --title TEXT      Title for the release
  --message TEXT    Message for the release
  --assets PATH...  Files to be uploaded as assets.
  --help            Show this message and exit.

For example:

githubot \
--token <my_github_token> \
--repo Wqyjh/test \
-t test_tag \
--title "This is an test title" \
--message "This release contains xxx" \
--assets assets/*

Only regular files are supported for the --assets option, directories are not supported. You can specify files in the following manner:

--assets file1 file2
--assets path/*

Project details

Download files

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

Files for githubot, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size githubot-0.1.0-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size githubot-0.1.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page