Skip to content

Commit

Permalink
style(command): delete skip refactor option & add reason message
Browse files Browse the repository at this point in the history
  • Loading branch information
holiq committed Oct 10, 2023
1 parent 669f442 commit 6f09896
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class InstallCommand extends Command
{
use HasArguments;

protected $signature = 'domain:install {domain} {--skip-refactor}';
protected $signature = 'domain:install {domain}';

protected $description = 'Install the Domain Driven Structure in your project';

Expand Down Expand Up @@ -79,6 +79,8 @@ protected function resolveNamespace(): string
return Layer::infrastructure->resolveNamespace(prefix: $this->resolveDomainArgument() . '\\', suffix: '\\Laravel\\Providers');
}

// disable auto refactor app path for now, because we need further planning
//
// protected function resolveRefactor(): void
// {
// if (! $this->option('skip-refactor')) {
Expand Down

0 comments on commit 6f09896

Please sign in to comment.