add configs

This commit is contained in:
yanghao05
2023-01-29 17:21:01 +08:00
parent 7151c52543
commit e07f8a67a4
11 changed files with 500 additions and 240 deletions

View File

@@ -14,8 +14,8 @@ import (
)
var rootCmd = &cobra.Command{
Use: "app",
Short: "app",
Use: "atom",
Short: "atom",
Long: `the app long description`,
Version: fmt.Sprintf("\nVersion: %s\nGitHash: %s\nBuildAt: %s\n", utils.Version, utils.GitHash, utils.BuildAt),
PersistentPreRun: func(cmd *cobra.Command, args []string) {