Beispiel #1
0
 /**
  * Configures the available options
  *
  * @return array
  */
 protected function configureVariables()
 {
     return array('from' => array('type' => 'string', 'required' => true, 'label' => 'The path to the directory to create the phar from'), 'to' => array('type' => 'string', 'required' => true, 'label' => 'Path and filename of the resulting phar file'), 'filter' => array('type' => 'string', 'label' => 'Only file paths matching this pcre regular expression will be included in the archive'), 'cliStub' => array('type' => 'string', 'label' => 'Path to cli index file, relative to <info>comment</info>'), 'webStub' => array('type' => 'string', 'label' => 'Path to web index file, relative to <info>comment</info>'), 'alias' => array('type' => 'string', 'label' => 'Alias with which this Phar archive should be referred to in calls to stream functionality'), 'metadata' => array('type' => 'mixed', 'label' => 'Anything containing information to store that describes the phar archive')) + parent::configureVariables();
 }
Beispiel #2
0
 /**
  * Configures the available options
  *
  * @return array
  */
 protected function configureVariables()
 {
     return array('tasks' => array('type' => 'array', 'label' => 'Array of tasks to add to the subTask'), 'task' => array('type' => 'mixed', 'label' => 'Task to run as a sub task'), 'workflow' => array('type' => 'array', 'label' => 'Workflow to run as a subtask'), 'script' => array('type' => 'string', 'label' => 'Script to include which configures the tasks'), '--') + parent::configureVariables();
 }
Beispiel #3
0
 /**
  * Configure the options
  *
  * @return array
  */
 protected function configureVariables()
 {
     return array('file' => array('type' => 'string', 'required' => 'true', 'label' => 'The file to include'), '--') + parent::configureVariables();
 }
Beispiel #4
0
 /**
  * Configure the options
  *
  * @return array
  */
 protected function configureVariables()
 {
     return array('command' => array('type' => 'string|array', 'label' => 'Command(s) to execute', 'required' => true), 'cwd' => array('type' => 'string', 'label' => 'The directory to change to before running the command'), 'argv' => array('type' => 'array|string', 'label' => 'String with all options and arguments for the command or an array in the same format as $argv. ' . 'Attention: Values won\'t be escaped!'), 'options' => array('type' => 'array', 'default' => array(), 'label' => 'Array with options: Elements with numeric keys or bool true values will be --switches.'), 'arguments' => array('type' => 'array', 'default' => array(), 'label' => 'Arguments to pass to the cmd'), 'optArg' => array('type' => 'array|string', 'label' => 'Arguments and options in one array. ' . 'When array, elements with numeric keys will be added as {@see arguments} and elements with string keys will be added as {@see options}. ' . 'When string, {@see argv} will be set to this value'), 'errorMessage' => array('type' => 'string', 'label' => 'Message to display when the command failed'), 'processSettings' => array('type' => 'array', 'default' => array(), 'label' => 'Settings for symfony process class'), '--') + parent::configureVariables();
 }
Beispiel #5
0
 /**
  * Configure the options
  *
  * @return array
  */
 protected function configureVariables()
 {
     return array('code' => array('type' => 'int', 'default' => 0, 'label' => 'Code to exit with'), '--') + parent::configureVariables();
 }
Beispiel #6
0
 /**
  * Configure the options
  *
  * @return array
  */
 protected function configureVariables()
 {
     return array('action' => array('type' => 'string', 'required' => true, 'label' => 'Method of \\Netresearch\\Kite\\Service\\Filesystem to execute'), 'arguments' => array('type' => 'array', 'default' => array(), 'label' => 'Arguments for action method')) + parent::configureVariables();
 }
Beispiel #7
0
 /**
  * Configures the options
  *
  * @return array
  */
 protected function configureVariables()
 {
     return array('callback' => array('type' => 'callable|string', 'required' => true, 'label' => 'The callback or user function to run (@see GeneralUtility::callUserFunction())'), '--') + parent::configureVariables();
 }
Beispiel #8
0
 /**
  * Configure the variables
  *
  * @return array
  */
 protected function configureVariables()
 {
     return array('question' => array('type' => 'string', 'required' => true, 'label' => 'The question to ask'), 'default' => array('type' => 'string|numeric', 'label' => 'Default value (shown to the user as well)'), '--') + parent::configureVariables();
 }
Beispiel #9
0
 /**
  * Configure the options
  *
  * @return array
  */
 protected function configureVariables()
 {
     return array('command' => array('type' => 'string', 'label' => 'Name of the task', 'required' => true), 'cwd' => array('type' => 'string', 'label' => 'The directory to change to before running the command'), 'options' => array('type' => 'array', 'default' => array(), 'label' => 'Array with options: Elements with numeric keys or bool true values will be --switches.'), 'arguments' => array('type' => 'array', 'default' => array(), 'label' => 'Arguments to pass to the cmd'), 'optArg' => array('type' => 'array', 'label' => 'Arguments and options in one array. Elements with numeric keys will be arguments, elems. with bool true values will be --switches, all other options')) + parent::configureVariables();
 }
Beispiel #10
0
 /**
  * Configure the options
  *
  * @return array
  */
 protected function configureVariables()
 {
     return array('expression' => array('type' => 'string', 'required' => true, 'label' => 'The question to ask'), '--') + parent::configureVariables();
 }