Allow wildcards in force:source:retrieve/deploy #2363
Closed
catalandres
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
Is there any update on this? It would be a great feature. |
Beta Was this translation helpful? Give feedback.
1 reply
-
delivered in sf v2.4.8 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
I am trying to download only the classes related to a project in an org. We have named them consistently with a prefix and we would like to be able to retrieve and deploy only a subset of them. That way we will not risk overwriting another team's progress by deploying a past version of a file unrelated to our project.
What are you trying to do
See above.
Describe the solution you'd like
sfdx force:source:retrieve -m 'ApexClass:SomePrefix_*'
should put in theclasses
folder only the classes that begin withSomePrefix_
.Describe alternatives you've considered
The one alternative that I can think for a wildcard retrieval would be to manually delete any files that are not in scope after the retrieval.
The alternative to a deployment with a wildcard (if it is not viable to delete files upon retrieval) is to list all the necessary classes one by one.
Additional context
Not applicable.
Beta Was this translation helpful? Give feedback.
All reactions