/**
  * Execute the console command.
  */
 public function handle()
 {
     $this->makeDir('Settings');
     $namespace = NameResolver::getAppNamespace() . 'Settings';
     $resourceName = ucfirst($this->argument('resource'));
     $this->writeConfig($namespace, $resourceName);
     $this->info("{$resourceName} settings file successfully created!");
 }
 /**
  * Execute the console command.
  */
 public function handle()
 {
     $this->makeDir('Settings');
     $this->makeDir('Settings/Resources');
     $namespace = NameResolver::getAppNamespace() . 'Settings\\Resources';
     $this->writeRulesFile($namespace);
     $this->info('Rules file successfully created!');
 }