Table of Contents

Class NuGetPush

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Publishes a package and optional symbols.

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

Inheritance

Implements

Properties

AllowInsecureConnections

Allows unencrypted HTTP package sources.

public bool AllowInsecureConnections { get; init; }

Property Value

bool

ApiKey

The redacted API key sent to the package source.

public Secret? ApiKey { get; init; }

Property Value

Secret?

CommandParts

Gets every canonically ordered rendered command fragment.

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

Property Value

IReadOnlyList<string?>

DisableBuffering

Disables request buffering while publishing.

public bool DisableBuffering { get; init; }

Property Value

bool

NoServiceEndpoint

Uses the source URL exactly instead of appending the NuGet service endpoint.

public bool NoServiceEndpoint { get; init; }

Property Value

bool

NoSymbols

Skips automatic publication of a matching symbols package.

public bool NoSymbols { get; init; }

Property Value

bool

Package

The package path or wildcard pattern to publish.

public string? Package { get; init; }

Property Value

string?

SkipDuplicate

Treats an already published package version as success.

public bool SkipDuplicate { get; init; }

Property Value

bool

Source

The package source name, path, or URL.

public string? Source { get; init; }

Property Value

string?

SymbolApiKey

The redacted API key sent to the symbols source.

public Secret? SymbolApiKey { get; init; }

Property Value

Secret?

SymbolSource

The source that receives symbols packages.

public string? SymbolSource { get; init; }

Property Value

string?

Timeout

The server timeout for the push operation.

public TimeSpan? Timeout { get; init; }

Property Value

TimeSpan?