iris/iris/README.md

2.0 KiB

Package information

This package is the command line tool for ../.

Iris get command preview

Iris help screen

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

Iris CLI run showcase

Iris CLI run showcase linux

version

iris version

Will print the current Iris' installed version to your machine