We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37b4195 commit f453751Copy full SHA for f453751
main.go
@@ -13,7 +13,8 @@ import (
13
const ProjectCfgFile = "project"
14
const DOConfigDir = ".do"
15
const DeployTemplateCfgFile = "deploy.template"
16
-const PrivateRepoDir = "private"
+
17
+var PrivateRepoDir string
18
19
var CfgExt = []string{".yaml", ".yml"}
20
@@ -32,6 +33,7 @@ var ErrInvalidUsage = errors.New("invalid usage")
32
33
func main() {
34
var err error
35
36
+ flag.StringVar(&PrivateRepoDir, "private", PrivateRepoDir, "private repo directory")
37
flag.Parse()
38
39
subcommand := flag.Arg(0)
0 commit comments