| 1 |
``trace-path`` command |
| 2 |
====================== |
| 3 |
|
| 4 |
.. automodule:: debsbom.commands.tracepath.TracePathCmd |
| 5 |
|
| 6 |
.. argparse:: |
| 7 |
:module: debsbom.cli |
| 8 |
:func: setup_parser |
| 9 |
:prog: debsbom |
| 10 |
:path: trace-path |
| 11 |
|
| 12 |
JSON Output Schema |
| 13 |
------------------ |
| 14 |
|
| 15 |
When the application is run with JSON output enabled (via the ``--json`` flag), |
| 16 |
status messages are emitted as single-line JSON objects to standard output. |
| 17 |
Each line represents a single path from the package to the root. |
| 18 |
|
| 19 |
The schema for these JSON objects is as follows: |
| 20 |
|
| 21 |
.. literalinclude:: ../../../src/debsbom/schema/schema-trace-path.json |
| 22 |
:language: json |