genstripids

command
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Command genstripids writes internal/pigstrip/ids_generated.go, the table of stable IDs a Piglet strip list may name. It reads the IDs from the registrations themselves: the built-in tool registry, the built-in slash command list with the Piglet extension's /piglet command, the built-in extension list, the strippable API list and the strippable feature list. A renamed registration changes the table, so a Piglet that names the old ID fails to resolve instead of silently stripping nothing.

Usage: go run ./coding/piglet/internal/genstripids [-check | -print-tags]

-print-tags prints the comma-separated build tags of every strip ID a Piglet Binary can compile out (make piglet-strip-build builds and vets with them).

Jump to

Keyboard shortcuts

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