This package is the command line tool for ../.
Install
Current version: 0.0.8
go get -u github.com/kataras/iris/iris
Usage
$ iris [command] [-flags]
Note that you must have $GOPATH/bin to your $PATH system/environment variable.
create
The create command creates for you a start project in a directory
iris create -t basic -d myprojects/iris1
Will create the basic sample package to the $GOPATH/src/myprojects/iris1
directory and run the app.
iris create -t static -d myprojects/iris1
Will create the static sample package to the $GOPATH/src/myprojects/iris1
directory and run the app.
The default
iris create
Will create the basic sample package to $GOPATH/src/myiris
directory and run the app.
iris create -d myproject
Will create the basic sample package to the $GOPATH/src/myproject
folder and run the app.
run
The run command runs & reload on file changes your Iris station
It's like go run
but with directory watcher and re-run on .go file changes.
iris run main.go
version
iris version
Will print the current Iris' installed version to your machine