Location: PHPKode > scripts > CLImax > apinstein-climax-d6e71ad/TestClasses.php
<?php

class CLIHelloWorld extends CLIMax_BaseCommand
{
    public function run($arguments, CLImaxController $cliController)
    {
        print "Hello, world!\n";
        return 0;
    }
}
class CLIArgRepeater extends CLIMax_BaseCommand
{
    public function run($arguments, CLImaxController $cliController)
    {
        $this->testArguments($arguments);
        return 0;
    }
    public function testArguments($arguments)
    {
        return count($arguments);
    }
}
Return current item: CLImax