opened
awakia
username_0
## WHAT

This PR enable 2 functions

### apig new --namespace=api

--namespace arguments of new command can control path namespace, which is http://localhost:8080/<api>/users.

### apig gen --all

This command regenerate boilerplates which `apig new` command generates.
This option enable us to regenerate all server codes based on latest apig command.

For example,

```
$ apig gen --all
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/docs/user.apib
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/controllers/user.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/server/server.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/controllers/.gitkeep
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/docs/.gitkeep
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/helper/field_test.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/models/.gitkeep
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/db/db.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/.gitignore
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/middleware/set_db.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/db/pagination.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/README.md
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/main.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/helper/field.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/version/version_test.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/router/router.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/version/version.go
	create /Users/username_0/src/github.com/wantedly/apig/_examples/simple/docs/index.apib
	update /Users/username_0/src/github.com/wantedly/apig/_examples/simple/router/router.go
	update /Users/username_0/src/github.com/wantedly/apig/_examples/simple/db/db.go
	update /Users/username_0/src/github.com/wantedly/apig/_examples/simple/README.md
```
Improve apig commands
issue
created
awakia
username_0
@munisystem Test passed. PTAL? cc @username_1
comment
created
dtan4
username_1
LGTM 👍
comment