gortk

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: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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