Versions in this module Expand all Collapse all v0 v0.0.4 Nov 20, 2024 v0.0.3 Nov 21, 2024 Changes in this version + func GithubMalPackageParser(repoURL string, pkgName string, version string, clientConfig MalHTTPConfig) error + func ListMalManifest(con *repl.Console) + func MalCmd(cmd *cobra.Command, con *repl.Console) error + func RefreshMalCmd(cmd *cobra.Command, con *repl.Console) error + type GithubAsset struct + BrowserDownloadURL string + ID int + Name string + Size int + URL string + type GithubRelease struct + Assets []GithubAsset + Body string + CreatedAt string + HTMLURL string + ID int + Name string + Prerelease bool + PublishedAt string + TagName string + TarballURL string + URL string + ZipballURL string type LoadedMal + func LoadMalWithManifest(con *repl.Console, rootCmd *cobra.Command, manifest *plugin.MalManiFest) (*LoadedMal, error) + type MalHTTPConfig struct + DisableTLSValidation bool + IgnoreCache bool + MalConfig *assets.MalConfig + ProxyURL *url.URL + Timeout time.Duration + type MalsJson struct + Mals []assets.MalConfig v0.0.2 Sep 17, 2024 Changes in this version + var ManifestFileName = "mal.yaml" + func Commands(con *repl.Console) []*cobra.Command + func InstallFromDir(extLocalPath string, promptToOverwrite bool, con *repl.Console) + func ListMalManiFest(con *repl.Console) + func LoadMalManiFest(con *repl.Console, filename string) (*plugin.MalManiFest, error) + func MalInstallCmd(cmd *cobra.Command, con *repl.Console) + func MalLoadCmd(ctx *cobra.Command, con *repl.Console) + func ParseMalManifest(data []byte) (*plugin.MalManiFest, error) + func RemoveMal(name string, con *repl.Console) error + func RemoveMalCmd(cmd *cobra.Command, con *repl.Console) + type LoadedMal struct + CMDs []*cobra.Command + Manifest *plugin.MalManiFest + Plugin *plugin.Plugin + func LoadMal(con *repl.Console, filename string) (*LoadedMal, error)