Class DotnetNewUpdateOptions
- Namespace
- Invex.Atom.Module.Dotnet.Cli
- Assembly
- Invex.Atom.Module.Dotnet.dll
public sealed record DotnetNewUpdateOptions
- Inheritance
-
objectDotnetNewUpdateOptions
Constructors
DotnetNewUpdateOptions()
public DotnetNewUpdateOptions()
Properties
AddSource
Specifies a NuGet source to use.
public string[]? AddSource { get; init; }
Property Value
- string[]
CheckOnly
Only checks for updates and display the template packages to be updated without applying update.
public bool? CheckOnly { get; init; }
Property Value
- bool?
Interactive
Allows the command to stop and wait for user input or action (for example to complete authentication).
public bool? Interactive { get; init; }
Property Value
- bool?
Methods
ToArguments()
Converts these options to individual command-line arguments, in schema order.
public IReadOnlyList<string> ToArguments()
Returns
- IReadOnlyList<string>
The arguments. Each option name and each value is a separate element, so values need no quoting.