Installation¶
pip¶
Install using pip:
pip install ilexconf
This will install:
Pure Python library without any dependencies
Support for
JSONINIenvironment variables
argparseparsing results
ilexconfcommand line executable that does nothing
Command line¶
pip install ilexconf[console]
This will install:
All of the above
Cleobased rich Command Line.Enables
CommandConfigclass that you can include into your Cleo application.
YAML, TOML, etc¶
pip install ilexconf[yaml]
This will install:
Support for YAML adapters such as
from_yamlandto_yaml.
poetry¶
Install using poetry:
poetry add ilexconf
Install with extras:
poetry add ilexconf -E console -E yaml
This will install:
ilexconfmain librarySupport for YAML configs
Command line application named
ilexconf.
Poetry automatically creates a virtual environment when you use it. It will install ilexconf
in this venv and will make the CLI available in it as well as install required adapters, such
as YAML.