1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 12:31:58 +00:00
Files
kararas_iris/iris/README.md
Makis Maropoulos e9a4746000 Update to rc.2 | NEW: iris run main.go https://github.com/kataras/iris/issues/192
Not tested on linux yet,(I do not have a linux station now). Post an
issue if iris run main.go doesnt works as expected
2016-06-20 11:59:36 +03:00

2.0 KiB

Package information

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

Iris help screen

Iris installed screen

Install

Current version: 0.0.5


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

version

iris version

Will print the current Iris' installed version to your machine