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 06e6de5 commit 7ac9e1c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Cli/AbstractCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ public function prepareArgs(array $args = []): array
$args[self::ARG_GROUP_OUTPUT] = filter_var($args[self::ARG_GROUP_OUTPUT], FILTER_VALIDATE_BOOLEAN);
}

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

return \array_merge(
[
self::ARG_NAMESPACE => $namespace,
Expand Down Expand Up @@ -265,7 +269,7 @@ public function prepareSetupArgs(array $args = []): array
self::ARG_PROJECT_VERSION => $args[self::ARG_PROJECT_VERSION] ?? '1.0.0',
self::ARG_SITE_URL => $args[self::ARG_SITE_URL] ?? \site_url(),
self::ARG_LIBS_VERSION => $args[self::ARG_LIBS_VERSION] ?? '',
self::ARG_SKIP_EXISTING => 'true',
self::ARG_SKIP_EXISTING => true,
self::ARG_GROUP_OUTPUT => true,
];
}
Expand Down

0 comments on commit 7ac9e1c

Please sign in to comment.