Documentation
¶
Overview ¶
Command rtk2json converts rtk TOML filter files into gortk JSON Specs.
This is a build/import-time tool, NOT part of the runtime: gortk's runtime is JSON-only and zero-dependency. Run rtk2json to import rtk's (or community) .toml filters into specs/*.json once; the TOML dependency lives only here.
Usage:
rtk2json file1.toml file2.toml ... # convert listed files rtk2json path/to/rtk/src/filters/*.toml # glob via the shell
It writes one JSON array of Specs to stdout, validated (every Spec compiles).
Click to show internal directories.
Click to hide internal directories.