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
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
Filters
Runs the script in every workspace matching each filter.
public IReadOnlyList<string> Filters { get; init; }Property Value
IfPresent
Exits successfully when the target is absent.
public bool IfPresent { get; init; }Property Value
Silent
Does not print the script command.
public bool Silent { get; init; }Property Value
Target
File or package script to run.
public string? Target { get; init; }Property Value
UseBun
Forces scripts and packages to use the Bun runtime.
public bool UseBun { get; init; }Property Value
Workspaces
Runs the script in every configured workspace.
public bool Workspaces { get; init; }