Kohana v3.3.0
This commit is contained in:
10
modules/minion/views/minion/error/validation.php
Normal file
10
modules/minion/views/minion/error/validation.php
Normal file
@@ -0,0 +1,10 @@
|
||||
Parameter Errors:
|
||||
<?php foreach ($errors as $parameter => $error): ?>
|
||||
<?php echo $parameter; ?> - <?php echo $error; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
Run
|
||||
|
||||
php index.php --task=<?php echo $task?> --help
|
||||
|
||||
for more help
|
7
modules/minion/views/minion/help/error.php
Normal file
7
modules/minion/views/minion/help/error.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php echo $error; ?>
|
||||
|
||||
Run
|
||||
|
||||
index.php --uri=minion
|
||||
|
||||
for more help
|
17
modules/minion/views/minion/help/list.php
Normal file
17
modules/minion/views/minion/help/list.php
Normal file
@@ -0,0 +1,17 @@
|
||||
Minion is a cli tool for performing tasks
|
||||
|
||||
Usage
|
||||
|
||||
<?php echo $_SERVER['argv'][0]; ?> {task} --task=[options]
|
||||
|
||||
Where {task} is one of the following:
|
||||
|
||||
<?php foreach($tasks as $task): ?>
|
||||
* <?php echo $task; ?>
|
||||
|
||||
<?php endforeach; ?>
|
||||
|
||||
For more information on what a task does and usage details execute
|
||||
|
||||
<?php echo $_SERVER['argv'][0]; ?> --task={task} --help
|
||||
|
17
modules/minion/views/minion/help/task.php
Normal file
17
modules/minion/views/minion/help/task.php
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
Usage
|
||||
=======
|
||||
php minion.php --task=<?php echo $task; ?> [--option1=value1] [--option2=value2]
|
||||
|
||||
Details
|
||||
=======
|
||||
<?php foreach($tags as $tag_name => $tag_content): ?>
|
||||
<?php echo ucfirst($tag_name) ?>: <?php echo $tag_content ?>
|
||||
|
||||
<?php endforeach; ?>
|
||||
|
||||
Description
|
||||
===========
|
||||
<?php echo $description; ?>
|
||||
|
||||
|
Reference in New Issue
Block a user