Table of Contents

Class DotnetToolListOptions

Namespace
Invex.Atom.Module.Dotnet.Cli
Assembly
Invex.Atom.Module.Dotnet.dll
public sealed record DotnetToolListOptions
Inheritance
object
DotnetToolListOptions

Constructors

DotnetToolListOptions()

public DotnetToolListOptions()

Properties

Format

The output format for the list of tools.

public string? Format { get; init; }

Property Value

string

Global

List tools installed for the current user.

public bool? Global { get; init; }

Property Value

bool?

Local

List the tools installed in the local tool manifest.

public bool? Local { get; init; }

Property Value

bool?

ToolPath

The directory containing the tools to list.

public string? ToolPath { get; init; }

Property Value

string

Methods

ToArguments()

Converts these options to individual command-line arguments, in schema order.

public IReadOnlyList<string> ToArguments()

Returns

IReadOnlyList<string>

The arguments. Each option name and each value is a separate element, so values need no quoting.