Table of Contents

Class BunDependencyCommand

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Shared options for Bun dependency installation operations.

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

Inheritance

Derived

Implements

Properties

DependencyParts

Renders shared dependency options in Bun help order.

protected IReadOnlyList<string?> DependencyParts { get; }

Property Value

IReadOnlyList<string?>

DryRun

Reports intended changes without applying them.

public bool DryRun { get; init; }

Property Value

bool

Force

Forces dependency resolution and reinstallation.

public bool Force { get; init; }

Property Value

bool

FrozenLockfile

Disallows lockfile changes.

public bool FrozenLockfile { get; init; }

Property Value

bool

Global

Installs globally.

public bool Global { get; init; }

Property Value

bool

IgnoreScripts

Skips lifecycle scripts.

public bool IgnoreScripts { get; init; }

Property Value

bool

Linker

Dependency linker strategy.

public BunLinker? Linker { get; init; }

Property Value

BunLinker?

Omit

Dependency types omitted from installation.

public IReadOnlyList<BunDependencyType> Omit { get; init; }

Property Value

IReadOnlyList<BunDependencyType>

Packages

Package specifications operated on by the command.

public IReadOnlyList<string> Packages { get; init; }

Property Value

IReadOnlyList<string>

Registry

Registry used instead of configured defaults.

public string? Registry { get; init; }

Property Value

string?