cmd

package
v0.0.0-...-df8f33f Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Force bool
View Source
var ResourcesFile string

Global variables

View Source
var TemporalFolder string
View Source
var WorkingDirectory string

Functions

func CreateResourcesFile

func CreateResourcesFile()

func Execute

func Execute()

func LoadResourcesFile

func LoadResourcesFile()

func RemoveResource

func RemoveResource(name string)

func ResourceInstalled

func ResourceInstalled(name string) bool

func ResourcesFileExists

func ResourcesFileExists() bool

func ResourcesFolderExists

func ResourcesFolderExists() bool

func SaveResourcesFile

func SaveResourcesFile()

Types

type Resource

type Resource struct {
	Name       string `json:"name"`
	Version    string `json:"version"`
	Author     string `json:"author"`
	Repository string `json:"repository"`
	Url        string `json:"url"`
	Folder     string `json:"folder"`
	ZipballUrl string `json:"zipball_url"`
}

Structs

type Resources

type Resources struct {
	Name      string     `json:"name"`
	Author    string     `json:"author"`
	Website   string     `json:"website"`
	Resources []Resource `json:"resources"`
}
var Project Resources

type Response

type Response struct {
	Name       string
	User       string
	Version    string `json:"tag_name"`
	ZipballUrl string `json:"zipball_url"`
}

Jump to

Keyboard shortcuts

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