moduleManagement

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GetModulesFlags = &cli.BoolFlag{
		Name:               "list",
		Aliases:            []string{"l"},
		Usage:              "List all available modules",
		Category:           utils.CoreCategory,
		DisableDefaultText: true,
	}

	InstallModuleFlags = &cli.StringFlag{
		Name:     "install",
		Aliases:  []string{"i"},
		Usage:    "Install a module by passing its package url",
		Category: utils.CoreCategory,
	}

	RemoveModuleFlags = &cli.StringFlag{
		Name:     "remove",
		Aliases:  []string{"r"},
		Usage:    "Remove a module by passing its installed package name or package url",
		Category: utils.CoreCategory,
	}

	UpdateModuleFlags = &cli.StringFlag{
		Name:     "update",
		Aliases:  []string{"u"},
		Usage:    "Update a module to its latest version by passing its installed package name or package url, you can also update to a specific version by passing the package url with the version",
		Category: utils.CoreCategory,
	}
)

Functions

func NewCommand

func NewCommand() *cli.Command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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