Table of Contents

Class BunAdd

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Adds packages to the current package manifest and installs them.

public sealed record BunAdd : BunDependencyCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<BunCommand>, IEquatable<BunDependencyCommand>, IEquatable<BunAdd>

Inheritance

Implements

Properties

CommandParts

Gets every canonically ordered rendered command fragment.

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

Property Value

IReadOnlyList<string?>

Dev

Saves packages as development dependencies.

public bool Dev { get; init; }

Property Value

bool

Exact

Saves exact versions.

public bool Exact { get; init; }

Property Value

bool

Optional

Saves packages as optional dependencies.

public bool Optional { get; init; }

Property Value

bool

Peer

Saves packages as peer dependencies.

public bool Peer { get; init; }

Property Value

bool