This commit is contained in:
parent
e00920643e
commit
fdd46a4d98
@ -86,7 +86,7 @@ var appNewCommand = &cli.Command{
|
|||||||
if c.NArg() > 0 {
|
if c.NArg() > 0 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
for name, _ := range catl {
|
for name := range catl {
|
||||||
fmt.Println(name)
|
fmt.Println(name)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -64,7 +64,7 @@ func RunApp(version, commit string) {
|
|||||||
DebugFlag,
|
DebugFlag,
|
||||||
},
|
},
|
||||||
Authors: []*cli.Author{
|
Authors: []*cli.Author{
|
||||||
&cli.Author{
|
{
|
||||||
Name: "Autonomic Co-op",
|
Name: "Autonomic Co-op",
|
||||||
Email: "helo@autonomic.zone",
|
Email: "helo@autonomic.zone",
|
||||||
},
|
},
|
||||||
|
@ -256,8 +256,8 @@ func TemplateAppEnvSample(appType, appName, server, domain, recipe string) error
|
|||||||
return fmt.Errorf("%s already exists?", appEnvPath)
|
return fmt.Errorf("%s already exists?", appEnvPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
envSample = []byte(strings.Replace(string(envSample), fmt.Sprintf("%s.example.com", recipe), domain, -1));
|
envSample = []byte(strings.Replace(string(envSample), fmt.Sprintf("%s.example.com", recipe), domain, -1))
|
||||||
envSample = []byte(strings.Replace(string(envSample), "example.com", domain, -1));
|
envSample = []byte(strings.Replace(string(envSample), "example.com", domain, -1))
|
||||||
|
|
||||||
err = ioutil.WriteFile(appEnvPath, envSample, 0755)
|
err = ioutil.WriteFile(appEnvPath, envSample, 0755)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user