-
Notifications
You must be signed in to change notification settings - Fork 13
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
Sm/email-and-source-org #681
Conversation
src/commands/org/create/scratch.ts
Outdated
@@ -86,6 +84,7 @@ export default class EnvCreateScratch extends SfCommand<ScratchCreateResponse> { | |||
'duration-days': Flags.duration({ | |||
unit: 'days', | |||
defaultValue: 7, | |||
required: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point. Setting the default the "fixed" way seems to do it better (make it clear that it can't be undefined).
that didn't used to work correctly, but got fixed (while Mike was in last, I think?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yay flags.
QA Notes✅ : set ✅ : with dev hub signed up for org snapshot feature: |
What does this PR do?
flags that override the adminEmail and sourceOrg definitionFile props
What issues does this PR fix or reference?
@W-13191348@
forcedotcom/cli#2130