Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SearchCmd = &cobra.Command{ Use: "s <query>", Short: "Web search from the terminal", Long: `Web search from the terminal.`, Run: func(cmd *cobra.Command, args []string) { err := performCommand(cmd, args) if err != nil { bail(err) } }, }
SearchCmd is the main command for Cobra.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.4.0
type Config struct {
Blacklist []string `json:"blacklist"`
Binary string `json:"binary"`
Cert string `json:"cert"`
CustomProviders []*providers.CustomProvider `json:"customProviders"`
DisplayVersion bool `json:"-"`
Key string `json:"key"`
ListProviders bool `json:"-"`
Port int `json:"port,string"`
Provider string `json:"provider"`
ServerMode bool `json:"-"`
Verbose bool `json:"verbose,string"`
Whitelist []string `json:"whitelist"`
}
Config stores all the application configuration.
Click to show internal directories.
Click to hide internal directories.