From e07eb9614444cad85fd7cd6d56a46d9fbe7956c8 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Sun, 21 Dec 2025 10:18:37 -0800 Subject: [PATCH] feat(cli): add --version flag to gt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Models often guess --version exists. Cobra provides both --version and -v when Version is set on the root command. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- internal/cmd/root.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/cmd/root.go b/internal/cmd/root.go index 9d4bad9c..d119bde0 100644 --- a/internal/cmd/root.go +++ b/internal/cmd/root.go @@ -10,8 +10,9 @@ import ( ) var rootCmd = &cobra.Command{ - Use: "gt", - Short: "Gas Town - Multi-agent workspace manager", + Use: "gt", + Short: "Gas Town - Multi-agent workspace manager", + Version: Version, Long: `Gas Town (gt) manages multi-agent workspaces called rigs. It coordinates agent spawning, work distribution, and communication