summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/main.go b/main.go
index 366687e..0ae2a4d 100644
--- a/main.go
+++ b/main.go
@@ -48,6 +48,7 @@ func main() {
log.Info("dump something here")
os.Exit(0)
}
+
if argv.Create != nil {
dir := filepath.Dir(argv.Create.Filename)
filename := filepath.Base(argv.Create.Filename)
@@ -58,10 +59,18 @@ func main() {
log.Info("virtigoctl create end")
os.Exit(0)
}
+
if argv.Start != nil {
log.Info("start the vm's here:", argv.Start)
os.Exit(0)
}
+
+ if argv.Import != nil {
+ log.Info("should import here", argv.Start)
+ log.Info("virtigoctl import --host farm04 --name grafana")
+ log.Info("import", argv.Import.Host, argv.Import.DomainName)
+ os.Exit(0)
+ }
}
func dumpDroplets(full bool) error {