Webmozart\Console\Api\Command\Command::run PHP Method

run() public method

Executes the command for the given unparsed arguments.
public run ( Webmozart\Console\Api\Args\RawArgs $args, IO $io ) : integer
$args Webmozart\Console\Api\Args\RawArgs The unparsed console arguments.
$io Webmozart\Console\Api\IO\IO The I/O.
return integer Returns 0 on success and any other integer on error.
    public function run(RawArgs $args, IO $io)
    {
        return $this->handle($this->parseArgs($args), $io);
    }