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:
TracebackHandler
consolekit.tracebacks.TracebackHandler
which handlesdom_toml.parser.BadConfigError
.
-
resolve_class
(raw_class_string, name)[source]¶ Resolve the class name for the
-P / --parser-class
and-E / --encoder-class
options.
-
prettify_deprecation_warning
()[source]¶ Catch
PyProjectDeprecationWarnings
and format them prettily for the command line.New in version 0.5.0.