bork.cli

Command-line interface for Bork.

Usage:

bork COMMAND [OPTIONS] [ARGS]

Options that exist for all commands include:

–verbose: enable verbose logging

–debug: enable even more verbose logging (sometimes too noisy to be helpful)

Commands:

bork.cli.aliases(_args)

### bork aliases

Prints a list of aliases (configured via pyproject.toml).

bork.cli.build(_args)

### bork build

Build the project.

bork.cli.clean(_args)

### bork clean

Remove files created by bork build.

bork.cli.download(args)

### bork download [–files FILES] [–directory DIRECTORY] PACKAGE RELEASE

Download a release of the specified project.

Arguments:
–files=FILES:

(default *.pyz) A comma-separated list of filenames to download. Supports wildcards (* = everything, ? = any single character).

–directory=DIRECTORY:

(default downloads) The directory to save files in. Created if missing.

PACKAGE:

The package to download. Of the format SOURCE:PACKAGE_NAME, where PACKAGE_NAME is the name of the package to download, and SOURCE is one of gh, github, pypi, or testpypi.

RELEASE:

The release or tag of the package that you want to download.

bork.cli.main(cmd_args=None)

Command-line entrypoint for bork.

cmd_args should be either None or equivalent to sys.argv[1:].

bork.cli.release(args)

### bork release [–pypi-repository=REPO | –test-pypi] [–dry-run]

Arguments:
–pypi-repository=REPO:

(default pypi) Repository to use. Valid values are pypi, testpypi, or anything defined in “.pypirc”.

–test-pypi:

Equivalent to –pypi-repository testpypi

–dry-run:

Don’t actually release, just show what a release would do.

bork.cli.run(args)

### bork run NAME

Run the alias specified by NAME, as defined in pyproject.toml.

bork.cli.zipapp_main()