Documentation
¶
Index ¶
- Variables
- func BearerMiddleware(token string) func(next http.Handler) http.Handler
- func ExtractCommand(shellCommand string) (tui.CommandRef, error)
- func FindExtensions() (map[string]string, error)
- func LookupBoolEnv(key string, fallback bool) bool
- func LookupIntEnv(key string, fallback int) int
- func NewCmdEdit(configPath string) *cobra.Command
- func NewCmdFetch() *cobra.Command
- func NewCmdList() *cobra.Command
- func NewCmdQuery() *cobra.Command
- func NewCmdRun() *cobra.Command
- func NewCmdServe() *cobra.Command
- func NewExtensionCommand(extensionpath string) (*cobra.Command, error)
- func NewRootCmd() (*cobra.Command, error)
- func NewValidateCmd() *cobra.Command
- func NewValidateManifestCmd() *cobra.Command
- func NewValidatePageCmd() *cobra.Command
- type Config
- type ExtensionCache
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Date = "unknown" )
View Source
var (
MaxHeigth = LookupIntEnv("SUNBEAM_HEIGHT", 0)
)
Functions ¶
func ExtractCommand ¶
func ExtractCommand(shellCommand string) (tui.CommandRef, error)
func FindExtensions ¶
func LookupBoolEnv ¶
func LookupIntEnv ¶
func NewCmdEdit ¶
func NewCmdFetch ¶
func NewCmdList ¶
func NewCmdQuery ¶
func NewCmdServe ¶
func NewRootCmd ¶ added in v0.9.0
func NewValidateCmd ¶ added in v0.4.1
func NewValidateManifestCmd ¶
func NewValidatePageCmd ¶
Types ¶
type ExtensionCache ¶
Click to show internal directories.
Click to hide internal directories.