public function get_args($name){
    if ( $this->checked ){
      $cmd_name = str_replace('_', '-', $name);
      return isset($this->commands[$cmd_name], $this->commands[$cmd_name]['args']) ? $this->commands[$cmd_name]['args'] : [];
    }
  }
public function get_args($name){
    if ( $this->checked ){
      $cmd_name = str_replace('_', '-', $name);
      return isset($this->commands[$cmd_name], $this->commands[$cmd_name]['args']) ? $this->commands[$cmd_name]['args'] : [];
    }
  }
public function get_args ( $ name ) { if ( $ this -> checked ) { $ cmd_name = str_replace ( '_' , '-' , $ name ) ; return isset ( $ this -> commands [ $ cmd_name ] , $ this -> commands [ $ cmd_name ] [ 'args' ] ) ? $ this -> commands [ $ cmd_name ] [ 'args' ] : [ ] ; } }
Returns the arguments description of a given command
@param $name The command name
@return array
Returns the arguments description of a given command