public function useArgCommand(): void
    {
        $this->write('input arguments:');
        $this->output->dump($this->input->getArgs());

        $this->write('input options:');
        $this->output->dump($this->input->getOpts());

        $this->write('raw argv:');
        $this->output->dump($this->input->getTokens());

        $this->write('raw argv(string):');
        $this->output->dump($this->input->getFullScript());
    }
public function useArgCommand(): void
    {
        $this->write('input arguments:');
        $this->output->dump($this->input->getArgs());

        $this->write('input options:');
        $this->output->dump($this->input->getOpts());

        $this->write('raw argv:');
        $this->output->dump($this->input->getTokens());

        $this->write('raw argv(string):');
        $this->output->dump($this->input->getFullScript());
    }
public function useArgCommand ( ) : void { $ this -> write ( 'input arguments:' ) ; $ this -> output -> dump ( $ this -> input -> getArgs ( ) ) ; $ this -> write ( 'input options:' ) ; $ this -> output -> dump ( $ this -> input -> getOpts ( ) ) ; $ this -> write ( 'raw argv:' ) ; $ this -> output -> dump ( $ this -> input -> getTokens ( ) ) ; $ this -> write ( 'raw argv(string):' ) ; $ this -> output -> dump ( $ this -> input -> getFullScript ( ) ) ; }
a example for use arguments on command
@usage home:useArg [arg1=val1 arg2=arg2] [options]
@example
home:useArg status=2 name=john arg0 -s=test --page=23 -d -rf --debug --test=false -a v1 --ab -c -g --cd val -h '' -i stat=online
home:useArg status=2 name=john name=tom name=jack arg0 -s=test --page=23 --id=23 --id=154 --id=456  -d -rf --debug --test=false
a example for use arguments on command