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
This commit is contained in:
Vincent Ambo 2017-02-08 12:58:53 +01:00
parent 8fac7c1a41
commit 7ac63613fb
3 changed files with 110 additions and 45 deletions

View file

@ -2,9 +2,10 @@ package context
import (
"encoding/json"
"github.com/polydawn/meep"
"io/ioutil"
"path"
"github.com/polydawn/meep"
)
type ResourceSet struct {