Table of Contents

Class DotnetNewInstallOptions

Namespace
Invex.Atom.Module.Dotnet.Cli
Assembly
Invex.Atom.Module.Dotnet.dll
public sealed record DotnetNewInstallOptions
Inheritance
object
DotnetNewInstallOptions

Constructors

DotnetNewInstallOptions()

public DotnetNewInstallOptions()

Properties

AddSource

Specifies a NuGet source to use.

public string[]? AddSource { get; init; }

Property Value

string[]

Force

Allows installing template packages from the specified sources even if they would override a template package from another source.

public bool? Force { 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.