<?php
namespace AndyTruong\ConsoleTalk;
use Symfony\Component\Console\Command\Command;
class HelloCmd extends Command
{
public function configure()
{
$this
->setName('at:demo:hello')
->setDescription('Just say Hello to all the world!')
->addArgument('name', InputArgument::OPTIONAL)
->addOption('language',
$shortcut = null,
InputOption::VALUE_OPTIONAL,
'Language to speak.', 'en'
);
}
}