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

18
run.go
View File

@ -24,23 +24,11 @@ import (
var cmdRun = &Command{
UsageLine: "run [appname] [watchall] [-main=*.go] [-downdoc=true] [-gendoc=true]",
Short: "run the app which can hot compile",
Short: "run the app and start a Web server for development",
Long: `
start the appname throw exec.Command
Run command will supervise the file system of the beego project using inotify,
it will recompile and restart the app after any modifications.
then start a inotify watch for current dir
when the file has changed bee will auto go build and restart the app
file changed
|
check if it's go file
|
yes no
| |
go build do nothing
|
restart app
`,
}