Skip to content

Repository files navigation

CLI: Command-line interaces powered by Typer and Pydantic.

---Here provide a brief description of the package---

Overview

TOOD

Installation

pip install git+ssh://git@github.com/sztal/cli.git
# From a specific branch, e.g. 'dev'
pip install git+ssh://git@github.com/sztal/cli.git@dev

Development

Environment setup and dev installation

# Clone the repo
git clone git+ssh://git@github.com/sztal/cli.git
# Or from a specific branch, e.g. 'dev'
git clone git+ssh://git@github.com/sztal/cli.git@dev

Configure the environment and install the package after cloning. The make commands below also set up and configure version control (GIT).

cd cli
conda env create -f environment.yaml
conda activate cli
make init

Makefile defines several commands that are useful during development.

# Clean up auxiliary files
make clean
# List explicitly imported dependencies
make list-deps

Testing

pytest
## With automatic debugger session
pytest --pdb

Unit test coverage statistics

# Calculate and display
make coverage
# Only calculate
make cov-run
# Only display (based on previous calculations)
make cov-report

About

Command-line interfaces powered by Typer and Pydantic.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages