iris/iris
2016-06-25 16:13:59 +03:00
..
create.go Update to rc.2 | NEW: iris run main.go https://github.com/kataras/iris/issues/192 2016-06-20 11:59:36 +03:00
doc.go Update to rc.2 | NEW: iris run main.go https://github.com/kataras/iris/issues/192 2016-06-20 11:59:36 +03:00
main.go iris run : Print the banner on every reload 2016-06-25 07:38:47 +03:00
README.md iris run main.go - prints the iris' logger but doesn't prints the banner everytime 2016-06-24 09:28:40 +03:00
run.go iris run: Remove duplicate code for os.Stderr 2016-06-25 16:13:59 +03:00

Package information

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

Iris help screen

Iris installed screen

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

Iris CLI run showcase

Iris CLI run showcase linux

version

iris version

Will print the current Iris' installed version to your machine