WIP: spec out first steps for app new command
This commit is contained in:
parent
e4ed2aeebf
commit
d422902e09
18
cli/app.go
18
cli/app.go
@ -52,10 +52,20 @@ locally in a pass store (see passwordstore.org for more).
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO:
|
config.EnsureAbraDirExists()
|
||||||
// ensure ABRA_DIR exists
|
|
||||||
// get the apps_json
|
appFiles, err := config.LoadAppFiles()
|
||||||
// get the servers list
|
if err != nil {
|
||||||
|
logrus.Fatal(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
servers := appFiles.GetServers()
|
||||||
|
|
||||||
|
catl, err := catalogue.ReadAppsCatalogue()
|
||||||
|
if err != nil {
|
||||||
|
logrus.Fatal(err)
|
||||||
|
}
|
||||||
|
|
||||||
// select latest version of recipe from apps_json
|
// select latest version of recipe from apps_json
|
||||||
// prompt to choose server if not provided
|
// prompt to choose server if not provided
|
||||||
// prompt to choose domain name if not provided
|
// prompt to choose domain name if not provided
|
||||||
|
Loading…
Reference in New Issue
Block a user