Table of Contents

Class ToolInstall

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

A command-line tool that can be checked for availability and installed when missing.

public sealed record ToolInstall : IEquatable<ToolInstall>

Properties

ExecutableName

The command expected on PATH.

public string ExecutableName { get; }

Property Value

string

IsAvailable

Whether the command can currently be found on PATH.

public bool IsAvailable { get; }

Property Value

bool

ToolName

The name used to declare the tool in dotnetdo.toml.

public string ToolName { get; }

Property Value

string

Methods

GetAwaiter()

Ensures the command is available, installing it when possible.

public TaskAwaiter GetAwaiter()

Returns

TaskAwaiter