Bugfix import of yaml. Add CLI example to docstring. Return the value.
Merge pull request #3230 from torhve/develop

Bugfix import of yaml. Add CLI example to docstring. Return the value.