Help us shape the future of Go! Take the 2026 Go Developer Survey

rtk2json

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL