Script Usage
Invoke using the octocheese
command or python3 -m octocheese
.
Copy PyPI Packages to GitHub Releases.
octocheese [OPTIONS] PYPI_NAME
Options
-
-t
,
--token
<token>
Required The token to authenticate with the GitHub API. Can also be provided via the ‘GITHUB_TOKEN’ environment variable.
-
-r
,
--repo
<repo>
The repository name (in the format <username>/<repository>) or the complete GitHub URL.
-
-n
,
--max-tags
<max_tags>
The maximum number of tags to process, starting with the most recent.
- Default
-1
-
-T
,
--traceback
Show the full traceback on error.
-
--no-self-promotion
Don’t show information about OctoCheese at the bottom of the release message.
-
--version
Show the version and exit.
Arguments
-
PYPI_NAME
Required argument.
Environment variables
-
GITHUB_TOKEN
Provides a default for
-t / --token