Yaml
The Yaml Extension includes the
YamlOutputHandler
to render output in pure Yaml, as well as the YamlConfigHandler
that allows applications to use Yaml configuration files as a drop-in replacement of the default ConfigParserConfigHandler
.Documentation References:
API References:
- pyYaml
Cement 3.0.8+:
pip install cement[yaml]
Applications using Cement <3.0.8 should continue to include
pyYaml
in their dependencies.This extension does not support any application level configuration settings or meta options.
Example: Using Yaml Config Handler
myapp.py
from cement import App