- I think it would be better if one for commands only, one for the spec handling core logic so people won't be confused by the core logic inside the commands folder (cleaner I guess) - Regen docs
22 lines
756 B
Go
22 lines
756 B
Go
package sys
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "btop",
|
|
Description: "Beautifuler htop (interactive process viewer)",
|
|
Options: []spec.Option{
|
|
{Name: "--help", Description: "Shows help for btop"},
|
|
{Name: "--low-color", Description: "Disables truecolor, converts 24-bit colors to 256-color"},
|
|
{Name: "--tty_on", Description: "Forces ON tty mode, max 16 colors and tty friendly graph symbol"},
|
|
{Name: "--tty_off", Description: "Forces OFF tty mode"},
|
|
{Name: "--preset", Description: "Start with preset"},
|
|
{Name: "--utf-force", Description: "Force start even if no UTF-8 locale was detected"},
|
|
{Name: "--debug", Description: "Shows the version of btop"},
|
|
},
|
|
})
|
|
}
|