1
0
mirror of https://github.com/beego/bee.git synced 2024-05-29 03:53:29 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
astaxie
0b6212575d Merge pull request #335 from sergeylanzman/parse-all-package-only-if-docs-generate
Parse all packages only if docs generate
2016-12-20 16:56:58 +08:00
astaxie
54537ee8ee fix the generate 2016-12-20 16:54:03 +08:00
astaxie
2ccbbb47e4 v1.6.1 2016-12-13 05:04:37 +08:00
Sergey Lanzman
98cd088409 parse all packages this long operations
run only on docs generate
2016-12-12 22:27:54 +02:00
astaxie
9786cb47ea bee 1.6.0 2016-12-05 23:17:15 +08:00
Faissal Elamraoui
8dca816aac Fixed padding for printing an option 2016-12-05 14:52:37 +01:00
Faissal Elamraoui
ce71c916d5 Displays the default value of a command flag
Added ability to display the default value of a command's flag,
truncated in case it contains a column (:). Also instead of displaying
the entire command usage/help in case of an undefined flag, output a
small message with "bee help cmd".
2016-12-04 16:30:38 +01:00
Faissal Elamraoui
196e732e19 Removes the use of template/html
This uses the template/text instead because template/html does not escape
quotes and replaces them with their HTML codes. Added two more util
functions to make it easy to use bold and colored text in the command long
description.
2016-12-03 11:46:10 +01:00
Faissal Elamraoui
6cf7b5d518 Enhanced the usage and help output
Now each command has its own output destination, which can be changed
using a SetOutput(writer) method. Added ability to display the options
of each command.
2016-12-01 21:18:20 +01:00
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
6b27ef186a This makes the logger instance a singleton 2016-11-16 12:33:01 +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
astaxie
f7d2e04e07 change to 1.5.2 2016-09-22 23:12:55 +08:00
astaxie
f453885864 update to 1.5.1 2016-08-30 00:18:17 +08:00
astaxie
20da95be6e update swagger links 2016-08-17 00:52:57 +08:00
astaxie
46a9c4a390 update fix 2016-01-18 11:33:52 +08:00
astaxie
4bc70441d2 change version from 1.3 to 1.4 2016-01-15 23:43:37 +08:00
astaxie
807c3de8a7 fix issue with new version 2016-01-06 11:55:56 +08:00
astaxie
1aa857a9ea change the version to 1.3.0 2015-05-09 15:07:26 +08:00
astaxie
d5ba3ff52f Merge pull request #73 from Lao-liu/master
自动生成基于数据库的Hprose发布服务。
2015-05-09 15:00:21 +08:00
astaxie
27fecfbe75 support ignore struct not show 2015-01-03 21:17:59 +08:00
astaxie
930049f7de update the GetInt to GetInt64 2014-11-05 13:53:42 +08:00
Liujian
f75d8997ef 自动生成基于数据库的Hprose发布服务。 2014-10-14 21:30:32 +08:00
ZhengYang
4d4638fcd4 version++ 2014-08-22 16:31:07 +08:00
astaxie
5efe6ebd55 comments router test rundocs 2014-08-18 23:12:27 +08:00
葛琦
55741df579 return actual value from subcommand 2014-08-15 17:38:51 +08:00
astaxie
70886d4cfd update the version from 1.2.0 to 1.2.1 2014-08-15 09:37:58 +08:00
ZhengYang
adc9288e2f skeleton code for 'migrate' command 2014-08-11 11:33:53 +08:00
astaxie
375eb44479 bee support create controllers 2014-08-09 01:37:55 +08:00
ZhengYang
6894c9bc55 update version number to 1.3 2014-08-01 16:01:04 +08:00
astaxie
aa92fc4854 bee 1.1.2 2014-06-24 12:06:45 +08:00
astaxie
05c7d51efa bee add rundocs 2014-06-19 21:09:17 +08:00
astaxie
3f24cc6319 update the version to 1.1.0 2014-06-18 15:50:35 +08:00
astaxie
fdade4356e bee support generate docs from the source code 2014-06-18 12:19:03 +08:00
Yecheng Fu
cad02040ea don't convert '&' to '&' in bee and bee help version. 2014-05-19 16:31:02 +08:00
astaxie
226b5d4f4d bee support version command 2014-05-17 01:37:45 +08:00
Unknown
e606b0045d Working on bee bale 2013-09-03 13:23:58 -04:00
fanngyuan
d42aec07b4 刚才漏了 2013-08-22 12:19:45 +08:00
Unknown
7ea67b5534 Added func getControllerInfo 2013-07-27 09:44:44 +08:00
Unknown
172bc44b22 Add user conf support for bee.json 2013-07-24 20:01:14 +08:00