Configurable command management for humans.
coma
makes it easy to build configurable command-based programs in Python by:
- Removing the boilerplate of argparse, while retaining full
argparse
interoperability and customizability for complex use cases. - Providing a comprehensive set of hooks to easily tweak, replace, or extend
coma
's default behavior. - Integrating with omegaconf 's extremely rich and powerful configuration management features.
pip install coma
The documentation on ReadTheDocs includes a short introductory tutorial and much more!
From version 1.0.1:
- Add
@command
decorator - Changed default prefix separator from
:
to::
to avoid conflict with dictionary notation - Minor improvements and bug fixes