Table of Contents

Class BunRun

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Runs a Bun file or package script and forwards trailing arguments.

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

Inheritance

Implements

Properties

Arguments

Arguments forwarded to the target.

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

Property Value

IReadOnlyList<string>

CommandParts

Gets every canonically ordered rendered command fragment.

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

Property Value

IReadOnlyList<string?>

Filters

Runs the script in every workspace matching each filter.

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

Property Value

IReadOnlyList<string>

IfPresent

Exits successfully when the target is absent.

public bool IfPresent { get; init; }

Property Value

bool

Silent

Does not print the script command.

public bool Silent { get; init; }

Property Value

bool

Target

File or package script to run.

public string? Target { get; init; }

Property Value

string?

UseBun

Forces scripts and packages to use the Bun runtime.

public bool UseBun { get; init; }

Property Value

bool

Workspaces

Runs the script in every configured workspace.

public bool Workspaces { get; init; }

Property Value

bool