Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add {:bold} style, show all docblock in help, typo

  • Loading branch information...
commit ed45e5cdffd7abecc7e165dae5ac17e9deb0a166 1 parent 5450f20
Davey Shafik dshafik authored
4 console/Command.php
View
@@ -247,7 +247,7 @@ public function in($prompt = null, array $options = array()) {
*
* {{{
* -------
- * Lihtium
+ * Lithium
* -------
* }}}
*
@@ -420,4 +420,4 @@ protected function _response($type, $string, $options) {
}
}
-?>
+?>
3  console/Response.php
View
@@ -124,7 +124,8 @@ public function styles($styles = array()) {
'option' => "\033[0;35m",
'command' => "\033[0;35m",
'error' => "\033[0;31m",
- 'success' => "\033[0;32m"
+ 'success' => "\033[0;32m",
+ 'bold' => "\033[1m",
);
if ($styles === false) {
return array_combine(array_keys($defaults), array_pad(array(), count($defaults), null));
4 console/command/Help.php
View
@@ -163,7 +163,7 @@ protected function _methods($class, $options = array()) {
$comment = Docblock::comment($method['docComment']);
$name = $method['name'];
- $description = $comment['description'];
+ $description = trim($comment['description'] . PHP_EOL . $comment['text']);
$args = $method['args'];
$return = null;
@@ -321,4 +321,4 @@ protected function _pad($message, $level = 1) {
}
}
-?>
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.