strictcli v0.39.0 /Glossary

#Glossary

--dump-schema
--dump-schema is a reserved flag on every strictcli app. It writes a JSON file to .strictcli/schema.json describing the entire CLI surface -- every command, group, flag, positional argument, constraint, and config field -- and prints the absolute path to stdout. External tools like rlsbl use this schema during release to verify that the CLI surface is up-to-date and that no flags or commands were silently removed. Source
--hermetic
--hermetic is a reserved global flag on every app. It skips config file loading and env var resolution entirely. Values come only from CLI tokens, declared defaults, and infrastructure roots. Source
Each case
Each case is a JSON object in the file's top-level array. The app definition is declarative -- commands specify handler_prints templates instead of actual code, and the harness generates deterministic output by substituting flag and arg values into the template at runtime: Source
Package noncomparable
Package noncomparable is a compile-FAIL fixture package. It is never built by the ordinary test run -- the go tool ignores directories named testdata when matching ./... -- and is compiled on purpose by carrier_noncomparable_test.go, which asserts that each compare_*.go file below produces exactly one diagnostic naming the [0]func() field. Source
Package strictcli
Package strictcli is a strict, zero-dependency CLI framework for Go with mandatory help text, type-safe flags, groups, and schema export. Source
The negation lookup
The negation lookup is a separate table built alongside the long and short lookup tables during command parsing. For each negatable boolean flag, the parser registers --no-{name} in the negation table pointing back to the original flag definition. When a token like --no-verbose is encountered during left-to-right token consumption, the parser checks the negation table first: Source
Search