info

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2024 License: MIT Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL