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
IsAvailable
Whether the command can currently be found on PATH.
public bool IsAvailable { get; }Property Value
ToolName
The name used to declare the tool in dotnetdo.toml.
public string ToolName { get; }Property Value
Methods
GetAwaiter()
Ensures the command is available, installing it when possible.
public TaskAwaiter GetAwaiter()