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

Possibility to filter export also by scope ID #64

Open
wilfriedwolf opened this issue Jan 20, 2023 · 2 comments
Open

Possibility to filter export also by scope ID #64

wilfriedwolf opened this issue Jan 20, 2023 · 2 comments

Comments

@wilfriedwolf
Copy link

Not actually an issue, but an enhancement which I could need, an which - if wanted - I could provide an PR for:

I would add an Option --includeScopeId which allows to export e.g. only the config data for website number 42 by typing

bin/magento c:d:e --includeScope=websites --includeScopeId=42

Would that make sense in your eyes?

Best regards,

Willi

@therouv
Copy link
Contributor

therouv commented Jan 20, 2023

Hi @wilfriedwolf yes, makes total sense! Happy to merge a PR for this enhancement 👍🏼 😄

@wilfriedwolf
Copy link
Author

Hi @therouv,

I noticed that adding scope ID als written above would limit me to export data only on the website (or other level) when specifying IDs. So I proposed another way, specifying --includeScope="websites:2;3,stores:2;3;4;5" for instance. This is realized in PR #66

Best regards,
Willi

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

2 participants