Execute the command.
510232
public function fire()
    {
        $generator = new ModelGenerator([
            'name' => $this->argument('name'),
            'fillable' => $this->option('fillable'),
            'force' => $this->option('force'),
        ]);

        $generator->run();

        $this->info('Model created successfully.');
    }
601975
public function handle()
    {

        $this->modelName = $this->formatModel($this->argument('ModelName'));

        $this->slug = $this->argument('Slug');

        $this->setCrudTokens();

        $this->setFilePaths();

        if ( $this->makeCrudFiles() ) {

            $this->sendSuccessMessage();

            return;

        }

        $this->error('Oops, something went wrong!');


    }
850855
public function handle()
    {
        $force = $this->option('force');
        $options = ['--provider' => 'Encore\Admin\AdminServiceProvider'];
        if ($force == true) {
            $options['--force'] = true;
        }
        $this->call('vendor:publish', $options);
        $this->call('view:clear');
    }
884168
public function handle()
    {
        $this->abortCommandExecution();
        $command = $this->argument('git_command');
        $this->info("Running git $command on production...");

        $this->runSSH("cd $this->domain;git $command");
    }
1136739
public function handle()
    {

        $this->modelName = $this->formatModel($this->argument('ModelName'));

        $this->modelPath = $this->formatModelPath($this->argument('ModelName'));

        if ( ! $this->chartExists()){

            $this->error('Error, can\'t find ' .$this->modelName . ' chart');
            die();

        }


        if ( $this->removeChartFromFiles() ) {

            $this->sendSuccessMessage();

            return;

        }

        $this->error('Oops, something went wrong!');


    }
260810
public function execute()
    {
        $hook = preg_replace('/rocketeer\.(commands|tasks)\.(.+)/', '$2', $this->event->getName());
        $hook = explode('.', $hook);
        $hook = $hook[1].'_'.$hook[0];

        $this->prepareThenSend($hook);
    }
470604
public function handle()
    {
        $options = $this->options();
        foreach (['host', 'port', 'username', 'secret'] as $key) {
            $value = Arr::get($options, $key, null);
            $value = is_null($value) ? Arr::get($this->config, $key, null) : $value;
            $options[$key] = $value;
        }
        $client = $this->connector->create($options);
        $client->then([$this, 'client'], [$this, 'writeException']);
        $this->loop->run();
    }
1185488
public function handle()
    {
        $this->events->fire('command.updating', $this);
        $this->events->fire('command.cacheconfig', $this);
        $this->events->fire('command.cacheroutes', $this);
        $this->events->fire('command.publishvendors', $this);
        $this->events->fire('command.runmigrations', $this);
        $this->events->fire('command.updatecache', $this);
        $this->events->fire('command.extrastuff', $this);
        $this->events->fire('command.updated', $this);
    }
880510
public function handle()
    {
        $name = $this->argument('name');
        $path = $this->option('path') ? base_path().'/'.$this->option('path').'/'.$name : __DIR__.'/../../'.$name;

        if (!is_dir($path)) {
            mkdir($path, 0777, true);
            $this->info('Project root created at: '.$path);

        // Create package structure here
        } else {
            $this->error("The folder '$path' already exists");
        }
    }
1030628
public function fire()
    {
        if (is_null($this->argument('name'))) {
            $this->installFromFile();

            return;
        }

        $this->install(
            $this->argument('name'),
            $this->argument('version'),
            $this->option('type'),
            $this->option('tree')
        );
    }
888622
public function handle()
    {
        $this->files->put($this->getOutputPath(), $this->getRouteDefinitions());

        $this->info('Models scanned!');
    }
435026
public function handle()
    {
        if ($this->checkIfCanIncrement('current')) {
            $number = app('pragmarx.version')->incrementMajor();

            $this->info("New major version: {$number}");

            $this->displayAppVersion();
        }
    }
777794
public function handle()
    {
        $this->copyright();

        $locale = (string) $this->argument('locale');

        if ($this->publisher->isDefault($locale))
            $this->info("The locale [{$locale}] is a default lang and it's shipped with laravel.");
        else
            $this->publish($locale, (bool) $this->option('force'));

        $this->line('');
    }
568135
public function handle()
    {
        if (! $this->confirmToProceed()) {
            return;
        }

        $this->prepareDatabase();

        // Next, we will check to see if a path option has been defined. If it has
        // we will use the path relative to the root of this installation folder
        // so that migrations may be run for any path within the applications.
        $this->migrator->setOutput($this->output)
                ->run($this->getMigrationPaths(), [
                    'pretend' => $this->option('pretend'),
                    'step' => $this->option('step'),
                ]);

        // Finally, if the "seed" option has been given, we will re-run the database
        // seed task to re-populate the database, which is convenient when adding
        // a migration and a seed at the same time, as it is only this command.
        if ($this->option('seed') && ! $this->option('pretend')) {
            $this->call('db:seed', ['--force' => true]);
        }
    }
956049
def execute(self):
        
        self.autocomplete()
        if len(self.argv):
            cmd = self.argv[0]
            cmd_argv = self.get_argv_for_command()
            self.run_command(cmd, cmd_argv)
        else:
            self.show_help()
1116826
public function handle()
    {
        parent::handle();

        $controllerGenerator = new ControllerGenerator($this->commandData);
        $controllerGenerator->generate();

        $this->performPostActions();
    }
62510
public function handle()
    {
        \tap($this->tenant->driver($this->getDriver()), function ($migrator) {
            $this->setupMigrationOutput($migrator);

            $migrator->install(
                $this->option('database'), $this->option('id')
            );
        });
    }