about summary refs log tree commit diff
path: root/context
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-02-08T11·58+0100
committerVincent Ambo <tazjin@gmail.com>2017-02-08T11·58+0100
commit7ac63613fb64c6cec3119afc51ba4bac91b81a94 (patch)
tree58927d534621fe94ea882628df372de7901007a5 /context
parent8fac7c1a415d6ea5e41c28f4e7ab5c1ef0883997 (diff)
feat main: Add proper CLI support
Adds a basic CLI structure with a single "run" command that takes a --file (-f)
and --limit (-l) flag.

--limit can be used to only output certain resource sets.

Closes #4
Diffstat (limited to 'context')
-rw-r--r--context/context.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/context/context.go b/context/context.go
index e842feae1dc5..612faa39acab 100644
--- a/context/context.go
+++ b/context/context.go
@@ -2,9 +2,10 @@ package context
 
 import (
 	"encoding/json"
-	"github.com/polydawn/meep"
 	"io/ioutil"
 	"path"
+
+	"github.com/polydawn/meep"
 )
 
 type ResourceSet struct {