pyproject_parser.cli¶
Command line interface.
New in version 0.2.0.
Attention
This module has the following additional requirements:
click>=7.1.2 consolekit>=1.4.1 sdjson>=0.3.1
These can be installed as follows:
python -m pip install pyproject-parser[cli]
Classes:
|
|
Functions:
Catch |
|
|
Resolve the class name for the |
-
class
ConfigTracebackHandler[source]¶ Bases:
TracebackHandlerconsolekit.tracebacks.TracebackHandlerwhich handlesdom_toml.parser.BadConfigError.
-
resolve_class(raw_class_string, name)[source]¶ Resolve the class name for the
-P / --parser-classand-E / --encoder-classoptions.
-
prettify_deprecation_warning()[source]¶ Catch
PyProjectDeprecationWarningsand format them prettily for the command line.New in version 0.5.0.