The mighty, self-hostable Git server for the command line 🍦
1package common 2 3import tea "github.com/charmbracelet/bubbletea" 4 5type ErrorMsg error 6 7func ErrorCmd(err error) tea.Cmd { 8 return func() tea.Msg { 9 return ErrorMsg(err) 10 } 11}