diff --git a/cmd/pkger/cmds/pack.go b/cmd/pkger/cmds/pack.go index d99617f..04a845b 100644 --- a/cmd/pkger/cmds/pack.go +++ b/cmd/pkger/cmds/pack.go @@ -5,6 +5,7 @@ import ( "fmt" "os" "sort" + "strings" "github.com/markbates/pkger" "github.com/markbates/pkger/parser" @@ -82,7 +83,7 @@ func (e *packCmd) Route(args []string) error { } } - return e.Exec(args) + return fmt.Errorf("unknown arguments: %s", strings.Join(args, " ")) } func New() (*packCmd, error) { diff --git a/cmd/pkger/cmds/walk.go b/cmd/pkger/cmds/walk.go deleted file mode 100644 index a1cc149..0000000 --- a/cmd/pkger/cmds/walk.go +++ /dev/null @@ -1,19 +0,0 @@ -package cmds - -import ( - "fmt" - "os" - - "github.com/markbates/pkger" -) - -func walk(args []string) error { - err := pkger.Walk("/", func(path string, info os.FileInfo, err error) error { - if err != nil { - return err - } - fmt.Println(path) - return nil - }) - return err -} diff --git a/version.go b/version.go index a603ff5..eec2dbf 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package pkger // Version of pkger -const Version = "v0.3.0" +const Version = "v0.3.1"