Add JSON output to check command

This commit is contained in:
Dark Dragon
2024-12-30 22:33:01 +01:00
parent 79d435efb1
commit a58a8f2ce0
3 changed files with 68 additions and 1 deletions

View File

@@ -245,6 +245,18 @@ are stored in JSON form. Specifying ``--json`` or ``--quiet`` will suppress any
non-JSON messages the command generates.
check
-----
The ``check`` command outputs JSON messages with the following format:
+------------------+--------------------------------+
| ``message_type`` | Either "checked" or "error" |
+------------------+--------------------------------+
| ``message`` | Descriptive message |
+------------------+--------------------------------+
diff
----