Documentation ¶
Index ¶
- func ListExtensions(extensionRoot string) (map[string]*ExtensionManifest, error)
- func NewCmdArgParse() *cobra.Command
- func NewCmdRoot(version string) (*cobra.Command, error)
- func NewCmdRun(extensionDir string) *cobra.Command
- func NewExtensionBrowseCmd(extensionRoot string) *cobra.Command
- func NewExtensionCmd(extensionRoot string, extensions map[string]*ExtensionManifest) *cobra.Command
- func NewExtensionCreateCmd() *cobra.Command
- func NewExtensionExecCmd(extensionRoot string, extensionName string, manifest *ExtensionManifest) *cobra.Command
- func NewExtensionInstallCmd(extensionRoot string) *cobra.Command
- func NewExtensionListCmd(extensionRoot string, extensions map[string]*ExtensionManifest) *cobra.Command
- func NewExtensionManageCmd(extensionRoot string) *cobra.Command
- func NewExtensionRemoveCmd(extensionRoot string, extensions map[string]*ExtensionManifest) *cobra.Command
- func NewExtensionRenameCmd(extensionRoot string, extensions map[string]*ExtensionManifest) *cobra.Command
- func NewExtensionUpgradeCmd(extensionRoot string, extensions map[string]*ExtensionManifest) *cobra.Command
- func NewFetchCmd() *cobra.Command
- func NewInfoCmd(extensionRoot string, version string) *cobra.Command
- func NewQueryCmd() *cobra.Command
- func NewReadCmd() *cobra.Command
- func NewRequireCmd() *cobra.Command
- func NewTriggerCmd() *cobra.Command
- func NewValidateCmd() *cobra.Command
- func Run(generator internal.PageGenerator) error
- type ExtensionManifest
- type ExtensionType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListExtensions ¶ added in v0.6.1
func ListExtensions(extensionRoot string) (map[string]*ExtensionManifest, error)
func NewCmdArgParse ¶ added in v0.9.26
func NewExtensionBrowseCmd ¶ added in v0.6.1
func NewExtensionCmd ¶ added in v0.6.1
func NewExtensionCmd(extensionRoot string, extensions map[string]*ExtensionManifest) *cobra.Command
func NewExtensionCreateCmd ¶ added in v0.6.1
func NewExtensionExecCmd ¶ added in v0.6.1
func NewExtensionExecCmd(extensionRoot string, extensionName string, manifest *ExtensionManifest) *cobra.Command
func NewExtensionInstallCmd ¶ added in v0.6.1
func NewExtensionListCmd ¶ added in v0.6.1
func NewExtensionListCmd(extensionRoot string, extensions map[string]*ExtensionManifest) *cobra.Command
func NewExtensionManageCmd ¶ added in v0.6.1
func NewExtensionRemoveCmd ¶ added in v0.6.1
func NewExtensionRemoveCmd(extensionRoot string, extensions map[string]*ExtensionManifest) *cobra.Command
func NewExtensionRenameCmd ¶ added in v0.7.0
func NewExtensionRenameCmd(extensionRoot string, extensions map[string]*ExtensionManifest) *cobra.Command
func NewExtensionUpgradeCmd ¶ added in v0.6.1
func NewExtensionUpgradeCmd(extensionRoot string, extensions map[string]*ExtensionManifest) *cobra.Command
func NewFetchCmd ¶ added in v0.9.23
func NewInfoCmd ¶ added in v0.9.19
func NewQueryCmd ¶ added in v0.3.0
func NewReadCmd ¶ added in v0.2.5
func NewRequireCmd ¶ added in v0.9.26
func NewTriggerCmd ¶ added in v0.9.0
func NewValidateCmd ¶ added in v0.4.1
func Run ¶ added in v0.9.23
func Run(generator internal.PageGenerator) error
Types ¶
type ExtensionManifest ¶ added in v0.9.0
type ExtensionManifest struct { Type ExtensionType `json:"type"` Entrypoint string `json:"entrypoint"` Description string `json:"description"` Remote string `json:"remote,omitempty"` Version string `json:"version,omitempty"` Pinned bool `json:"pinned,omitempty"` }
func ReadManifest ¶ added in v0.9.23
func ReadManifest(manifestPath string) (*ExtensionManifest, error)
func (*ExtensionManifest) PrettyVersion ¶ added in v0.9.25
func (m *ExtensionManifest) PrettyVersion() string
func (*ExtensionManifest) Write ¶ added in v0.9.23
func (m *ExtensionManifest) Write(manifestPath string) error
type ExtensionType ¶ added in v0.9.23
type ExtensionType string
const ( ExtensionTypeBinary ExtensionType = "binary" ExtensionTypeGit ExtensionType = "git" ExtensionTypeGist ExtensionType = "gist" ExtentionTypeLocal ExtensionType = "local" )
Click to show internal directories.
Click to hide internal directories.