Added ability to store multiple servers and switch between them (#275)

Added ability to store multiple servers, switch between them and migrate old config format to new config format.

Closes #189
This commit is contained in:
Nate Walck
2017-10-30 23:37:12 -04:00
committed by Victor Vrantchan
parent 777f9af8f0
commit a3e228fbbe
6 changed files with 147 additions and 25 deletions

View File

@@ -12,12 +12,12 @@ import (
)
type removeCommand struct {
config *ClientConfig
config *ServerConfig
remove remove.Service
}
func (cmd *removeCommand) setup() error {
cfg, err := LoadClientConfig()
cfg, err := LoadServerConfig()
if err != nil {
return err
}