Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConfigReader = Reader{ViperConfig: viper.New()}
)
Functions ¶
func NewOpenCmd ¶
func NewOpenCmd(configManager ConfigManager, browser Browser) *cobra.Command
func NewVersionCmd ¶
Types ¶
type ConfigManager ¶
type ConfigManager interface {
ReadConfig() (Config, error)
}
type DefaultBrowser ¶
type DefaultBrowser struct { }
DefaultBrowser is the default web browser
func (DefaultBrowser) OpenURL ¶
func (e DefaultBrowser) OpenURL(url string) error
OpenURL opens url in the default web browser
Click to show internal directories.
Click to hide internal directories.