Carsten Brandt
119c302033
fixed issue with UTF-8 characters in help description parsing
...
fixes #6691
10 years ago
Qiang Xue
d2b864da84
prepare for 2.0.0-rc release.
10 years ago
Qiang Xue
aeb8dd560a
Refactored console help system [skip ci]
10 years ago
Qiang Xue
fadfdf690a
Refactored help system. [skip ci]
10 years ago
Alexander Makarov
fbdf2ef461
Renamed HelpParser::getFull() to HelpParser::getDetail()
10 years ago
Alexander Makarov
21440d7aed
Moved common help parsing code into HelpParser. Action methods now have default implementation.
10 years ago
Alexander Makarov
00ca1cb4b3
Fixes #4914
10 years ago
Alexander Makarov
d44f424858
Fixed getting controller description, refactored a bit more
10 years ago
Alexander Makarov
277d8cbaeb
Got rid of console inline action
10 years ago
Alexander Makarov
dbac35b1aa
Removed description and help code duplication
10 years ago
Alexander Makarov
d74e89a1ca
Extracted inline action object creation, implemented it in console controller in order to use console inline action instead of base one
10 years ago
Carsten Brandt
c43b7ee8b5
console help WIP
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Alexander Makarov
a86d2ad11e
Added `yii\console\Controller::EXIT_CODE_NORMAL` and `yii\console\Controller::EXIT_CODE_ERROR` constants, `yii\console\MigrateController` now returns `yii\console\Controller::EXIT_CODE_ERROR` in case of failed migration
11 years ago
Jurmarcus Allen
6099e85160
HHVM compatibility Fixes for Yii 2 Console Application
11 years ago
Carsten Brandt
67dd874e0c
renamed console controller optoins param $id to $actionId
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
174158a64b
doc fix [skip ci]
11 years ago
Christian Nadolle
706ab7f968
combine globalOptions() with local options into options($id)
...
adjust existing Console Controllers and docs
11 years ago
Christian Nadolle
05f7df3091
console/Controller support local options per action
11 years ago
Qiang Xue
87b49414b1
Fixed globalOptions array issue.
11 years ago
Qiang Xue
9779e9c98d
Added support for using arrays as option values for console commands
11 years ago
Carsten Brandt
262189533a
huge amount of documentation link fixes
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
4a9b2d2b82
Added support for using array-typed arguments for console commands
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
6507e2e316
applied new style of Yii::t params to all occurences
11 years ago
Carsten Brandt
b96fd24ef5
Finished documentation of Console Helper and Controller
...
fixes #33
11 years ago
Qiang Xue
e15938474c
Refactored console commands.
11 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
11 years ago
Qiang Xue
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a
, reversing
changes made to 6b6390f72b
.
11 years ago
Carsten Brandt
b138199c59
implementation of Response tied to actions
...
Result of a discussion with @qiangxue
- there is not global Yii::$app->response anymore, every action has
dedicated response class
- implementation allows using HMVC pattern now, nested actions do not
interfer
11 years ago
Qiang Xue
075a6b6504
fixed how console color should be enabled.
11 years ago
Qiang Xue
725d810085
Refactored console controller color option.
11 years ago
Qiang Xue
531ca690eb
refactored the message command.
11 years ago
Carsten Brandt
89ea3fef03
Next iteration on console commands
...
issue #33
- implemted getScreenSize for linux systems
- tiny adjustments and better naming for console color methods
- color switch in base Controller changed to magic property
- colorized Help command
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Alexander Kochetov
8b311ecbe7
yiic => yii additional corrections
12 years ago
Qiang Xue
fb5993af40
Fixes issue #251 : changed the signature of t() to be the same as v1.1
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Carsten Brandt
51357e58f0
more console helper and controller refactoring
...
changed name of ansi switch to --colors
69cad905dd (commitcomment-3168489)
issue #33
12 years ago
Carsten Brandt
fc5045fd0c
Fixed Copy paste error console/Controller
...
also naming of formatString -> ansiFormat
12 years ago
Carsten Brandt
69cad905dd
Refactoring Console commands
...
added method wrappers in console/Controller
issue #33
12 years ago
Alexander Kochetov
48d04fbb8c
!== array() => !empty()
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Qiang Xue
78457bf009
fetching plural rule data.
12 years ago
Qiang Xue
e1acc64b2b
refactoring cache and db references.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago