Files
aqi/internal/cli/cli_version.go
T
2026-04-14 09:32:59 +08:00

20 lines
269 B
Go

package cli
import (
"fmt"
"github.com/spf13/cobra"
)
var verCmd = &cobra.Command{
Use: "version",
Short: "Version of this CLI",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Version: 2.0.1")
},
}
func init() {
rootCmd.AddCommand(verCmd)
}