-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Improve the example with specified language when language option is given with invalid option #28135
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
Improve the example with specified language when language option is given with invalid option #28135
Conversation
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.
This looks awesome, and I'm very happy to see how easy it is to build command examples with the infrastructure the templating team has put in place. Nice work @GangWang01!
63bfff6
to
fafa117
Compare
Agreed to retarget to 7.0.2xx. |
fafa117
to
fc7d290
Compare
Retargeted to 7.0.2xx |
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.
Please review the possibility of having other types than bool
and string
.
src/Cli/Microsoft.TemplateEngine.Cli/Commands/create/InstantiateCommand.NoMatchHandling.cs
Outdated
Show resolved
Hide resolved
src/Cli/Microsoft.TemplateEngine.Cli/Commands/create/TemplateOptionResult.cs
Outdated
Show resolved
Hide resolved
fc7d290
to
cd23732
Compare
@JanKrivanek I accidently removed you from reviewers. Please take a look if you have time. |
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.
Looks good now, thank you for adding the tests!
Problem
Solution
Checks:
#nullable enable
to all the modified files ?