Documentation
¶
Index ¶
- Constants
- Variables
- func AuthMiddleware(token string) func(next http.Handler) http.Handler
- func FindExtensions() (map[string]extensions.Extension, error)
- func IsRootCommand(command types.CommandSpec) bool
- func LookupBoolEnv(key string, fallback bool) bool
- func LookupIntEnv(key string, fallback int) int
- func NewCmdCustom(extensionMap map[string]extensions.Extension, alias string) (*cobra.Command, error)
- func NewCmdExtension() *cobra.Command
- func NewCmdExtensionBrowse() *cobra.Command
- func NewCmdExtensionInstall() *cobra.Command
- func NewCmdExtensionList() *cobra.Command
- func NewCmdExtensionReload() *cobra.Command
- func NewCmdExtensionRemove() *cobra.Command
- func NewCmdExtensionRename() *cobra.Command
- func NewCmdExtensionUpgrade() *cobra.Command
- func NewCmdFetch() *cobra.Command
- func NewCmdQuery() *cobra.Command
- func NewCmdRun() *cobra.Command
- func NewCmdServe() *cobra.Command
- func NewCmdValidateCommand() *cobra.Command
- func NewCmdValidateManifest() *cobra.Command
- func NewCmdValidatePage() *cobra.Command
- func NewCmdWrap() *cobra.Command
- func NewRootCmd() (*cobra.Command, error)
- func NewValidateCmd() *cobra.Command
- type Config
- type ExtensionCache
- type History
Constants ¶
View Source
const ( CommandGroupCore = "core" CommandGroupDev = "dev" CommandGroupExtension = "extension" )
Variables ¶
View Source
var ( Version = "dev" Date = "unknown" )
Functions ¶
func FindExtensions ¶
func FindExtensions() (map[string]extensions.Extension, error)
func IsRootCommand ¶
func IsRootCommand(command types.CommandSpec) bool
func LookupBoolEnv ¶
func LookupIntEnv ¶
func NewCmdCustom ¶
func NewCmdExtension ¶
func NewCmdExtensionBrowse ¶
func NewCmdExtensionInstall ¶
func NewCmdExtensionList ¶
func NewCmdExtensionReload ¶
func NewCmdExtensionRemove ¶
func NewCmdExtensionRename ¶
func NewCmdExtensionUpgrade ¶
func NewCmdFetch ¶
func NewCmdQuery ¶
func NewCmdServe ¶
func NewCmdValidateCommand ¶
func NewCmdValidateManifest ¶
func NewCmdValidatePage ¶
func NewCmdWrap ¶
func NewRootCmd ¶ added in v0.9.0
func NewValidateCmd ¶ added in v0.4.1
Types ¶
type ExtensionCache ¶
Click to show internal directories.
Click to hide internal directories.