Telemetry that asks first
Opt-in telemetry for a command-line tool: off until someone says yes, no personal data, a pluggable backend, and a consent flow that meets GDPR.

Opt-in telemetry for a command-line tool: off until someone says yes, no personal data, a pluggable backend, and a consent flow that meets GDPR.

The other audience for a CLI is the script that greps its output and breaks. Giving every command a JSON output mode with one response envelope.

Timing, auth, recovery and logging are cross-cutting in a CLI too. Wrapping Cobra commands in web-style middleware rather than PreRun hooks.

go-tool-base keeps an entire CLI command tree in one manifest file and generates the wiring from it, without locking you out of hand-written Go.

A well-built CLI already has what an agent needs: named operations, descriptions and typed parameters. Exposing one over MCP takes no AI code.

How a pile of separate Go CLI plumbing packages became one library, with a typed container for dependencies and a generator on top.

End a MySQL command-line SELECT with backslash-G instead of a semicolon to get readable row-per-column output rather than a mangled table.