Class NuGetList
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Lists packages from configured sources.
public sealed record NuGetList : NuGetConfiguredCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NuGetCommand>, IEquatable<NuGetConfiguredCommand>, IEquatable<NuGetList>Inheritance
Implements
Properties
AllVersions
Lists every available version instead of only the latest.
public bool AllVersions { get; init; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
IncludeDelisted
Includes unlisted package versions.
public bool IncludeDelisted { get; init; }Property Value
Prerelease
Includes prerelease packages.
public bool Prerelease { get; init; }Property Value
SearchTerm
The optional package search text.
public string? SearchTerm { get; init; }Property Value
Sources
Package sources used instead of configured sources.
public IReadOnlyList<string> Sources { get; init; }