Commit Graph

12 Commits

Author SHA1 Message Date
Pim van Pelt
e18a89dcf0 Add Debian packaging, Makefile, manpages, tests, and design doc
Introduces a static-binary build and Debian package (amd64/arm64) with
version/commit/date stamped via -ldflags. Ships section-1 manpages for
ctool, ctfetch, and ctail. Adds a `version` subcommand reachable as
`ctool version`, `ctool -version`, `ctool --version`, `ctool fetch
version`, `ctool tail version`, and via the ctfetch/ctail symlinks. Adds
tests covering the dispatcher, fetch/tail argument parsing, and the
formatter/helper functions. Adds a retrofit design document modelled on
the vpp-maglev one, with FRs and NFRs for each tool and the dispatcher.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 22:21:32 +02:00
Pim van Pelt
097c33b478 Allow the binary to be symlinked to its toolnames 'ctfetch' and 'ctail' 2026-04-06 01:40:52 +02:00
Pim van Pelt
ba7f0dcb9f Refactor ctail+ctfetch into a common ctool 2026-04-06 01:36:21 +02:00
Pim van Pelt
418e83a83f Add ctail, refactor README 2026-04-06 01:29:38 +02:00
Pim van Pelt
cba89df53b Add +all argument 2026-04-05 23:20:13 +02:00
Pim van Pelt
ab476b71ba Update package path, update install instructions 2026-04-05 23:00:38 +02:00
Pim van Pelt
8efc43b0e4 Clean up stderr logging 2026-04-05 22:54:29 +02:00
Pim van Pelt
a36e913e27 Fold tiledump into ctfetch. Add +sct, +issuer and +ctlog flags to print additional info 2026-04-05 21:49:10 +02:00
Pim van Pelt
66835aab9d Output JSON 2026-01-12 22:48:15 +01:00
Pim van Pelt
dbbae65e45 Fall back to full tile 2026-01-11 08:08:46 +01:00
Pim van Pelt
1633ad52c9 Refactor some utils.go; add another tool 'tiledump' 2026-01-11 07:12:48 +01:00
Pim van Pelt
25d07030d5 Move the tool to its own cmd/ directory 2026-01-11 07:02:01 +01:00