| @@ 41-51 (lines=11) @@ | ||
| 38 | * |
|
| 39 | * @return array |
|
| 40 | */ |
|
| 41 | protected function configureVariables() |
|
| 42 | { |
|
| 43 | return array( |
|
| 44 | 'expression' => array( |
|
| 45 | 'type' => 'string', |
|
| 46 | 'required' => true, |
|
| 47 | 'label' => 'The question to ask' |
|
| 48 | ), |
|
| 49 | '--' |
|
| 50 | ) + parent::configureVariables(); |
|
| 51 | } |
|
| 52 | ||
| 53 | /** |
|
| 54 | * Set a variable and it's value |
|
| @@ 34-44 (lines=11) @@ | ||
| 31 | * |
|
| 32 | * @return array |
|
| 33 | */ |
|
| 34 | protected function configureVariables() |
|
| 35 | { |
|
| 36 | return array( |
|
| 37 | 'file' => array( |
|
| 38 | 'type' => 'string', |
|
| 39 | 'required' => 'true', |
|
| 40 | 'label' => 'The file to include' |
|
| 41 | ), |
|
| 42 | '--' |
|
| 43 | ) + parent::configureVariables(); |
|
| 44 | } |
|
| 45 | ||
| 46 | /** |
|
| 47 | * Clear the caches |
|
| @@ 35-44 (lines=10) @@ | ||
| 32 | * |
|
| 33 | * @return array |
|
| 34 | */ |
|
| 35 | protected function configureVariables() |
|
| 36 | { |
|
| 37 | return array( |
|
| 38 | 'cwd' => array( |
|
| 39 | 'type' => 'string', |
|
| 40 | 'label' => 'The directory to change into' |
|
| 41 | ), |
|
| 42 | '--' |
|
| 43 | ) + parent::configureVariables(); |
|
| 44 | } |
|
| 45 | ||
| 46 | ||
| 47 | /** |
|