cmd

package
v1.0.0-rc.63 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 28 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 FindExtensions

func FindExtensions() (extensions.ExtensionMap, error)

func IsNewer

func IsNewer(pathA, pathB string) (bool, 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 NewCmdConfig

func NewCmdConfig() *cobra.Command

func NewCmdCopy

func NewCmdCopy() *cobra.Command

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 NewCmdExtensionEdit

func NewCmdExtensionEdit() *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 NewCmdOpen

func NewCmdOpen() *cobra.Command

func NewCmdPaste

func NewCmdPaste() *cobra.Command

func NewCmdQuery

func NewCmdQuery() *cobra.Command

func NewCmdRun

func NewCmdRun() *cobra.Command

func NewCmdValidateManifest

func NewCmdValidateManifest() *cobra.Command

func NewCmdValidateView

func NewCmdValidateView() *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