tools
Usage: chr tools [OPTIONS] COMMAND [ARGS]...
Miscellaneous tools
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│ gtv Decode and convert GTV data │
│ validate-config Validate a chromia config file │
│ lib-model Generate a library model │
╰─────────────────────────────────────────────────────────────────────────────╯
You can use the tools command (chr tools
) provides a set of miscellaneous tools for various tasks related to Chromia.
tools gtv
Usage: chr tools gtv [<options>]
Decode and convert GTV data
Use --hex option or pipe binary GTV data to the command.
Examples:
╭──────────────────────────────────────────────────────────────────────╮
│chr gtv --hex A41A3018300A0C0161A2050C03464F4F300A0C0162A2050C03424152│
│chr gtv --output-format yaml < data.gtv │
╰──────────────────────────────────────────────────────────────────────╯
Options:
--hex=<hex> Hex encoded GTV data
-f, --output-format=(pretty|raw|JSON|XML|YAML) Output format
-h, --help Show this message and exit
The gtv command chr tools gtv
allows you to decode and convert GTV data.
tools validate-config
Usage: chr tools validate-config [<options>]
Validate a chromia config file
Options:
-f, --file=<path>
-h, --help Show this message and exit
The validate-config command chr tools validate-config
allows you to validate a Chromia config file.
tools lib-model
Usage: chr tools lib-model [<options>]
Generate a library model
Options:
--name=<text> Name of the library
-s, --library-source=<path>
--registry=<text> Git reference
--tag-or-branch=<text> Tag or branch the library is published on
--insecure=true|false Allow insecure connections
-h, --help Show this message and exit
The lib-model command chr tools lib-model
allows you to generate a library model.