Faissal Elamraoui
03f2057eb0
Added PreRun phase to Command struct
...
Now each command has a PreRun function that will execute before calling
the Run() function. This allows to show the banner and do some pre-check
work. Also moved parsePackagesFromDir() to the main function to avoid
getting called each time 'bee' is invoked.
2016-11-20 22:28:52 +01:00
Faissal Elamraoui
21fc177551
Acquire lock when logging
2016-11-15 12:25:37 +01:00
Faissal Elamraoui
deacdaa667
Fixes the filename and lineNo in debug log message
2016-11-14 18:05:34 +01:00
Faissal Elamraoui
cf7aef47f0
Implementing the new logging infrastructure
...
Moved logging to the new logging infrastructure by removing the use of
ColorLog() function. Added more documentation. Also fixed some typos in
comments and function names.
2016-11-13 15:14:48 +01:00
CodyGuo
ed67ef47e6
Fix to issue #270
2016-09-04 20:45:11 +08:00
CodyGuo
f6a219fb3a
Fix to issue #270
2016-09-04 13:53:45 +08:00
astaxie
b5bf9d07c3
unzip to swagger while not swagger-2
2016-08-19 23:45:18 +08:00
astaxie
31eaaa14e7
fix: if current path is in GOPATH, create api in current path
2016-08-19 23:31:52 +08:00
astaxie
6ccd0e7d9f
remove bee api default docs
2016-08-19 23:31:25 +08:00
astaxie
340859ea10
remove docs package
2016-08-19 23:00:08 +08:00
astaxie
cad9b71bbf
hotfix: fix the generate from conn.
2016-08-19 22:48:21 +08:00
astaxie
525d2b0901
support object ref model
2016-08-16 23:32:13 +08:00
Faissal Elamraoui
00e358fc03
Added support for multiple paths GOPATH
2016-08-01 11:42:16 +02:00
Faissal Elamraoui
338dfc65ed
New tweaks
...
Added enhanced logging while using bee to scaffold code
Fixed some typos and errors
Added more error handling
Added more docs
2016-07-31 23:30:35 +02:00
Faissal Elamraoui
b8250ebb72
New Bee banner
...
Added a new Bee banner using ASCII art. When bee is invoked,
the banner is displayed with the version number (short banner).
A More verbose Banner is added to 'bee version' which shows
more information about the host and Go runtime.
2016-06-01 14:30:29 +02:00
Faissal Elamraoui
01e7ff3774
This fixes #201
2016-05-26 18:17:24 +02:00
astaxie
807c3de8a7
fix issue with new version
2016-01-06 11:55:56 +08:00
fugr
dec41734bd
ServeJson-->ServeJSON,update to match beego develop
2015-10-22 11:32:21 +08:00
Haibin Liu
5c6eeae33a
Fix no error message issue
2015-09-28 07:42:11 +08:00
0x0001
d7f56900c1
new和api命令支持符号链接目录
2015-04-16 11:57:20 +08:00
kyle
d475828acf
fix error msg when use command "bee api" bug missing the Argument
2015-03-06 16:07:52 +08:00
areski
6b85a2c475
Improve bee command lines
...
Clean and improve some of the command option descriptions
2014-12-18 17:19:34 +01:00
Kurt Zhong
ad366a3bb1
Fix a spelling typo, 'lonin to 'login''
2014-11-27 09:02:58 +08:00
astaxie
976602bc01
change this to short name
2014-11-05 22:48:09 +08:00
Oleg Dolya
d5911c9bcd
fix bug
2014-10-01 21:45:16 +03:00
ZhengYang
18e7fdb02d
added example in api usage
2014-08-22 16:16:22 +08:00
ZhengYang
8e1a1f5860
help msg
2014-08-22 15:52:58 +08:00
ZhengYang
4dc2d67bd2
replace db driver package and driver name for postgres
2014-08-22 15:46:36 +08:00
ZhengYang
ab24b84d15
fix missing newline
2014-08-22 11:23:28 +08:00
ZhengYang
04bb76cad6
currpath fix
2014-08-22 11:20:29 +08:00
葛琦
55741df579
return actual value from subcommand
2014-08-15 17:38:51 +08:00
astaxie
cd31fe26ed
bee generate scaffold model
2014-08-11 17:01:06 +08:00
astaxie
50dfe40b94
bee api create a new api from database
2014-08-09 00:55:55 +08:00
Liu Jie
777bf3e1ad
fixed tests code cannot convert ".." to type rune
...
修正在使用bee生成的测试用例代码时,文件路径没有转换为字符串导致报错的问题
2014-06-24 17:01:31 +08:00
astaxie
ff63f454a7
update the new api application
2014-06-24 14:32:17 +08:00
astaxie
7140e9be38
bee:change the Separator
2014-06-05 15:21:00 +08:00
astaxie
a6f9c78aaa
bee fix the path.EvalSymlinks
2014-05-17 02:48:18 +08:00
astaxie
244f27afdf
update import
2014-04-03 16:46:47 +08:00
astaxie
3141202051
improve the bee
2014-04-03 16:41:44 +08:00
astaxie
b103a8a3a2
miss url
2013-12-24 00:11:13 +08:00
astaxie
3492059429
routers
2013-12-24 00:00:52 +08:00
astaxie
2ff8323c11
routes fixed to routers
2013-12-23 23:45:15 +08:00
astaxie
df4f44fde1
bee tools add router & test
2013-12-23 23:28:31 +08:00
astaxie
3114e61537
fix param to params
2013-12-10 10:00:17 +08:00
Unknown
865272a7f7
Update LICENSE
2013-10-30 19:54:53 -04:00
Xuyuan Pang
e8df0b125f
some misstakes on creating api app
2013-09-13 15:32:58 +08:00
astaxie
550cf6cb71
update apiapp
2013-09-11 18:18:02 +08:00
Unknown
e606b0045d
Working on bee bale
2013-09-03 13:23:58 -04:00
fanngyuan
f839552b8d
fix bug
2013-08-28 11:04:12 +08:00
fanngyuan
285e130505
add template
2013-08-27 22:35:48 +08:00