Table of Contents

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

bool

CommandParts

Gets every canonically ordered rendered command fragment.

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

Property Value

IReadOnlyList<string?>

IncludeDelisted

Includes unlisted package versions.

public bool IncludeDelisted { get; init; }

Property Value

bool

Prerelease

Includes prerelease packages.

public bool Prerelease { get; init; }

Property Value

bool

SearchTerm

The optional package search text.

public string? SearchTerm { get; init; }

Property Value

string?

Sources

Package sources used instead of configured sources.

public IReadOnlyList<string> Sources { get; init; }

Property Value

IReadOnlyList<string>