Ability to specify default location of new files #2370
ImJohnMDaniel
started this conversation in
Ideas
Replies: 1 comment
-
|
Another alternative: if you know what you're pulling, you can use |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Currently, when you create a new file, metadata, flow, etc in a scratch org and then execute the
force:source:pullcommand, the files automatically show up in the<projectDirectory--default:true>/main/defaultfolder. The concept of "default" doesn't always make sense and I would like control over it.What are you trying to do
I want a way to adjust the default location directory pattern from "/main/default" to something else
Describe the solution you'd like
Probably the simplest approach would be to either add a new environment variable to override the default location or allow a new attribute in the pacakgeDirectory section of the sfdx-project.json to allow an override.
Describe alternatives you've considered
Right now there is no alternative.
Additional context
Beta Was this translation helpful? Give feedback.
All reactions