-
Notifications
You must be signed in to change notification settings - Fork 78
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
sfdx org create scratch
should support key=value pairs as sfdx force:org:create
did
#2016
Comments
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments. |
This issue has been linked to a new work item: W-12746098 |
would new flags cover your use cases instead of values/args The reason we prefer flags is that they can have help, or support multiple values, and validate allowed options (ex: release only allows certain things). |
@mshanemc Great idea! Love it! |
oh, a help group just for the "flags that override the config file" ? Makes sense. |
I still like the idea of creating new flags (especially for fields that caused trouble in the past like "release"). What about custom fields on ScratchOrgInfo? |
I don't have any data about custom fields on ScratchOrgInfo. We also don't read the varArgs in telemetry (trying to keep confidential data out of logs), only which flags are being used (but not values). So we don't have data. I'm hoping people will tell us, like you did, about what they need on the new command. |
I just raised this question in the |
Is your feature request related to a problem? Please describe.
The new
sfdx org create scratch
command does not allow overriding values from the configuration file which thesfdx force:org:create
command did allow.What are you trying to do
When creating Scratch Orgs I want to be able to pass dynamic for values like
username
description
orgName
release
I don't want to write them to a config file first.
Describe the solution you'd like
Pass overrides as
sfdx org create user [email protected] [email protected] permsets=DreamHouse
sfdx data create record --sobject Account --values "Name='Universal Containers' Website=www.example.com"
Describe alternatives you've considered
Staying on
sfdx force:org:create
, not updating tosfdx org create scratch
Additional context
I'd like to offer my help here.
If you think this is a good idea for a contribution, please tell me which style you'd prefer.
The text was updated successfully, but these errors were encountered: