-
Notifications
You must be signed in to change notification settings - Fork 379
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
fixes dotnet/templating #3807 update subcommand #4045
fixes dotnet/templating #3807 update subcommand #4045
Conversation
templatePackageManager, | ||
templateInformationCoordinator); | ||
|
||
return await templatePackageCoordinator.EnterUpdateFlowAsync(args, context.GetCancellationToken()).ConfigureAwait(false); |
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.
No need for async/await
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.
Same thing with templatePackageManager
: we should await due to using
. Forgot comment :)
this.AddOption(CheckOnlyOption); | ||
} | ||
|
||
internal Option<bool> CheckOnlyOption { get; } = new("--check-only") |
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.
Should we consider "--dry-run"? Are there similar options in .NET SDK we could use same option?
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.
tool
and workload
doesn't have this feature, anything else?
I think we need to double check this name anyway, my first option was just --check
but I'm not sure how clear it is. I will add --dry-run
alias.
* fixes dotnet/templating dotnet#3807 update subcommand
* fixes dotnet/templating #3807 update subcommand
* fixes dotnet/templating #3807 update subcommand
* fixes dotnet/templating dotnet#3807 update subcommand
* fixes dotnet/templating #3807 update subcommand
* fixes dotnet/templating #3807 update subcommand
* fixes dotnet/templating #3807 update subcommand
Problem
fixes dotnet/templating #3807
Solution
implements update subcommand
Checks:
#nullable enable
to all the modified files ?