classes/CLI.php
public static function on($command,callable $callback,$description=''){
      $parts = preg_split('/\s+/',$command);
      static::$commands[array_shift($parts)] = [$parts,$callback,$description];
    }
public static function on($command,callable $callback,$description=''){
      $parts = preg_split('/\s+/',$command);
      static::$commands[array_shift($parts)] = [$parts,$callback,$description];
    }
public static function on ( $ command , callable $ callback , $ description = '' ) { $ parts = preg_split ( '/\s+/' , $ command ) ; static :: $ commands [ array_shift ( $ parts ) ] = [ $ parts , $ callback , $ description ] ; }
Bind a callback to a command route
@param  string   $command  The command route, use ":" before a parameter for extraction.
@param  callable $callback The callback to be binded to the route.
Bind a callback to a command route