Table of Contents

Class ScoopConfig

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Reads, writes, or removes settings in Scoop's configuration file.

public sealed record ScoopConfig : ScoopCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<ScoopCommand>, IEquatable<ScoopConfig>

Inheritance

Implements

Properties

CommandParts

Gets every canonically ordered rendered command fragment.

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

Property Value

IReadOnlyList<string?>

Name

The setting to read, write, or remove; when omitted, all settings are shown.

public string? Name { get; init; }

Property Value

string?

Remove

Removes the named setting.

public bool Remove { get; init; }

Property Value

bool

Value

The new setting value; when omitted, the current value is shown.

public string? Value { get; init; }

Property Value

string?