1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-22 12:27:02 +00:00

Update iris tool ' iris run main.go`

This commit is contained in:
Makis Maropoulos
2016-06-21 04:19:39 +03:00
parent e9a4746000
commit 16e32fb25a
3 changed files with 73 additions and 25 deletions

View File

@@ -33,7 +33,7 @@ func init() {
defaultInstallDir := workingDir[strings.LastIndexByte(workingDir, os.PathSeparator)+1:]
// init the cli app
app = cli.NewApp("iris", "Command line tool for Iris web framework", "0.0.5")
app = cli.NewApp("iris", "Command line tool for Iris web framework", "0.0.6")
// version command
app.Command(cli.Command("version", "\t prints your iris version").Action(func(cli.Flags) error { app.Printf("%s", iris.Version); return nil }))