Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: replace command #125

Closed
BrianHenryIE opened this issue Nov 6, 2024 · 1 comment
Closed

Add: replace command #125

BrianHenryIE opened this issue Nov 6, 2024 · 1 comment

Comments

@BrianHenryIE
Copy link
Owner

BrianHenryIE commented Nov 6, 2024

Currently (slowly) working on adding a basic rename namespace command which will not rely on composer.json

strauss replace --from "YourCompany\\Project" --to "BrianHenryIE\\MyProject" --paths "includes,my-plugin.php"

A lot of refactoring needed – e.g. making the config file a composite of interfaces required by different commands; add something of a pipeline of optional steps.

master...BrianHenryIE:strauss:change-namespace-in-project-source-files

Edit: This is working in the branch but the branch has some test mock expectations failing after refactoring.

@BrianHenryIE
Copy link
Owner Author

Completed in v0.20.0

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

No branches or pull requests

1 participant