package main import ( "fmt" "os" "git.keircn.com/keiran/termcloud/internal/cli" "github.com/spf13/cobra" ) func main() { rootCmd := &cobra.Command{ Use: "tcman", Short: "TermCloud Management CLI", Long: "Command line interface for managing TermCloud accounts, buckets, and files", } rootCmd.AddCommand(cli.NewAccountCmd()) rootCmd.AddCommand(cli.NewBucketCmd()) rootCmd.AddCommand(cli.NewFileCmd()) rootCmd.AddCommand(cli.NewConfigCmd()) if err := rootCmd.Execute(); err != nil { fmt.Fprintf(os.Stderr, "Error: %v\n", err) os.Exit(1) } }