This package is the command line tool for ../.
Install
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.
get
The get command downloads, installs and runs a project based on a prototype
, such as basic
, static
and mongo
.
These projects are located online
iris get mongo
Downloads the mongo sample protoype project to the $GOPATH/src/github.com/iris-contrib/examples
directory(the iris cmd will open this folder to you, automatically) builds, runs and watch for source code changes (hot-reload)
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