Skip to content

Fall back to magerun2 for unknown commands#67

Merged
peterjaap merged 1 commit into
mainfrom
magerun2-fallback
Apr 6, 2026
Merged

Fall back to magerun2 for unknown commands#67
peterjaap merged 1 commit into
mainfrom
magerun2-fallback

Conversation

@peterjaap
Copy link
Copy Markdown
Collaborator

When a command is not a known magebox subcommand or a custom project command, delegate to magerun2 if it is installed and actually knows the command. The project's PHP version is prepended to PATH so magerun2's shebang uses the right interpreter.

When a command is not a known magebox subcommand or a custom project
command, delegate to magerun2 if it is installed and actually knows the
command. The project's PHP version is prepended to PATH so magerun2's
shebang uses the right interpreter.
@peterjaap peterjaap merged commit 1a1cd81 into main Apr 6, 2026
11 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