Documentation ¶
Overview ¶
Package hello
Copyright © 2023 zcubbs https://github.com/zcubbs
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "hello", Short: "hello is used for test purposes", Long: ``, Run: func(cmd *cobra.Command, args []string) { verbose := cmd.Flag("verbose").Value.String() == "true" util.Must( util.RunTask(func() error { style.PrintColoredHeader("Hello") style.PrintInfo("world!") return nil }, verbose)) }, }
Cmd represents the os command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.