25 lines
395 B
Go
25 lines
395 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
var deployUsage = `
|
|
warren deploy - Deploys the go server and support files
|
|
`
|
|
|
|
var deployCmd = &Command{
|
|
Name: "deploy",
|
|
Usage: "",
|
|
Summary: "deploy the go server and support files",
|
|
Help: deployUsage,
|
|
Run: deployRun,
|
|
}
|
|
|
|
func deployRun(cmd *Command, args ...string) {
|
|
if len(args) > 0 && args[0] == "help" {
|
|
fmt.Print(cmd.Help)
|
|
return
|
|
}
|
|
}
|