this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(toolbox): scaffold minimal cobra cli

+30
+18
toolbox/cmd/root.go
··· 1 + package cmd 2 + 3 + import ( 4 + "os" 5 + 6 + "github.com/spf13/cobra" 7 + ) 8 + 9 + var rootCmd = &cobra.Command{ 10 + Use: "toolbox", 11 + Short: "CLI tools for managing cloudlab infrastructure", 12 + } 13 + 14 + func Execute() { 15 + if err := rootCmd.Execute(); err != nil { 16 + os.Exit(1) 17 + } 18 + }
+5
toolbox/go.mod
··· 1 + module github.com/khuedoan/cloudlab/toolbox 2 + 3 + go 1.25.5 4 + 5 + require github.com/spf13/cobra v1.10.2
+7
toolbox/main.go
··· 1 + package main 2 + 3 + import "github.com/khuedoan/cloudlab/toolbox/cmd" 4 + 5 + func main() { 6 + cmd.Execute() 7 + }