Documentation
¶
Index ¶
- Variables
- func Commands(con *repl.Console) []*cobra.Command
- func GithubMalPackageParser(repoURL string, pkgName string, version string, clientConfig MalHTTPConfig) error
- func InstallFromDir(extLocalPath string, promptToOverwrite bool, con *repl.Console)
- func ListMalManifest(con *repl.Console)
- func MalCmd(cmd *cobra.Command, con *repl.Console) error
- func MalInstallCmd(cmd *cobra.Command, con *repl.Console) error
- func MalLoadCmd(ctx *cobra.Command, con *repl.Console) error
- func RefreshMalCmd(cmd *cobra.Command, con *repl.Console) error
- func RemoveMal(name string, con *repl.Console) error
- func RemoveMalCmd(cmd *cobra.Command, con *repl.Console) error
- type GithubAsset
- type GithubRelease
- type LoadedMal
- type MalHTTPConfig
- type MalsJson
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ManifestFileName = "mal.yaml"
)
Functions ¶
func GithubMalPackageParser ¶ added in v0.0.3
func GithubMalPackageParser(repoURL string, pkgName string, version string, clientConfig MalHTTPConfig) error
GithubMalPackageParser - Uses github.com instead of api.github.com to download packages
func InstallFromDir ¶
func ListMalManifest ¶ added in v0.0.3
func MalInstallCmd ¶
ExtensionsInstallCmd - Install an extension
func RefreshMalCmd ¶ added in v0.0.3
Types ¶
type GithubAsset ¶ added in v0.0.3
type GithubRelease ¶ added in v0.0.3
type GithubRelease struct {
ID int `json:"id"`
Name string `json:"name"`
URL string `json:"url"`
HTMLURL string `json:"html_url"`
TagName string `json:"tag_name"`
Body string `json:"body"`
Prerelease bool `json:"prerelease"`
TarballURL string `json:"tarball_url"`
ZipballURL string `json:"zipball_url"`
CreatedAt string `json:"created_at"`
PublishedAt string `json:"published_at"`
Assets []GithubAsset `json:"assets"`
}
Click to show internal directories.
Click to hide internal directories.