Fire the resetting command.

@param \Illuminate\Console\Command $command

@return void
975662
public function fireResettingCommand(Command $command)
    {
        $this->handleMainCommand($command);

        event(new SystemWasResetEvent());

        $command->info('System was reset!');
    }
276600
public function handle()
    {
        if (!$this->confirmToProceed()) {
            return;
        }

        $repository = modules()->location($this->option('location'));

        $this->reset($repository);
    }
969779
public function handle(): void
    {
        $this->warn($this->description);
        $this->call('migrate:reset', ['--path' => 'vendor/rinvex/laravel-tenants/database/migrations', '--force' => $this->option('force')]);
    }
1075591
public function execute(Command $command)
    {
        $handler = $this->resolver->resolve($command);

        return $handler->handle($command);
    }
750570
public function dispatch(Command $command)
    {
        // If beforeCommand fails abort
        if ($this->_eventsManager->fire('command:beforeCommand', $command) === false) {
            return false;
        }

        // If run the commands fails abort too
        if ($command->run($command->getParameters()) === false) {
            return false;
        }

        $this->_eventsManager->fire('command:afterCommand', $command);

        return true;
    }
1359322
public function enable(Command $command)
    {
        $command->call('down');

        foreach ($this->scripts as $script) {
            try {
                $this->app->make($script)->fire($command);
            } catch (\Exception $e) {
                $command->error($e->getMessage());

                return false;
            }
        }

        $command->call('up');

        return true;
    }
765551
protected void fireCommandRegistered(AbstractCommand command) {
        
        Assert.notNull(command, "command");
        
        if (commandRegistryListeners.isEmpty()) {
            return;
        }
        
        CommandRegistryEvent event = new CommandRegistryEvent(this, command);
        
        for (Iterator i = commandRegistryListeners.iterator(); i.hasNext();) {
            ((CommandRegistryListener)i.next()).commandRegistered(event);
        }
        
    }
470246
protected function fireBeforeCommandEvent($command)
	{
		$eventName = $this->commandNameToEventName($command);

		$args = [$command];

		$this->fireEvent($eventName, 'before', $args);
	}
1239392
public function fire()
	{
		$storeName = $this->argument('store');

		$this->laravel['events']->fire('cache:clearing', [$storeName]);

		$this->cache->store($storeName)->flush();

		$this->laravel['events']->fire('cache:cleared', [$storeName]);

		$this->info('Application cache cleared!');
	}
746062
public function handle(RemoveUserCommand $command)
    {
        $user = $command->user;

        event(new UserWasRemovedEvent($user));

        $user->delete();
    }
478608
public function fire()
	{
		$events = $this->schedule->dueEvents();

		$eventsRan = 0;

		foreach ( $events as $event )
		{
			if ( !$event->filtersPass( $this->laravel ) )
				continue;

			$this->line( '<info>Running scheduled command:</info> ' . $event->getSummaryForDisplay() );

			$event->run( $this->laravel );

			++$eventsRan;
		}

		if ( count( $events ) === 0 || $eventsRan === 0 )
			$this->info( 'No scheduled commands are ready to run.' );
	}
910476
public function setCommand($command): void
    {
        $this->log(
            "The command attribute is deprecated.\nPlease use the executable attribute and nested arg elements.",
            Project::MSG_WARN
        );
        $this->commandline = new Commandline($command);
        $this->executable = $this->commandline->getExecutable();
    }
873162
public function handle()
    {
        if (!$this->confirmToProceed()) {
            return;
        }

        $this->mappings->setSource($this->option('database'));

        $this->mappings->reset();

        $this->comment('Mapping repository reset successfully');
    }
1232751
final public function handle(Command $command): void
    {
        if (!$command instanceof ReceivedCommand && $this->discriminator->shouldEnqueue($command)) {
            $this->queue->send($command);

            return;
        }

        if ($command instanceof ReceivedCommand) {
            $command = $command->getOriginalCommand();
        }

        $this->wrappedCommandBus->handle($command);
    }
708935
public function handle()
    {
        $this->abortCommandExecution();
        $this->assignment = $this->argument('assignment') ? $this->argument('assignment') : $this->askAssignment();

        $this->delete_assignment();
    }
437824
protected function sendCommandToServer(string $command): void
	{
		$this->lastCommand = $command;

		$this->connection->write($command);
	}
173707
public function fire()
    {
        $component = $this->argument('component');

        if (!empty($component)) {
            $this->reset($component);

            return;
        }

        foreach (array_reverse($this->laravel['components']->all()) as $component) {
            $this->line('Running for component: <info>' . $component->getName() . '</info>');

            $this->reset($component);
        }
    }