Commit Graph

57 Commits

Author SHA1 Message Date
Faissal Elamraoui 8dca816aac Fixed padding for printing an option 2016-12-05 14:52:37 +01:00
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 5defe7c368 Fix merge conflict 2016-11-22 10:33:11 +01:00
Faissal Elamraoui e39dc9fb7f #323: Removes the check if the current path is a Beego project 2016-11-21 15:23:08 +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
Faissal Elamraoui 440c5e967c Rewrite configuration loading
Rewrited loadConfig() function to walk the project directory
looking for bee.json and Beefile. If no configuration file
found, it fallbacks to the default configuration. In case
of an error, a log message is printed to the console.
2016-11-03 16:48:09 +01:00
Faissal Elamraoui 56568f4d2c tweak: Exit with message instead of a panic
In case no application is found in GOPATH(s), exit with a friendly
message instead of a panic. Also removed useless else block in watch.go.
2016-09-26 20:32:14 +02:00
Kyaw Myint Thein c9d5fbfe64 add runmode flag on bee run to set BEEGO_RUNMODE env 2016-08-21 10:55:10 +08:00
astaxie 20da95be6e update swagger links 2016-08-17 00:52:57 +08:00
Faissal Elamraoui 828b8d8b53 Removed redundant beego project check 2016-07-30 13:42:38 +02:00
Faissal Elamraoui 5bc1c82a2b Added check for multiple paths in GOPATH (instead of the first path in the list) 2016-07-29 17:45:15 +02:00
Faissal Elamraoui 24955fb044 Fixed merge conflict 2016-07-28 14:19:42 +02:00
Faissal Elamraoui 8eb3d9d392 Merge branch 'develop' into new-features 2016-07-28 13:34:55 +02:00
Faissal Elamraoui 23f03c61b1 Revert "grouped variable declarations"
This reverts commit 4f3ed96523.
2016-07-26 21:07:17 +02:00
Faissal Elamraoui 4f3ed96523 grouped variable declarations 2016-07-25 21:10:12 +02:00
astaxie 11d8cf9c85 Merge pull request #230 from sergeylanzman/add-setting-vendor-watch
add vendor watch settings
2016-07-24 00:24:41 +08:00
Sergey Lanzman bc963e0070 go lint 2016-07-23 02:05:01 +03:00
Sergey Lanzman 6192b395d9 add vendor watch settings 2016-07-23 01:24:44 +03:00
Faissal Elamraoui 4be4a20df4 Added ability to run an application either from the appname
directory or anywhere in the $GOPATH/src folder. (Fixes #219)
2016-07-22 17:33:05 +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
Mark Mindenhall 19b8add1c5 Support go build tags (issue #149) 2016-02-10 12:39:02 -07:00
astaxie 1566ca7da1 add beego version and bee version and travis 2016-01-25 21:49:49 +08:00
astaxie 0dbe35a943 go vet happy 2016-01-25 21:43:29 +08:00
youngsterxyf 685da50d93 fix #1552 in beego, see: https://github.com/astaxie/beego/issues/1552 2016-01-11 12:22:38 +08:00
Lei Cao 60e4f1b872 Issue-119: flags for excluding Godeps. 2015-06-17 14:59:59 +08:00
astaxie ad453bb3e0 fix #107 2015-05-09 15:31:55 +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
zk 9237e189f2 Fix Spelling mistake
useDiectory to useDirectory in readAppDirectories function
2014-10-28 09:58:28 +08:00
葛琦 55741df579 return actual value from subcommand 2014-08-15 17:38:51 +08:00
astaxie 50dfe40b94 bee api create a new api from database 2014-08-09 00:55:55 +08:00
astaxie 620f052d93 remove unused err 2014-06-23 23:03:10 +08:00
astaxie 82581a7c30 bee run auto download swagger & auto doc ten 2014-06-23 23:02:46 +08:00
astaxie 4ac9fb0dac bee default support watchall support generate doc
bee run appname true
2014-06-18 21:31:54 +08:00
slene 7da30d1b35 now bee run can specify main files 2014-02-22 01:51:18 +08:00
Unknown 1a352bc6b3 Add conf option for watch all 2014-02-17 17:26:59 -05:00
William Kennedy da150b9b10 Added support to watch all folders with Go files 2014-01-22 11:57:16 -05:00
Unknown a4baa777cb Added support for gopm 2013-11-03 22:16:15 -05:00
Unknown f724bb0c6b Remove dep of com 2013-10-30 19:39:44 -04:00
Unknown 3d3feda34c Bug fixed 2013-09-11 19:06:04 -04:00
Unknown efac8a0b65 Added auto-detect appname 2013-09-11 18:41:56 -04:00
Unknown abee36f379 Added auto-detect appname 2013-09-11 18:41:36 -04:00
Unknown a655f78a4e Added auto-detect appname 2013-09-11 18:35:24 -04:00
Unknown 111bc16e19 Able to customize watch file exts 2013-09-04 11:23:51 -04:00
Unknown e606b0045d Working on bee bale 2013-09-03 13:23:58 -04:00
Unknown 6923aeb1ae Use package com colorlog for uniform management 2013-08-24 16:41:46 +08:00
Unknown 055609f64d Update color ouput 2013-08-15 15:24:23 +08:00
Unknown ea43654872 Colorful log print 2013-08-09 22:40:46 +08:00
astaxie 89acd00955 fix linux cpu 100% 2013-08-09 17:49:14 +08:00