mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
feat(cli): colorize help page (#9589)
This commit is contained in:
15
cli/testdata/coder_stat_cpu_--help.golden
vendored
15
cli/testdata/coder_stat_cpu_--help.golden
vendored
@ -1,13 +1,16 @@
|
||||
Usage: coder stat cpu [flags]
|
||||
coder v0.0.0-devel
|
||||
|
||||
Show CPU usage, in cores.
|
||||
[93mUSAGE:[0m
|
||||
coder stat cpu [flags]
|
||||
|
||||
[1mOptions[0m
|
||||
--host bool
|
||||
Show CPU usage, in cores.
|
||||
|
||||
[93mOPTIONS:[0m
|
||||
[94m--[0m[94mhost[0m bool
|
||||
Force host CPU measurement.
|
||||
|
||||
-o, --output string (default: text)
|
||||
[94m-[0m[94mo[0m, [94m--[0m[94moutput[0m string (default: text)
|
||||
Output format. Available formats: text, json.
|
||||
|
||||
---
|
||||
———
|
||||
Run `coder --help` for a list of global options.
|
||||
|
Reference in New Issue
Block a user