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
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
Force
Overwrites an existing package specification.
public bool Force { get; init; }Property Value
ForceEnglishOutput
Forces English command output.
public bool ForceEnglishOutput { get; init; }Property Value
NonInteractive
Prevents interactive prompts.
public bool NonInteractive { get; init; }Property Value
PackageId
The package ID written to the generated specification.
public string? PackageId { get; init; }