internal

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchRepo

func FetchRepo(args *AppArgs) error

func GetCurrentDirectory

func GetCurrentDirectory() string

func ParseRepo

func ParseRepo(repo string) (string, string)

split the repo to two parts by "#" the first part is repo name the second part is branch name or tag name

func Upgrade added in v1.2.4

func Upgrade()

Types

type AppArgs

type AppArgs struct {
	// contains filtered or unexported fields
}

func ParseArgs

func ParseArgs(args []string, help string, version string) (*AppArgs, error)

Jump to

Keyboard shortcuts

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