Class DotnetToolUninstallOptions
- Namespace
- Invex.Atom.Module.Dotnet.Cli
- Assembly
- Invex.Atom.Module.Dotnet.dll
public sealed record DotnetToolUninstallOptions
- Inheritance
-
objectDotnetToolUninstallOptions
Constructors
DotnetToolUninstallOptions()
public DotnetToolUninstallOptions()
Properties
Global
Uninstall the tool from the current user's tools directory.
public bool? Global { get; init; }
Property Value
- bool?
Local
Uninstall the tool and remove it from the local tool manifest.
public bool? Local { get; init; }
Property Value
- bool?
ToolManifest
Path to the manifest file.
public string? ToolManifest { get; init; }
Property Value
- string
ToolPath
The directory containing the tool to uninstall.
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.