cli

package
v0.0.0-...-106ffc1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2016 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PathEnvKey ...
	PathEnvKey = "ENVMAN_ENVSTORE_PATH"
	// PathKey ...
	PathKey = "path"

	// LogLevelEnvKey ...
	LogLevelEnvKey = "LOGLEVEL"
	// LogLevelKey ...
	LogLevelKey = "loglevel"

	// KeyKey ...
	KeyKey = "key"

	// ValueKey ...
	ValueKey = "value"

	// ValueFileKey ...
	ValueFileKey = "valuefile"

	// NoExpandKey ...
	NoExpandKey = "no-expand"

	// AppendKey ...
	AppendKey = "append"

	// SkipIfEmptyKey ...
	SkipIfEmptyKey = "skip-if-empty"

	// ToolEnvKey ...
	ToolEnvKey = "ENVMAN_TOOLMODE"
	// ToolKey ...
	ToolKey = "tool"

	// ClearKey ....
	ClearKey = "clear"

	// HelpKey ...
	HelpKey = "help"

	// VersionKey ...
	VersionKey = "version"

	// ExpandKey ...
	ExpandKey = "expand"
	// FormatKey ...
	FormatKey = "format"
	// OutputFormatRaw ...
	OutputFormatRaw = "raw"
	// OutputFormatJSON ...
	OutputFormatJSON = "json"
)

Variables

This section is empty.

Functions

func Run

func Run()

Run the Envman CLI.

Types

type CommandModel

type CommandModel struct {
	Command      string
	Argumentums  []string
	Environments []models.EnvironmentItemModel
}

CommandModel ...

type VersionOutputModel

type VersionOutputModel struct {
	Version     string `json:"version"`
	BuildNumber string `json:"build_number"`
	Commit      string `json:"commit"`
}

VersionOutputModel ...

Jump to

Keyboard shortcuts

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