package cmd import ( "fmt" "os" "github.com/spf13/cobra" ) var rootCmd = &cobra.Command{ Use: "mydev", Short: "Dev environment monitor: AWS auth, docker, repos", Long: `MyDev watches your local dev setup. Run a subcommand for a one-shot check, or 'mydev dash' for a live refreshing TUI dashboard.`, } // Execute runs the root command. Called by main. func Execute() { if err := rootCmd.Execute(); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } }