cmd

package
v0.1.4-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// BuildSha is used by the build to include the git sha in the --version output
	BuildSha = "BuildSha not set (use Makefile to set)"
	// BuildVersion is set by the Makefile with link flags for ouput in --version
	BuildVersion = "Build not set (use Makefile to set)"
	// BuildDate is used by the build to include the build date in the --version output
	BuildDate = "BuildDate not set (use Makefile to set)"
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func ProjectCmdShCreate

func ProjectCmdShCreate(config *dev.Config, project *dev.Project) *cobra.Command

ProjectCmdShCreate constructs the 'sh' command line option available for each project.

func ProjectCmdUpCreate

func ProjectCmdUpCreate(config *dev.Config, project *dev.Project) *cobra.Command

ProjectCmdUpCreate constructs the 'up' command line option available for each project.

func Up

func Up(config *dev.Config, project *dev.Project, tailLogs bool)

Up brings up the specified project with its dependencies and optionally tails the logs of the project container.

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