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
|
||||
}
|
||||
|
||||
// TODO:
|
||||
// ensure ABRA_DIR exists
|
||||
// get the apps_json
|
||||
// get the servers list
|
||||
config.EnsureAbraDirExists()
|
||||
|
||||
appFiles, err := config.LoadAppFiles()
|
||||
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
|
||||
// prompt to choose server if not provided
|
||||
// prompt to choose domain name if not provided
|
||||
|
Loading…
Reference in New Issue
Block a user