Table of Contents

Class NuGetSpec

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Generates a NuGet package specification.

public sealed record NuGetSpec : NuGetCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NuGetCommand>, IEquatable<NuGetSpec>

Inheritance

Implements

Properties

AssemblyPath

The assembly used to populate package metadata.

public AbsolutePath? AssemblyPath { get; init; }

Property Value

AbsolutePath?

CommandParts

Gets every canonically ordered rendered command fragment.

protected override IReadOnlyList<string?> CommandParts { get; }

Property Value

IReadOnlyList<string?>

Force

Overwrites an existing package specification.

public bool Force { get; init; }

Property Value

bool

ForceEnglishOutput

Forces English command output.

public bool ForceEnglishOutput { get; init; }

Property Value

bool

NonInteractive

Prevents interactive prompts.

public bool NonInteractive { get; init; }

Property Value

bool

PackageId

The package ID written to the generated specification.

public string? PackageId { get; init; }

Property Value

string?