Skip to content

fix(sync-assets): drop redundant --quiet option - #7

Merged
maherelgamil merged 1 commit into
mainfrom
fix/sync-assets-duplicate-quiet
May 28, 2026
Merged

fix(sync-assets): drop redundant --quiet option#7
maherelgamil merged 1 commit into
mainfrom
fix/sync-assets-duplicate-quiet

Conversation

@maherelgamil

Copy link
Copy Markdown
Contributor

Summary

Laravel's base `Illuminate\Console\Command` already registers `--quiet` as a global option. Declaring it again in the `monorail:sync-assets` signature throws the moment the command is resolved:

```
An option named "quiet" already exists.
```

This makes the command completely unusable in v0.4.0. Reproduced in a host app upgrading from 0.3.1 → 0.4.0.

Fix

Drop the redundant option from the signature — `--quiet` still works out of the box via Laravel.

Needs a quick patch release (v0.4.1).

Laravel's base Command already registers `--quiet` as a global option, so
declaring it in the signature throws `LogicException: An option named
"quiet" already exists.` the moment the command is resolved.
@maherelgamil
maherelgamil merged commit 7201204 into main May 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant