Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildCmd = &cobra.Command{ Use: "build ", Short: "Run a build and post it to hyphen", Long: ` The deploy command runs a deployment for a given deployment name. Usage: hyphen deploy <deployment> [flags] Examples: hyphen deploy deploy-dev Use 'hyphen link --help' for more information about available flags. `, Args: cobra.RangeArgs(0, 1), Run: func(cmd *cobra.Command, args []string) { printer = cprint.NewCPrinter(flags.VerboseFlag) service := build.NewService() build, err := service.RunBuild(printer, "", flags.VerboseFlag) if err != nil { printer.Error(cmd, err) return } url := hyphenapp.ApplicationLink(build.Organization.ID, build.Project.ID, build.App.ID) printer.Info("Build successful: " + url) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.