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
Dev
Saves packages as development dependencies.
public bool Dev { get; init; }Property Value
Exact
Saves exact versions.
public bool Exact { get; init; }Property Value
Optional
Saves packages as optional dependencies.
public bool Optional { get; init; }Property Value
Peer
Saves packages as peer dependencies.
public bool Peer { get; init; }