Documentation
¶
Index ¶
- func ColorSchemeFunc(c lipgloss.LightDarkFunc) fang.ColorScheme
- func ErrorHandler(w io.Writer, styles fang.Styles, err error)
- func NewRootCmd() *cobra.Command
- func NewRunCmd(ra *RunArgs) *cobra.Command
- func ThemeColorScheme(t *theme.Theme, c lipgloss.LightDarkFunc) fang.ColorScheme
- type RootArgs
- type RunArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorSchemeFunc ¶ added in v0.22.0
func ColorSchemeFunc(c lipgloss.LightDarkFunc) fang.ColorScheme
Try to get the theme from the config, otherwise use the default color scheme.
func NewRootCmd ¶
func ThemeColorScheme ¶ added in v0.22.0
func ThemeColorScheme(t *theme.Theme, c lipgloss.LightDarkFunc) fang.ColorScheme
Types ¶
type RootArgs ¶
func NewRootArgs ¶
func NewRootArgs() *RootArgs
Click to show internal directories.
Click to hide internal directories.