Documentation
¶
Overview ¶
Command gortk is an OPTIONAL developer/debug tool for the gortk package.
It is NOT the intended production integration path — a host runtime that runs commands in-process should call the gortk library directly (see INTEGRATION.md). This binary exists to iterate on filters from a terminal and to let non-Go callers pipe output through gortk.
Usage:
# Compress the output of a command you run yourself (pipe it in): go test ./... 2>&1 | gortk filter go test # Run a command AND compress its output (mirrors rtk's proxy form): gortk run -- go test ./... # List the active filters: gortk specs
With --specs FILE you can layer extra JSON specs on top of the defaults to try new compression rules without recompiling.
Click to show internal directories.
Click to hide internal directories.