Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractExtensionCommand ¶
ExtractExtensionCommand identifies the extension command from CLI args.
Types ¶
type InstalledExtension ¶
type InstalledExtension struct {
Name string `json:"name"`
Binary string `json:"binary"`
Source string `json:"source"`
Kind string `json:"kind"`
InstallDir string `json:"install_dir,omitempty"`
}
func Install ¶
func Install(source string, overwrite bool) (InstalledExtension, error)
Install clones or links an extension into the sabx extension dir.
func List ¶
func List() ([]InstalledExtension, error)
List returns installed extensions (metadata + PATH discovery).
func Resolve ¶
func Resolve(name string) (InstalledExtension, error)
Resolve locates an extension by name (installed metadata or PATH).
Click to show internal directories.
Click to hide internal directories.