@@ -2,19 +2,6 @@ package main
22
33type Config struct {
44 Format []string `json:"format"`
5- ShowUser bool `json:"showUser"`
6- ShowSep bool `json:"showSep"`
7- ShowUptime bool `json:"showUptime"`
8- ShowMem bool `json:"showMem"`
9- ShowCPU bool `json:"showCPU"`
10- ShowTotalCPUCores bool `json:"showTotalCPUCores"`
11- ShowTotalCPUThreads bool `json:"showTotalCPUThreads"`
12- ShowGPUS bool `json:"showGPUS"`
13- ShowTotalDiskSize bool `json:"showTotalDiskSize"`
14- ShowWindowsVersion bool `json:"showWindowsVersion"`
15- ShowBios bool `json:"showBios"`
16- ShowBaseboard bool `json:"showBaseboard"`
17- ShowProcessCount bool `json:"showProcessCount"`
185 ShowAscii bool `json:"showAscii"`
196 UseDefaultColors bool `json:"useDefaultColors"`
207 UseSmallAscii bool `json:"useSmallAscii"`
@@ -45,20 +32,7 @@ type TitleValues struct {
4532func newConfig () Config {
4633 config := Config {}
4734 config .Format = []string {"user" , "sep" , "uptime" , "mem" , "cpu" , "procs" , "cpuCores" , "cpuThreads" , "disk" , "wversion" , "gpus" , "bios" , "baseboard" }
48- config .ShowUser = true
49- config .ShowUptime = true
50- config .ShowSep = true
51- config .ShowMem = true
52- config .ShowCPU = true
53- config .ShowTotalCPUCores = true
54- config .ShowTotalCPUThreads = true
55- config .ShowGPUS = true
56- config .ShowTotalDiskSize = true
57- config .ShowWindowsVersion = true
58- config .ShowBios = true
59- config .ShowBaseboard = true
6035 config .ShowAscii = true
61- config .ShowProcessCount = true
6236 config .UseSmallAscii = false
6337 config .UseCustomAscii = false
6438 config .CustomAsciiPath = ""
0 commit comments