Class NpmRun
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Runs a named package script and optionally forwards arguments after --.
public sealed record NpmRun : NpmWorkspaceCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NpmWorkspaceCommand>, IEquatable<NpmRun>Inheritance
Implements
Properties
Arguments
Arguments forwarded verbatim as individual semantic values to the script.
public IReadOnlyList<string> Arguments { get; init; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
IfPresent
Succeeds when the named script is absent.
public bool IfPresent { get; init; }Property Value
Script
The package script name.
public string? Script { get; init; }Property Value
ScriptShell
The shell used to execute scripts.
public string? ScriptShell { get; init; }