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:
- [x] 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
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 |