Documentation
¶
Index ¶
- Variables
- func Cpu() string
- func Exec(cmdStr string) string
- func Execp(cmdStr string) string
- func FindAllByKey(txt, key string, idx int) string
- func FindByKey(ret, key string) string
- func FindByKeySetColor(ret, key, col string) string
- func FindColByKey(txt, key string, idx int) string
- func Help(key string)
- func HelpZh(key string)
- func Run(cmdStr string)
- func Sys() string
- func V()
Constants ¶
This section is empty.
Variables ¶
View Source
var SEL_LIMIT int = 5
View Source
var Version string = "v1.4.0"
Functions ¶
func FindAllByKey ¶
* 模糊查找指定列,并在该列中高亮显示, eg: * str="default ixx-demo-deployment-5df6465c5b-5xm5r 1/1 Running 2 75d" * ret = FindAllByKey(str, "ixx", 1) * "default [red]ixx[red]-demo-deployment-5df6465c5b-5xm5r 1/1 Running 2 75d"
func FindByKeySetColor ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.