mirror of
https://github.com/catppuccin/cli.git
synced 2026-02-16 00:19:09 +08:00
Co-authored-by: bashbunni <bashbunni.io@gmail.com> Co-authored-by: ghostx31 <68803793+ghostx31@users.noreply.github.com> Co-authored-by: Dukk <48651837+DakshG07@users.noreply.github.com> Co-authored-by: jolheiser <john.olheiser@gmail.com>
22 lines
702 B
Go
22 lines
702 B
Go
package main
|
|
|
|
import (
|
|
"github.com/caarlos0/log"
|
|
"github.com/catppuccin/cli/internal/cli"
|
|
"github.com/charmbracelet/lipgloss"
|
|
)
|
|
|
|
func init() {
|
|
log.Styles = [...]lipgloss.Style{
|
|
log.DebugLevel: lipgloss.NewStyle().Foreground(lipgloss.Color("#a6adc8")).Bold(true), // Subtext0
|
|
log.InfoLevel: lipgloss.NewStyle().Foreground(lipgloss.Color("#89b4fa")).Bold(true), // Blue
|
|
log.WarnLevel: lipgloss.NewStyle().Foreground(lipgloss.Color("#f9e2af")).Bold(true), // Yellow
|
|
log.ErrorLevel: lipgloss.NewStyle().Foreground(lipgloss.Color("#f38ba8")).Bold(true), // Red
|
|
log.FatalLevel: lipgloss.NewStyle().Foreground(lipgloss.Color("#f38ba8")).Bold(true), // Red
|
|
}
|
|
}
|
|
|
|
func main() {
|
|
cli.Execute()
|
|
}
|