💻Pylenium CLI

The CLI comes with commands to initialize and create Pylenium files, and more.

pylenium init

Initializes Pylenium into the current directory. This creates Pylenium's required files:

  • conftest.py

  • pylenium.json

  • pytest.ini

Terminal $
pylenium init
circle-check
circle-info

By default, this will not overwrite Pylenium files if they already exist.

Overwrite conftest.py file

You can overwrite an existing conftest.py file with the latest version by using the -c flag.

Terminal $
pylenium init -c

Overwrite pylenium.json file

You can overwrite an existing pylenium.json file with the latest defaults by using the -p flag.

Terminal $
pylenium init -p

Overwrite pytest.ini file

You can overwrite an existing pytest.ini file with the latest defaults by using the -i flag.

Overwrite multiple files at once

You can overwrite two or more files by combining flags.

Last updated