cmd

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Force            bool
	GitHubReleaseUrl = "https://api.github.com/repos/youcd/esDump/releases/latest"
)
View Source
var (
	PathErr = errors.New("please enter the correct path")
)
View Source
var (
	Version string
)

Functions

func DownloadFileProgress added in v0.1.5

func DownloadFileProgress(url, filename string)

func Execute

func Execute()

Types

type Reader added in v0.1.5

type Reader struct {
	io.Reader
	Total   int64
	Current int64
}

type ReleaseVersion added in v0.1.5

type ReleaseVersion struct {
	TagName     string `json:"tag_nmae"`
	SwName      string `json:"sw_name"`
	DownloadUrl string `json:"download_url"`
}

func GetRelease added in v0.1.5

func GetRelease(OS string) (v ReleaseVersion)

Jump to

Keyboard shortcuts

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