1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 15:10:54 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
Faissal Elamraoui
e927a9193d Enhances the commands short and long description
This enhances the output of bee help/usage by using colored and bold text to
highlight examples.
2016-12-03 11:54:41 +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
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
Sergey Lanzman
3627eb2ddc refactor generate migration 2016-08-18 21:19:01 +03: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
Sergey Lanzman
1308ebd940 fix generate migration for postgressql 2016-07-23 02:14:33 +03: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
Steeve Chailloux
d3153578ca update migration.Sql to migration.SQL to match beego develop 2015-11-09 20:09:26 -06:00
ZhengYang
8e1a1f5860 help msg 2014-08-22 15:52:58 +08:00
ZhengYang
4b56b8576c add default value for postgres conn 2014-08-21 12:22:49 +08:00
ZhengYang
9bf23ea88a help/error message correction and import lib/pq 2014-08-21 10:19:44 +08:00
ZhengYang
6d56c04147 help message format 2014-08-19 18:48:02 +08:00
astaxie
9faf04fea0 add downsql & controller add mapping 2014-08-18 12:21:21 +08:00
astaxie
f97e13c5aa Merge branch 'master' of https://github.com/beego/bee 2014-08-18 11:52:06 +08:00
astaxie
67c1c05a45 support migrate generate sql 2014-08-18 11:51:57 +08:00
葛琦
55741df579 return actual value from subcommand 2014-08-15 17:38:51 +08:00
ZhengYang
08692c15d3 polish help messages 2014-08-14 14:57:57 +08:00
ZhengYang
12cfffe4b2 add onsite migrate function for scafolding feature & minor code refactor 2014-08-14 14:53:28 +08:00
ZhengYang
e455509adb load params from json and minor output format fix 2014-08-13 14:48:20 +08:00
ZhengYang
4775fc3e81 corrections on help message 2014-08-13 14:14:11 +08:00
ZhengYang
07bcce359a generate everything by default 2014-08-13 14:13:07 +08:00
astaxie
cd31fe26ed bee generate scaffold model 2014-08-11 17:01:06 +08:00
astaxie
a781accd3e Merge pull request #38 from ZhengYang/master
Minor console message changes and migration file path changes
2014-08-11 10:49:34 +08:00
astaxie
172e17ea12 bee generate scaffold 2014-08-11 10:39:10 +08:00
ZhengYang
3d2a066a16 minor console message changes and migration file path changes 2014-08-11 10:36:20 +08:00
astaxie
6abaa4368b bee generate views 2014-08-11 10:01:56 +08:00
astaxie
5ffc17febb update the comments 2014-08-09 01:48:40 +08:00
astaxie
375eb44479 bee support create controllers 2014-08-09 01:37:55 +08:00
ZhengYang
6f8cff2acc generate models for specified tables 2014-08-07 16:39:28 +08:00
ZhengYang
2556579ad0 generate migration file 2014-08-07 13:52:28 +08:00
ZhengYang
b1ae637139 nothing much 2014-08-07 10:48:58 +08:00
ZhengYang
31b481d96a basic structure for generate migration files 2014-08-07 10:47:06 +08:00
ZhengYang
348bc3edcb do not remove folders 2014-08-01 17:42:04 +08:00
ZhengYang
789132d622 help message updated to reflect current feature 2014-08-01 16:25:28 +08:00
ZhengYang
8e56c8528f getting params from commandline and hook up the actual function 2014-08-01 15:52:25 +08:00
ZhengYang
0a22533e04 interface connected 2014-08-01 14:49:30 +08:00
ZhengYang
00893f8c0c help message format 2014-08-01 10:16:37 +08:00
ZhengYang
7eb6fa6a67 adding source code 2014-07-31 18:46:03 +08:00
astaxie
05c7d51efa bee add rundocs 2014-06-19 21:09:17 +08:00
astaxie
fdade4356e bee support generate docs from the source code 2014-06-18 12:19:03 +08:00