diff options
author | David Wührer <def@gmx.at> | 2024-05-18 21:04:34 +0200 |
---|---|---|
committer | David Wührer <def@gmx.at> | 2024-05-18 21:04:34 +0200 |
commit | 77cfffee6177fb0421fa0fce15d6a1875bde4816 (patch) | |
tree | 251428cdd482ea50cfb019dbd3c3bafd79d2fd14 /man/man1/yamlbrowser.1 | |
parent | 75b23ce1ff0daab363725a2a5755ea80bbeaa68e (diff) |
manuals, sum-down, radix
Diffstat (limited to 'man/man1/yamlbrowser.1')
-rw-r--r-- | man/man1/yamlbrowser.1 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/man/man1/yamlbrowser.1 b/man/man1/yamlbrowser.1 new file mode 100644 index 0000000..ebd0a7a --- /dev/null +++ b/man/man1/yamlbrowser.1 @@ -0,0 +1,44 @@ +.TH yamlbrowser 1 2022-11-20 utils + +.SH NAME +xmlbrowser \- graphical browser for yaml files + +.SH SYNOPSIS +.B yamlbrowser +.RI [ file\ ... ] + +.SH DESCRIPTION +.B yamlbrowser +parses the specified YAML files +and builds a tree +from the objects, +even if the file contains a list. + +The tree is displayed in a window for easy browsing. + +In theory, YAML should be a strict superset of JSON, +which should make it possible to also browse JSON files +with +.BR yamlbrowser . +In practice, there is a difference between theory and practice. +In particular, JSON treats all whitespace outside of keys and string values as equivalent, inclusing tabs, but YAML strictly doesn't allow tabs for indentation, so properly formatted JSON can not be read using +.BR yamlbrowser . +It needs to be edited first. +Fortunately, this can be as simple as +.B tr +.IR \et\ \e\ , +unless the keys or values themselves contain tabs. + +.B yamlbrowser +is implemented as a +.BR python (1) +script using qtpy. + +Not implemented are a search function, +and a way to edit the values. + +.SH EXAMPLES +.B yamlbrowser data.yaml + +.SH SEE ALSO +.BR jq (1),\ xmlbrowser (1) |