💻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 $
Make sure to run this command at the Project Root (aka Workspace)
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 $
Overwrite pylenium.json file
You can overwrite an existing pylenium.json file with the latest defaults by using the -p
flag.
Terminal $
Overwrite pytest.ini file
You can overwrite an existing pytest.ini file with the latest defaults by using the -i
flag.
Terminal $
Overwrite multiple files at once
You can overwrite two or more files by combining flags.
Terminal
Last updated