operators

package
v0.0.0-...-d710717 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GlobalPath string = "/usr/local/lib/slope/modules/"
)

Variables

This section is empty.

Functions

func BuildDepTree

func BuildDepTree(pkg string, packages map[string]genOpts, output map[string]bool) error

func Deps

func Deps(file string) ([]string, error)

func ExpandedAbsFilepath

func ExpandedAbsFilepath(p string) string

func Fetch

func Fetch() error

func Generate

func Generate(solo bool) error

Generate generates a package by cloning the package template repo

func GetModBaseDir

func GetModBaseDir() string

func Install

func Install(pkg string, global bool) error

func InstallFromSolo

func InstallFromSolo(repoName, repo, tag, targetDir string) error

func List

func List() error

List lists all available packages from packages.json

func LocalInstall

func LocalInstall(path string, global bool) error

func ReadDocs

func ReadDocs(pkg string, global bool) error

func Remove

func Remove(pkg string, global bool) error

Remove removes an installed package

func Search(val string) error

func Show

func Show(pkg string) error

func ShowInstalled

func ShowInstalled(global bool, globalText string) error

func Update

func Update(pkg string, global bool) error

Update removes then installs a package, to ensure it is up to date

Types

This section is empty.

Jump to

Keyboard shortcuts

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