Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InfoCmd = &cobra.Command{ Use: "info", Short: "info is a pallete that contains commands to get info of CPU, RAM, and DISK usage", Long: ``, Run: func(cmd *cobra.Command, args []string) { fmt.Println("Please specify what command do you want. ") fmt.Println(" - CPU usage: go-cli info cpu") fmt.Println(" - RAM usage: go-cli info ram") fmt.Println(" - DISK usage: go-cli info disk") fmt.Println(" - DISK usage: go-cli info gpu") }, }
COMMAND infoCmd represents the info command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.