/**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $package = $this->input->getArgument('package');
     if (!is_null($path = $this->getPath())) {
         $this->config->publish($package, $path);
     } else {
         $this->config->publishPackage($package);
     }
     $this->output->writeln('<info>Configuration published for package:</info> ' . $package);
 }
 /**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $package = $this->input->getArgument('package');
     $proceed = $this->confirmToProceed('Config Already Published!', function () use($package) {
         return $this->config->alreadyPublished($package);
     });
     if (!$proceed) {
         return;
     }
     if (!is_null($path = $this->getPath())) {
         $this->config->publish($package, $path);
     } else {
         $this->config->publishPackage($package);
     }
     $this->output->writeln('<info>Configuration published for package:</info> ' . $package);
 }