public static function cli($args)
    {
        $cwd = getcwd();
        $cli = new self($cwd);

        return $cli->run(array_slice($args, 1));
    }
public static function cli($args)
    {
        $cwd = getcwd();
        $cli = new self($cwd);

        return $cli->run(array_slice($args, 1));
    }
public static function cli ( $ args ) { $ cwd = getcwd ( ) ; $ cli = new self ( $ cwd ) ; return $ cli -> run ( array_slice ( $ args , 1 ) ) ; }
Entry point for command-line interface.

@param mixed $args
Entry point for command - line interface .