commands

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2019 License: Apache-2.0 Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildCommand = cli.Command{
	Name:   "build",
	Usage:  "Builds the current project",
	Action: build,
}
View Source
var BumpCommand = cli.Command{
	Name:  "bump",
	Usage: "Manage the version (major, minor, patch) and clear or set qualifier (e.g. DEV)",
	Description: `
	Bump manages incremental version updates using simple semantic versioning practices.

	The valid arguments are:

	major - bumps the major version X._._
	minor - bumps the minor version _.X._
	patch - bumps the patch version _._.X
	clear - clears the qualifier if any
	_____ - Anything else, sets the qualifier (e.g. SNAPSHOT, DEV, ALPHA)`,
	Action: bump,
}
View Source
var CleanCommand = cli.Command{
	Name:   "clean",
	Usage:  "Cleans the target directory and its contents",
	Action: clean,
}
View Source
var FreezeCommand = cli.Command{
	Name:   "freeze",
	Usage:  "Freezes vendor dependencies to avoid having to check in source",
	Action: freeze,
}
View Source
var InfoCommand = cli.Command{
	Name:   "info",
	Usage:  "Prints the known information about a project",
	Action: info,
}
View Source
var InitCommand = cli.Command{
	Name:   "init",
	Usage:  "Initializes a project directory",
	Action: initialize,
}
View Source
var PackageCommand = cli.Command{
	Name:   "package",
	Usage:  "Produces packaged archive for deployment",
	Action: pkg,
}
View Source
var ReleaseCommand = cli.Command{
	Name:   "release",
	Usage:  "Releases artifacts to repositories",
	Action: release,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "branch,b",
			Usage: "Branch name to release. Default 'master'.",
		},
		cli.StringFlag{
			Name:  "remote,r",
			Usage: "Remote name to verify repository state against. Default 'origin'.",
		},
	},
}
View Source
var RepoCommand = cli.Command{
	Name:   "repo",
	Usage:  "Manages repository connections",
	Action: repo,
	Flags: []cli.Flag{
		cli.BoolFlag{
			Name:  "login",
			Usage: "Prompts for repo login credentials.",
		},
		cli.StringFlag{
			Name:  "name",
			Usage: "Name of the repo to manage.",
		},
	},
}
View Source
var TestCommand = cli.Command{
	Name:   "test",
	Usage:  "Finds and runs tests in this project",
	Action: tester,
}
View Source
var UnfreezeCommand = cli.Command{
	Name:   "unfreeze",
	Usage:  "Unfreezes vendor dependencies",
	Action: unfreeze,
}

Functions

This section is empty.

Types

type ClassifierTemplate

type ClassifierTemplate struct {
	Classifier   string
	Archive      string
	Extension    string
	OS           string
	Architecture string
}

type PackagePath

type PackagePath struct {
	Package string
	Path    string
}

Jump to

Keyboard shortcuts

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