mal

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MalLatest = "latest"
View Source
var RepoUrl = "https://github.com/chainreactors/mal-community"

Functions

func Commands

func Commands(con *core.Console) []*cobra.Command

func InstallFromDir

func InstallFromDir(extLocalPath string, promptToOverwrite bool, con *core.Console, cmd *cobra.Command) (bool, error)

func InstallMal added in v0.1.0

func InstallMal(repoUrl, name, version string, writer io.Writer, malHttpConfig m.MalHTTPConfig, con *core.Console) (bool, error)

func ListMalManifest added in v0.0.3

func ListMalManifest(_ *cobra.Command, con *core.Console)

func LoadMal

func LoadMal(con *core.Console, rootCmd *cobra.Command, filename string) error

func LoadMalWithManifest added in v0.0.3

func LoadMalWithManifest(con *core.Console, rootCmd *cobra.Command, manifest *plugin.MalManiFest) error

func MalCmd added in v0.0.3

func MalCmd(cmd *cobra.Command, con *core.Console) error

func MalInstallCmd

func MalInstallCmd(cmd *cobra.Command, con *core.Console) error

ExtensionsInstallCmd - Install an extension

func MalLoadCmd

func MalLoadCmd(ctx *cobra.Command, con *core.Console) error

func RefreshMalCmd added in v0.0.3

func RefreshMalCmd(cmd *cobra.Command, con *core.Console) error

func RemoveMal

func RemoveMal(name string, con *core.Console) error

func RemoveMalCmd

func RemoveMalCmd(cmd *cobra.Command, con *core.Console) error

func UpdateMalCmd added in v0.1.2

func UpdateMalCmd(cmd *cobra.Command, con *core.Console) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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