1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-10 21:45:57 +00:00

Update Iris tool to v.0.0.4 - Install dir now is based on $GOPATH/src

This commit is contained in:
Makis Maropoulos
2016-06-07 12:21:40 +03:00
parent 26f13cf5bf
commit 0e05c68876
3 changed files with 48 additions and 22 deletions

View File

@@ -2,9 +2,10 @@
This package is the command line tool for [../](https://github.com/kataras/iris).
[!Iris help screen](https://raw.githubusercontent.com/iris-contrib/website/gh-pages/assets/iris_cli_screen.png)](https://raw.githubusercontent.com/iris-contrib/website/gh-pages/assets/iris_cli_screen.png)
## Install
Current version: 0.0.3
Current version: 0.0.4
```sh
go get -u github.com/kataras/iris/iris
@@ -28,16 +29,16 @@ $ iris [command] [-flags]
```sh
iris create -t basic -d ./
iris create -t basic -d myprojects/iris1
```
Will create the [basic](https://github.com/iris-contrib/iris-command-assets/tree/master/basic) sample package to the current working directory and run the app.
Will create the [basic](https://github.com/iris-contrib/iris-command-assets/tree/master/basic) sample package to the `$GOPATH/src/myprojects/iris1` directory and run the app.
```sh
iris create -t static -d ./
iris create -t static -d myprojects/iris1
```
Will create the [static](https://github.com/iris-contrib/iris-command-assets/tree/master/static) sample package to the current working directory and run the app.
Will create the [static](https://github.com/iris-contrib/iris-command-assets/tree/master/static) sample package to the `$GOPATH/src/myprojects/iris1` directory and run the app.
The default
@@ -46,13 +47,13 @@ The default
iris create
```
Will create the basic sample package to the current working directory and run the app.
Will create the basic sample package to `$GOPATH/src/myiris` directory and run the app.
```sh
iris create -d C:\Users\kataras\Desktop\test1
iris create -d myproject
```
Will create the basic sample package to the C:\Users\kataras\Desktop\test1 folder and run the app.
Will create the basic sample package to the `$GOPATH/src/myproject` folder and run the app.
## Version