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 checkDeployDir() { // does ./deploy exist? // if not make // does ./deploy/DST exist? // if not make } func getDeployFilesList() []string { return []string{""} } func deployRun(cmd *Command, args ...string) { if len(args) > 0 && args[0] == "help" { fmt.Print(cmd.Help) return } checkDeployDir() //files := getDeployFilesList() }