Skip to content

Commit

Permalink
initi
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed May 14, 2024
1 parent db4242c commit 06e6de5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Cli/AbstractCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ public function prepareArgs(array $args = []): array

$namespace = $composerFile ? \rtrim(\array_key_first($composerFile['autoload']['psr-4']), '\\') : 'EightshiftBoilerplate';

if (isset($args[self::ARG_GROUP_OUTPUT])) {
$args[self::ARG_GROUP_OUTPUT] = filter_var($args[self::ARG_GROUP_OUTPUT], FILTER_VALIDATE_BOOLEAN);
}

return \array_merge(
[
self::ARG_NAMESPACE => $namespace,
Expand Down

0 comments on commit 06e6de5

Please sign in to comment.