gum/main.go

25 lines
481 B
Go
Raw Normal View History

2022-06-11 01:07:40 +03:00
package main
import (
"github.com/alecthomas/kong"
"github.com/charmbracelet/lipgloss"
"github.com/muesli/termenv"
2022-06-11 01:07:40 +03:00
)
func main() {
lipgloss.SetColorProfile(termenv.ANSI256)
2022-07-07 20:26:35 +03:00
gum := &Gum{}
ctx := kong.Parse(
gum,
2022-07-07 20:26:35 +03:00
kong.Name("gum"),
kong.Description("Tasty Bubble Gum for your shell."),
2022-06-11 01:07:40 +03:00
kong.UsageOnError(),
kong.ConfigureHelp(kong.HelpOptions{
Compact: true,
Summary: false,
}),
kong.Vars{"defaultBackground": "", "defaultForeground": ""},
)
ctx.Run()
2022-06-11 01:07:40 +03:00
}