commands

package
v0.0.0-...-bcacd0f Latest Latest
Warning

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

Go to latest
Published: May 31, 2016 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Install = func(args ...string) error {
	i := &tpInstall{
		Name:      "install",
		JSONExist: true,
	}
	return i.Execute(args...)
}

Install used for install packages.

View Source
var Usage = map[string]string{
	"install": "install packages from configuration file or by name that behind command",
	"info":    "info get pakcage infomation by name behind command",
}

Functions

func GetHelpInfo

func GetHelpInfo() string

func Info

func Info(args ...string) error

func InstallByVersion

func InstallByVersion(name, version string) error

func InstallLatestVersion

func InstallLatestVersion(name string) error

func IsDomainName

func IsDomainName(args string) (bool, error)

IsDomainName inspect url is a domain name or a name of package.

func StaringInstallAuto

func StaringInstallAuto(name, tarBall string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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