We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88a6118 commit 1af84ffCopy full SHA for 1af84ff
1 file changed
src/Command/PluginCommand.php
@@ -77,7 +77,7 @@ public function execute(Arguments $args, ConsoleIo $io): ?int
77
}
78
79
$pluginPath = $this->_pluginPath($plugin);
80
- if (is_dir($pluginPath)) {
+ if (is_dir($pluginPath) && !$args->getOption('class-only')) {
81
$io->out(sprintf('Plugin: %s already exists, no action taken', $plugin));
82
$io->out(sprintf('Path: %s', $pluginPath));
83
0 commit comments