version bump: v0.3.1

This commit is contained in:
Mark Bates 2019-10-22 13:26:08 -04:00
parent a09d2070cd
commit 3c88088905
3 changed files with 3 additions and 21 deletions

View File

@ -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) {

View File

@ -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
}

View File

@ -1,4 +1,4 @@
package pkger
// Version of pkger
const Version = "v0.3.0"
const Version = "v0.3.1"