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

40 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
OTER
b282761292 Fix .exe postfix issue on Windows platform. 2016-09-15 22:40:03 +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
bc963e0070 go lint 2016-07-23 02:05:01 +03:00
astaxie
b022ab3277 Merge pull request #223 from saturn4er/patch-1
Some fixes in README.md
2016-07-13 13:50:58 +08: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
Scott Le
1767458b66 fix cannot migrate with Postgres 2016-03-01 10:08:04 +07:00
Weston Platter
21b91413e8 migrate. allow postgres migrations to run. 2015-05-21 00:18:04 -06:00
Weston Platter
50ce2204ce migrate. changed docs to reference PostgreSQL driver as "postgres"
instead of "postgresql"
2015-05-19 22:50:13 -06:00
Weston Platter
9f829a1da2 migrate. print out error message. 2015-05-19 22:41:13 -06:00
areski
6b85a2c475 Improve bee command lines
Clean and improve some of the command option descriptions
2014-12-18 17:19:34 +01: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
abc40f79a8 fix color log '#' issue and change remove temp file err to warning (does not halt) 2014-08-14 14:25:02 +08:00
ZhengYang
ea3b10f2dc change created time to be time of execution 2014-08-14 13:46:02 +08:00
ZhengYang
ef8e6750a0 halt when there is nothing to rollback 2014-08-14 13:10:42 +08:00
ZhengYang
104b35e062 bugfix: call refresh function when refreshing 2014-08-14 12:10:03 +08:00
ZhengYang
7377c05023 error when migration fold does not exit 2014-08-14 11:28:01 +08:00
ZhengYang
7c5ebae748 auto delete temp file while error 2014-08-13 17:15:32 +08:00
ZhengYang
83dd1e256a remove unique constraint 2014-08-13 16:44:45 +08:00
ZhengYang
cf86f6af78 update template to be standard to gofmt 2014-08-13 15:18:02 +08:00
ZhengYang
64f3acca26 loading driver and connStr from json if there is no commandline options specified 2014-08-13 14:34:12 +08:00
ZhengYang
a37b9802bd add comments for functions 2014-08-13 12:35:24 +08:00
ZhengYang
954eaff006 rearrange functions for readability 2014-08-13 11:57:36 +08:00
ZhengYang
399e3ffefc refactor function signatures 2014-08-13 11:53:55 +08:00
ZhengYang
c9b12183f8 add exit status in tpl, print output if migration binary failed to run 2014-08-13 10:16:55 +08:00
ZhengYang
5900befa43 getting output from shell 2014-08-12 18:26:34 +08:00
ZhengYang
6f3d2d31ef minor change 2014-08-12 16:20:11 +08:00
ZhengYang
9a728714aa change directory 2014-08-12 16:04:50 +08:00
ZhengYang
4c735647c3 add help message 2014-08-12 15:48:01 +08:00
ZhengYang
8d82b27502 change migration schema and getting cmd line parameters 2014-08-12 15:45:37 +08:00
ZhengYang
e2ce0300a6 move final message out 2014-08-12 15:18:36 +08:00
ZhengYang
e75bd70472 schema changes, code refacter, executable template 2014-08-12 15:16:29 +08:00
ZhengYang
870698f5a4 get latest migration from database 2014-08-12 10:33:25 +08:00
ZhengYang
6f4c1b3a89 basic workflow 2014-08-11 17:23:52 +08:00
ZhengYang
adc9288e2f skeleton code for 'migrate' command 2014-08-11 11:33:53 +08:00