Command line tool to use Github API to automate some works.
Project description
githubot
Command line tool to use Github's API to automate some works:
- create release with assets
- TODO
Installation
pip install githubot
Usage
Usage: run.py [OPTIONS] [ASSETS]...
Options:
--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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
githubot-0.1.0.tar.gz
(2.4 kB
view hashes)