Files
iris-context/commands/sys/btop.go
T
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- 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
2026-07-05 11:27:30 +07:00

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"},
},
})
}