Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Schema: "https://github.com/pomdtr/sunbeam/releases/latest/download/config.schema.json", Root: []RootItem{ { Title: "Open Sunbeam Docs", Command: "sunbeam open https://pomdtr.github.io/sunbeam/book/introduction.html", }, { Title: "Edit Config", Command: "sunbeam edit --config", }, }, }
Functions ¶
func CommandParam ¶
func ExtractParams ¶
Types ¶
type Config ¶
type Config struct { Schema string `json:"$schema,omitempty"` Root []RootItem `json:"root,omitempty"` EnvFile string `json:"envFile,omitempty"` Env map[string]string `json:"-"` }
func (Config) RootItem ¶
func (c Config) RootItem(item RootItem, extensions extensions.ExtensionMap) (types.ListItem, error)
Click to show internal directories.
Click to hide internal directories.