Metadata-Version: 2.1
Name: fourdigits-cli
Version: 1.1.0
Summary: FourDigits CLI tool
Requires-Python: >= 3.7
Description-Content-Type: text/markdown
Requires-Dist: click (~=8.1.3)
Requires-Dist: tomli (~=2.0.1)
Requires-Dist: packaging
Provides-Extra: dev
Requires-Dist: black ; extra == 'dev'
Requires-Dist: isort ; extra == 'dev'
Requires-Dist: flake8 ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: pytest-cov ; extra == 'dev'

# FourDigits CLI

A cli tool to make development and deployment easier within Four Digits

## Install

    pipx install fourdigits-cli

## Upgrade

    pipx upgrade fourdigits-cli

### Enable auto complete

#### bash
Add this to `~/.bashrc`:

```shell
eval "$(_FD_COMPLETE=bash_source fd)"
eval "$(_FOURDIGITS_COMPLETE=bash_source fourdigits)"
```

#### Zsh

Add this to `~/.zshrc`:

```shell
eval "$(_FD_COMPLETE=zsh_source fd)"
eval "$(_FOURDIGITS_COMPLETE=zsh_source fourdigits)"
```

## Usage

After installation the cli tool is available under `fourdigits` and `fd`.
For more information use:

    fourdigits --help

## Project configuration

The project is configured in the `pyproject.toml` file, available options and their defaults:

```toml
[tool.fourdigits]
docker_repo=""
docker_image_user="fourdigits"

[tool.fourdigits.envs.<environment anem>]
name=""
```

## Development

    make develop

## Releasing

To make a new release available on pypi, follow these steps:

1. Update version by edit `fourdigits_cli/__init__.py` and commit.
2. Run: `make push-version`
