mirror of
https://github.com/kataras/iris.git
synced 2025-03-15 09:16:25 +01:00
full commit from development branch. Examples, book, middleware, plugins are updated to the latest iris version. Read HISTORY.md for more. The 'old' v5 branch which relied on fasthttp exists for those who want to use it navigate there: https://github.com/kataras/iris/tree/5.0.0 |
||
---|---|---|
.. | ||
doc.go | ||
fs.go | ||
get.go | ||
main.go | ||
README.md | ||
run.go |
Package information
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