Class DotNetNuGetPush
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Uploads a NuGet package and, unless disabled, its matching symbol package.
public sealed record DotNetNuGetPush : ExecToolCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<DotNetNuGetPush>Inheritance
Implements
Properties
AllowInsecureConnections
Allows connections to package sources using HTTP.
public bool AllowInsecureConnections { get; init; }Property Value
ApiKey
The credential sent to the package source; use a DotNetDo.Secret value to keep it redacted.
public string? ApiKey { get; init; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
ConfigFile
Uses this NuGet configuration file instead of the configuration hierarchy.
public string? ConfigFile { get; init; }Property Value
DisableBuffering
Disables buffering when pushing to an HTTP(S) server.
public bool DisableBuffering { get; init; }Property Value
ForceEnglishOutput
Forces invariant English output.
public bool ForceEnglishOutput { get; init; }Property Value
Interactive
Allows the command to wait for interactive authentication or input.
public bool Interactive { get; init; }Property Value
NoServiceEndpoint
Prevents api/v2/package from being appended to the source URL.
public bool NoServiceEndpoint { get; init; }Property Value
NoSymbols
Prevents symbol packages from being pushed.
public bool NoSymbols { get; init; }Property Value
Package
The .nupkg file to upload; glob patterns are accepted by the .NET CLI.
public string? Package { get; init; }Property Value
SkipDuplicate
Skips packages whose version already exists at the source.
public bool SkipDuplicate { get; init; }Property Value
Source
The source name, path, or URL receiving the package; defaults to NuGet configuration.
public string? Source { get; init; }Property Value
SymbolApiKey
The credential sent when uploading the symbol package.
public string? SymbolApiKey { get; init; }Property Value
SymbolSource
The source name, path, or URL receiving the symbol package.
public string? SymbolSource { get; init; }Property Value
Timeout
Maximum duration allowed for a server push; rendered as whole seconds.
public TimeSpan? Timeout { get; init; }