1
0
mirror of https://github.com/beego/bee.git synced 2025-07-05 18:20:18 +00:00

Improve bee command lines

Clean and improve some of the command option descriptions
This commit is contained in:
areski
2014-12-18 17:19:34 +01:00
parent f00aeaed36
commit 6b85a2c475
7 changed files with 49 additions and 56 deletions

15
new.go
View File

@ -23,13 +23,12 @@ import (
var cmdNew = &Command{
UsageLine: "new [appname]",
Short: "create an application base on beego framework",
Short: "Create a Beego application",
Long: `
create an application base on beego framework,
Creates a Beego application for the given app name in the current directory.
which in the current path with folder named [appname].
The [appname] folder has following structure:
The command 'new' creates a folder named [appname] and inside the folder deploy
the following files/directories structure:
|- main.go
|- conf
@ -313,9 +312,9 @@ var indextpl = `<!DOCTYPE html>
</header>
<footer>
<div class="author">
Official website:
<a href="http://{{.Website}}">{{.Website}}</a> /
Contact me:
Official website:
<a href="http://{{.Website}}">{{.Website}}</a> /
Contact me:
<a class="email" href="mailto:{{.Email}}">{{.Email}}</a>
</div>
</footer>