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

Update version of the iris command line tool and readme explanations

This commit is contained in:
Makis Maropoulos
2016-06-03 15:08:11 +03:00
parent dc2b40283e
commit 04159fbb43
2 changed files with 22 additions and 6 deletions

View File

@@ -31,12 +31,12 @@ var (
)
func init() {
app = cli.NewApp("iris", "Command line tool for Iris web framework", "0.0.1")
app = cli.NewApp("iris", "Command line tool for Iris web framework", "0.0.2")
app.Command(cli.Command("version", "\t prints your iris version").Action(func(cli.Flags) error { app.Printf("%s", iris.Version); return nil }))
createCmd := cli.Command("create", "create a project to a given directory").
Flag("dir", "./", "-d ./ creates an iris starter kit to the current directory").
Flag("type", "basic", "creates the project based on the -t package. Available type is only 'basic', currently").
Flag("type", "basic", "creates the project based on the -t package. Currently, available types are 'basic' & 'static'").
Action(create)
app.Command(createCmd)