FourDigits CLI tool
Project description
FourDigits CLI
A command line tool to make development and deployment easier within Four Digits.
It has the following commands:
- "docker"
- "build": Build docker images in our Gitlab CI pipelines
- "gitlab"
- "fix-coverage-paths": Change the generated coverage.xml so Gitlab can show coverage visualization in merge requests
Install
pip install fourdigits-cli
Upgrade
pip install --upgrade fourdigits-cli
Enable auto complete
bash
Add this to ~/.bashrc
:
eval "$(_FD_COMPLETE=bash_source fd)"
eval "$(_FOURDIGITS_COMPLETE=bash_source fourdigits)"
Zsh
Add this to ~/.zshrc
:
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:
[tool.fourdigits]
docker_repo=""
docker_image_user="fourdigits"
# We do not yet have a variable to define here, we just define the environment name
[tool.fourdigits.envs.<environment anem>]
Development
make develop
Releasing
To make a new release available on pypi, follow these steps:
- Update version by edit
fourdigits_cli/__init__.py
and commit. - Run:
make push-version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fourdigits-cli-1.4.0.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for fourdigits_cli-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c3fd797b7cb462113f1ff70e5f6f8622086e2540b93ee553a1f70eba475b0e1 |
|
MD5 | b209bcf41f553963cbab2e995caa5e6f |
|
BLAKE2b-256 | 2d472109ad9481ca6cd3553e4526d140b4240f19ba17db9ffa137eb4a7eb1d3a |