use LCI\MODX\Console\Application as ConsoleApplication;
12
use Symfony\Component\Console\Input\InputArgument;
13
use Symfony\Component\Console\Input\InputDefinition;
14
use Symfony\Component\Console\Input\InputOption;
15
16
class Application extends ConsoleApplication
17
{
18
protected static $logo = 'art/blend.txt';
19
20
protected static $name = 'Blend Console';
21
22
protected static $version = '1.0.0 beta5';
23
24
/**
25
* Gets the default input definition.
26
*
27
* @return InputDefinition An InputDefinition instance
28
*/
29
protected function getDefaultInputDefinition()
30
{
31
return new InputDefinition(array(
32
new InputArgument('command', InputArgument::REQUIRED, 'The command to execute'),
33
34
new InputOption('--help', '-h', InputOption::VALUE_NONE, 'Display this help message.'),
35
//new InputOption('--verbose', '-v|vv|vvv', InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug.'),
36
new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display the Blend version.'),