/**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     if (parent::fire() !== false) {
         if ($this->option('migration')) {
             $table = Str::plural(Str::snake(class_basename($this->argument('name'))));
             $this->call('make:rethink-migration', ['name' => "create_{$table}_table", '--create' => $table]);
         }
     }
 }
 /**
  * {@inheritdoc}
  */
 protected function getOptions()
 {
     $parent = parent::getOptions();
     $parent[] = ['soft-deletes', 's', InputOption::VALUE_NONE, 'Generate model class with soft deletes.'];
     return $parent;
 }