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