mal

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 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 *repl.Console) []*cobra.Command

func InstallFromDir

func InstallFromDir(extLocalPath string, promptToOverwrite bool, con *repl.Console) bool

func InstallMal added in v0.1.0

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

func ListMalManifest added in v0.0.3

func ListMalManifest(con *repl.Console)

func LoadMal

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

func LoadMalWithManifest added in v0.0.3

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

func MalCmd added in v0.0.3

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

func MalInstallCmd

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

ExtensionsInstallCmd - Install an extension

func MalLoadCmd

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

func RefreshMalCmd added in v0.0.3

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

func RemoveMal

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

func RemoveMalCmd

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

func UpdateMalCmd added in v0.1.2

func UpdateMalCmd(cmd *cobra.Command, con *repl.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