cmd

package
v1.0.0-rc.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandGroupCore      = "core"
	CommandGroupDev       = "dev"
	CommandGroupExtension = "extension"
)

Variables

View Source
var (
	Version = "dev"
	Date    = "unknown"
)

Functions

func AuthMiddleware

func AuthMiddleware(token string) func(next http.Handler) http.Handler

func FindExtensions

func FindExtensions() (extensions.ExtensionMap, error)

func IsSunbeamRunning

func IsSunbeamRunning() bool

func LoadExtension

func LoadExtension(entrypoint string) (extensions.Extension, error)

func LookupBoolEnv

func LookupBoolEnv(key string, fallback bool) bool

func LookupIntEnv

func LookupIntEnv(key string, fallback int) int

func NewCmdCustom

func NewCmdCustom(alias string, extension extensions.Extension) (*cobra.Command, error)

func NewCmdEdit

func NewCmdEdit() *cobra.Command

func NewCmdExtension

func NewCmdExtension() *cobra.Command

func NewCmdExtensionBrowse

func NewCmdExtensionBrowse() *cobra.Command

func NewCmdExtensionInstall

func NewCmdExtensionInstall() *cobra.Command

func NewCmdExtensionList

func NewCmdExtensionList() *cobra.Command

func NewCmdExtensionRemove

func NewCmdExtensionRemove() *cobra.Command

func NewCmdExtensionRename

func NewCmdExtensionRename() *cobra.Command

func NewCmdExtensionUpgrade

func NewCmdExtensionUpgrade() *cobra.Command

func NewCmdFetch

func NewCmdFetch() *cobra.Command

func NewCmdQuery

func NewCmdQuery() *cobra.Command

func NewCmdRun

func NewCmdRun() *cobra.Command

func NewCmdServe

func NewCmdServe() *cobra.Command

func NewCmdValidateCommand

func NewCmdValidateCommand() *cobra.Command

func NewCmdValidateManifest

func NewCmdValidateManifest() *cobra.Command

func NewCmdValidateView

func NewCmdValidateView() *cobra.Command

func NewCmdWrap

func NewCmdWrap() *cobra.Command

func NewRootCmd added in v0.9.0

func NewRootCmd() (*cobra.Command, error)

func NewValidateCmd added in v0.4.1

func NewValidateCmd() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL