src/Commands/UndoBumpCommand.php
public function handle()
    {

        $this->error(str_repeat('!!! WARNING !!!',3));
        $this->error('    This will replace content of: composer.json file with content from file: composer.json-backup   !!!');
        if ($this->confirm('Are you suere? [y|N]')) {
            $this->fileHelper->restoreBackupFile();
            $this->info('Restored file: composer.json-backup into file: composer.json');
        }else {
            $this->info('Action was canceled.');
        }


 }
public function handle()
    {

        $this->error(str_repeat('!!! WARNING !!!',3));
        $this->error('    This will replace content of: composer.json file with content from file: composer.json-backup   !!!');
        if ($this->confirm('Are you suere? [y|N]')) {
            $this->fileHelper->restoreBackupFile();
            $this->info('Restored file: composer.json-backup into file: composer.json');
        }else {
            $this->info('Action was canceled.');
        }


 }
public function handle ( ) { $ this -> error ( str_repeat ( '!!! WARNING !!!' , 3 ) ) ; $ this -> error ( '    This will replace content of: composer.json file with content from file: composer.json-backup   !!!' ) ; if ( $ this -> confirm ( 'Are you suere? [y|N]' ) ) { $ this -> fileHelper -> restoreBackupFile ( ) ; $ this -> info ( 'Restored file: composer.json-backup into file: composer.json' ) ; } else { $ this -> info ( 'Action was canceled.' ) ; } }
Execute the console command.

@return mixed
Execute the console command .