docky_cli package

Docky Command Line Interface (CLI) package.

Subpackages

Submodules

docky_cli.__main__ module

Docky CLI.

docky_cli.config module

Config file for Docky.

docky_cli.errors module

Error related functionalities.

docky_cli.errors.alert_error(message: str) None

Alert error to user.

Parameters

message (str) – Error message.

Raises

SystemExit – Exit with error code 1.

docky_cli.errors.check_compose() None

Check if Docker Compose is installed and in the path.

Check if Docker Compose (‘docker-compose’ executable) is installed and in the path. If not, exits with error and message.

docky_cli.errors.check_docker() None

Check if Docker is installed and in the path.

Check if Docker (‘docker’ executable) is installed and in the path. If not, exits with error and message.

docky_cli.errors.check_docker_and_compose() None

Check if Docker and Docker Compose are installed and in the path.

Check if Docker (‘docker’ executable) is installed and in the path. If not, exits with error and message. Check if Docker Compose (‘docker-compose’ executable) is installed and in the path. If not, exits with error and message.