add stub for deploy cmd
This commit is contained in:
parent
e36d6c4083
commit
22952bd21f
|
@ -0,0 +1,24 @@
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue