diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0513212e..f0f5e68c 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,4 +1,4 @@
-name: Pure.DI check
+name: CSharpInteractive check
on: [ push, pull_request ]
diff --git a/.run/Get version.run.xml b/.run/Get version.run.xml
new file mode 100644
index 00000000..f31683a8
--- /dev/null
+++ b/.run/Get version.run.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Build/Program.cs b/Build/Program.cs
index 3bf17f33..5e0c599a 100644
--- a/Build/Program.cs
+++ b/Build/Program.cs
@@ -58,7 +58,7 @@
false)
};
-new DotNetToolRestore().WithShortName("Restoring tools").Run().EnsureSuccess();
+new DotNetToolRestore().Run().EnsureSuccess();
new DotNetClean()
.WithProject(solutionFile)
@@ -173,8 +173,9 @@
}
}
-var uninstallTool = new DotNetCustom("tool", "uninstall", toolPackageId, "-g")
- .WithShortName("Uninstalling tool");
+var uninstallTool = new DotNetToolUninstall()
+ .WithPackage(toolPackageId)
+ .WithGlobal(true);
if (uninstallTool.Run(_ => { }).ExitCode != 0)
{
@@ -191,8 +192,15 @@
Environment.SetEnvironmentVariable("PATH", pathEnvVar);
}
-var installTool = new DotNetCustom("tool", "install", toolPackageId, "-g", "--version", packageVersion.ToString(), "--add-source", Path.Combine(outputDir, "CSharpInteractive.Tool"))
- .WithShortName("Installing tool");
+await new DotNetBuild()
+ .WithProject(Path.Combine("Samples", "MySampleLib"))
+ .BuildAsync().EnsureSuccess();
+
+var installTool = new DotNetToolInstall()
+ .WithPackage(toolPackageId)
+ .WithGlobal(true)
+ .WithVersion(packageVersion.ToString())
+ .AddSources(Path.Combine(outputDir, "CSharpInteractive.Tool"));
installTool.Run(output =>
{
@@ -200,10 +208,10 @@
WriteLine(output.Line);
}).EnsureSuccess(_ => true);
-new DotNetCustom("csi", "/?").WithShortName("Checking tool").Run().EnsureSuccess();
+new DotNetCsi().WithVersion(true).WithShortName("Checking csi tool").Run().EnsureSuccess();
-var uninstallTemplates = new DotNetCustom("new", "uninstall", templatesPackageId)
- .WithShortName("Uninstalling template");
+var uninstallTemplates = new DotNetNewUninstall()
+ .WithPackage(templatesPackageId);
uninstallTemplates.Run(output =>
{
@@ -211,10 +219,11 @@
WriteLine(output.Line);
}).EnsureSuccess(_ => true);
-var installTemplates = new DotNetCustom("new", "install", $"{templatesPackageId}::{packageVersion.ToString()}", "--nuget-source", templateOutputDir)
- .WithShortName("Installing template");
+var installTemplates = new DotNetNewInstall()
+ .WithPackage($"{templatesPackageId}::{packageVersion.ToString()}")
+ .AddSources(templateOutputDir);
-installTemplates.WithShortName(installTemplates.ShortName).Run().EnsureSuccess();
+installTemplates.Run().EnsureSuccess();
foreach (var framework in frameworks)
{
await CheckCompatibilityAsync(framework, packageVersion, defaultNuGetSource, outputDir);
@@ -222,11 +231,10 @@
if (!string.IsNullOrWhiteSpace(apiKey) && packageVersion.Release != "dev" && packageVersion.Release != "dev")
{
- var push = new DotNetNuGetPush().WithApiKey(apiKey).WithSources(defaultNuGetSource);
+ var push = new DotNetNuGetPush().WithApiKey(apiKey).WithSource(defaultNuGetSource);
foreach (var package in packages.Where(i => i.Publish))
{
push.WithPackage(package.Package)
- .WithShortName($"Pushing {Path.GetFileName(package.Package)}")
.Build().EnsureSuccess();
}
}
@@ -269,27 +277,28 @@ async Task CheckCompatibilityAsync(
try
{
var sampleProjectDir = Path.Combine("Samples", "MySampleLib", "MySampleLib.Tests");
- await new DotNetNew("build", $"--version={nuGetVersion}", "-T", framework, "--no-restore")
+ await new DotNetNew()
+ .WithTemplateName("build")
+ .WithNoRestore(true)
+ .WithArgs($"--version={nuGetVersion}", "-T", framework)
.WithWorkingDirectory(buildProjectDir)
- .WithShortName($"Creating a new {sampleProjectName}")
.RunAsync().EnsureSuccess();
await new DotNetBuild()
.WithProject(buildProjectDir)
.WithSources(nuGetSource, Path.Combine(output, "CSharpInteractive"))
- .WithShortName($"Building the {sampleProjectName}")
.BuildAsync().EnsureSuccess();
await new DotNetRun()
- .WithProject(buildProjectDir)
+ .WithWorkingDirectory(buildProjectDir)
+ .WithNoRestore(true)
.WithNoBuild(true)
- .WithWorkingDirectory(sampleProjectDir)
- .WithShortName($"Running a build for the {sampleProjectName}")
+ .WithFramework(framework)
.RunAsync().EnsureSuccess();
- await new DotNetCustom("csi", Path.Combine(buildProjectDir, "Program.csx"))
+ await new DotNetCsi()
+ .WithScript(Path.Combine(buildProjectDir, "Program.csx"))
.WithWorkingDirectory(sampleProjectDir)
- .WithShortName($"Running a build as a C# script for the {sampleProjectName}")
.RunAsync().EnsureSuccess();
}
finally
diff --git a/CSharpInteractive.HostApi/CSharpInteractive.HostApi.csproj b/CSharpInteractive.HostApi/CSharpInteractive.HostApi.csproj
index 3f9f4ec1..0ef20de6 100644
--- a/CSharpInteractive.HostApi/CSharpInteractive.HostApi.csproj
+++ b/CSharpInteractive.HostApi/CSharpInteractive.HostApi.csproj
@@ -30,15 +30,20 @@
- TrueTrue
+ TrueCommandLines.tt
-
+
+ DotNetCommands.cs
+ TextTemplatingFileGenerator
+
+
+ TrueTrue
- CommandLines.tt
+ DotNetCommands.tt
diff --git a/CSharpInteractive.HostApi/CommandLines.cs b/CSharpInteractive.HostApi/CommandLines.cs
index b255a3f4..e06c7086 100644
--- a/CSharpInteractive.HostApi/CommandLines.cs
+++ b/CSharpInteractive.HostApi/CommandLines.cs
@@ -1,6 +1,6 @@
// ReSharper disable InconsistentNaming
namespace HostApi;
-
+
[ExcludeFromCodeCoverage]
public partial record CommandLine: ICommandLine
{
@@ -70,7 +70,7 @@ public partial record CommandLine: ICommandLine
}
[ExcludeFromCodeCoverage]
-public partial record DotNetBuild: ICommandLine
+public partial record DotNetCustom: ICommandLine
{
///
/// Appends an argument.
@@ -78,7 +78,7 @@ public partial record DotNetBuild: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetBuild operator +(DotNetBuild command, string arg) => command.AddArgs(arg);
+ public static DotNetCustom operator +(DotNetCustom command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -86,7 +86,7 @@ public partial record DotNetBuild: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetBuild operator -(DotNetBuild command, string arg) => command.RemoveArgs(arg);
+ public static DotNetCustom operator -(DotNetCustom command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -94,7 +94,7 @@ public partial record DotNetBuild: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetBuild operator +(DotNetBuild command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetCustom operator +(DotNetCustom command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -102,7 +102,7 @@ public partial record DotNetBuild: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetBuild operator -(DotNetBuild command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetCustom operator -(DotNetCustom command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -110,7 +110,7 @@ public partial record DotNetBuild: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetBuild operator +(DotNetBuild command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetCustom operator +(DotNetCustom command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -118,7 +118,7 @@ public partial record DotNetBuild: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetBuild operator -(DotNetBuild command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetCustom operator -(DotNetCustom command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -126,7 +126,7 @@ public partial record DotNetBuild: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetBuild operator +(DotNetBuild command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetCustom operator +(DotNetCustom command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -134,11 +134,11 @@ public partial record DotNetBuild: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetBuild operator -(DotNetBuild command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetCustom operator -(DotNetCustom command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetBuildServerShutdown: ICommandLine
+public partial record DotNet: ICommandLine
{
///
/// Appends an argument.
@@ -146,7 +146,7 @@ public partial record DotNetBuildServerShutdown: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetBuildServerShutdown operator +(DotNetBuildServerShutdown command, string arg) => command.AddArgs(arg);
+ public static DotNet operator +(DotNet command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -154,7 +154,7 @@ public partial record DotNetBuildServerShutdown: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetBuildServerShutdown operator -(DotNetBuildServerShutdown command, string arg) => command.RemoveArgs(arg);
+ public static DotNet operator -(DotNet command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -162,7 +162,7 @@ public partial record DotNetBuildServerShutdown: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetBuildServerShutdown operator +(DotNetBuildServerShutdown command, IEnumerable args) => command.AddArgs(args);
+ public static DotNet operator +(DotNet command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -170,7 +170,7 @@ public partial record DotNetBuildServerShutdown: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetBuildServerShutdown operator -(DotNetBuildServerShutdown command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNet operator -(DotNet command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -178,7 +178,7 @@ public partial record DotNetBuildServerShutdown: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetBuildServerShutdown operator +(DotNetBuildServerShutdown command, (string name, string value) var) => command.AddVars(var);
+ public static DotNet operator +(DotNet command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -186,7 +186,7 @@ public partial record DotNetBuildServerShutdown: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetBuildServerShutdown operator -(DotNetBuildServerShutdown command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNet operator -(DotNet command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -194,7 +194,7 @@ public partial record DotNetBuildServerShutdown: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetBuildServerShutdown operator +(DotNetBuildServerShutdown command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNet operator +(DotNet command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -202,11 +202,11 @@ public partial record DotNetBuildServerShutdown: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetBuildServerShutdown operator -(DotNetBuildServerShutdown command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNet operator -(DotNet command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetClean: ICommandLine
+public partial record DotNetExec: ICommandLine
{
///
/// Appends an argument.
@@ -214,7 +214,7 @@ public partial record DotNetClean: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetClean operator +(DotNetClean command, string arg) => command.AddArgs(arg);
+ public static DotNetExec operator +(DotNetExec command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -222,7 +222,7 @@ public partial record DotNetClean: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetClean operator -(DotNetClean command, string arg) => command.RemoveArgs(arg);
+ public static DotNetExec operator -(DotNetExec command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -230,7 +230,7 @@ public partial record DotNetClean: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetClean operator +(DotNetClean command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetExec operator +(DotNetExec command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -238,7 +238,7 @@ public partial record DotNetClean: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetClean operator -(DotNetClean command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetExec operator -(DotNetExec command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -246,7 +246,7 @@ public partial record DotNetClean: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetClean operator +(DotNetClean command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetExec operator +(DotNetExec command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -254,7 +254,7 @@ public partial record DotNetClean: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetClean operator -(DotNetClean command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetExec operator -(DotNetExec command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -262,7 +262,7 @@ public partial record DotNetClean: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetClean operator +(DotNetClean command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetExec operator +(DotNetExec command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -270,11 +270,11 @@ public partial record DotNetClean: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetClean operator -(DotNetClean command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetExec operator -(DotNetExec command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetCustom: ICommandLine
+public partial record DotNetAddPackage: ICommandLine
{
///
/// Appends an argument.
@@ -282,7 +282,7 @@ public partial record DotNetCustom: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetCustom operator +(DotNetCustom command, string arg) => command.AddArgs(arg);
+ public static DotNetAddPackage operator +(DotNetAddPackage command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -290,7 +290,7 @@ public partial record DotNetCustom: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetCustom operator -(DotNetCustom command, string arg) => command.RemoveArgs(arg);
+ public static DotNetAddPackage operator -(DotNetAddPackage command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -298,7 +298,7 @@ public partial record DotNetCustom: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetCustom operator +(DotNetCustom command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetAddPackage operator +(DotNetAddPackage command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -306,7 +306,7 @@ public partial record DotNetCustom: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetCustom operator -(DotNetCustom command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetAddPackage operator -(DotNetAddPackage command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -314,7 +314,7 @@ public partial record DotNetCustom: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetCustom operator +(DotNetCustom command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetAddPackage operator +(DotNetAddPackage command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -322,7 +322,7 @@ public partial record DotNetCustom: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetCustom operator -(DotNetCustom command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetAddPackage operator -(DotNetAddPackage command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -330,7 +330,7 @@ public partial record DotNetCustom: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetCustom operator +(DotNetCustom command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetAddPackage operator +(DotNetAddPackage command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -338,11 +338,11 @@ public partial record DotNetCustom: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetCustom operator -(DotNetCustom command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetAddPackage operator -(DotNetAddPackage command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetNew: ICommandLine
+public partial record DotNetListPackage: ICommandLine
{
///
/// Appends an argument.
@@ -350,7 +350,7 @@ public partial record DotNetNew: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetNew operator +(DotNetNew command, string arg) => command.AddArgs(arg);
+ public static DotNetListPackage operator +(DotNetListPackage command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -358,7 +358,7 @@ public partial record DotNetNew: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetNew operator -(DotNetNew command, string arg) => command.RemoveArgs(arg);
+ public static DotNetListPackage operator -(DotNetListPackage command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -366,7 +366,7 @@ public partial record DotNetNew: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetNew operator +(DotNetNew command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetListPackage operator +(DotNetListPackage command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -374,7 +374,7 @@ public partial record DotNetNew: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetNew operator -(DotNetNew command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetListPackage operator -(DotNetListPackage command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -382,7 +382,7 @@ public partial record DotNetNew: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetNew operator +(DotNetNew command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetListPackage operator +(DotNetListPackage command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -390,7 +390,7 @@ public partial record DotNetNew: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetNew operator -(DotNetNew command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetListPackage operator -(DotNetListPackage command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -398,7 +398,7 @@ public partial record DotNetNew: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetNew operator +(DotNetNew command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetListPackage operator +(DotNetListPackage command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -406,11 +406,11 @@ public partial record DotNetNew: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetNew operator -(DotNetNew command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetListPackage operator -(DotNetListPackage command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetNuGetPush: ICommandLine
+public partial record DotNetRemovePackage: ICommandLine
{
///
/// Appends an argument.
@@ -418,7 +418,7 @@ public partial record DotNetNuGetPush: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetNuGetPush operator +(DotNetNuGetPush command, string arg) => command.AddArgs(arg);
+ public static DotNetRemovePackage operator +(DotNetRemovePackage command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -426,7 +426,7 @@ public partial record DotNetNuGetPush: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetNuGetPush operator -(DotNetNuGetPush command, string arg) => command.RemoveArgs(arg);
+ public static DotNetRemovePackage operator -(DotNetRemovePackage command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -434,7 +434,7 @@ public partial record DotNetNuGetPush: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetNuGetPush operator +(DotNetNuGetPush command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetRemovePackage operator +(DotNetRemovePackage command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -442,7 +442,7 @@ public partial record DotNetNuGetPush: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetNuGetPush operator -(DotNetNuGetPush command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetRemovePackage operator -(DotNetRemovePackage command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -450,7 +450,7 @@ public partial record DotNetNuGetPush: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetNuGetPush operator +(DotNetNuGetPush command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetRemovePackage operator +(DotNetRemovePackage command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -458,7 +458,7 @@ public partial record DotNetNuGetPush: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetNuGetPush operator -(DotNetNuGetPush command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetRemovePackage operator -(DotNetRemovePackage command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -466,7 +466,7 @@ public partial record DotNetNuGetPush: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetNuGetPush operator +(DotNetNuGetPush command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetRemovePackage operator +(DotNetRemovePackage command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -474,11 +474,11 @@ public partial record DotNetNuGetPush: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetNuGetPush operator -(DotNetNuGetPush command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetRemovePackage operator -(DotNetRemovePackage command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetPack: ICommandLine
+public partial record DotNetAddReference: ICommandLine
{
///
/// Appends an argument.
@@ -486,7 +486,7 @@ public partial record DotNetPack: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetPack operator +(DotNetPack command, string arg) => command.AddArgs(arg);
+ public static DotNetAddReference operator +(DotNetAddReference command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -494,7 +494,7 @@ public partial record DotNetPack: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetPack operator -(DotNetPack command, string arg) => command.RemoveArgs(arg);
+ public static DotNetAddReference operator -(DotNetAddReference command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -502,7 +502,7 @@ public partial record DotNetPack: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetPack operator +(DotNetPack command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetAddReference operator +(DotNetAddReference command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -510,7 +510,7 @@ public partial record DotNetPack: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetPack operator -(DotNetPack command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetAddReference operator -(DotNetAddReference command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -518,7 +518,7 @@ public partial record DotNetPack: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetPack operator +(DotNetPack command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetAddReference operator +(DotNetAddReference command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -526,7 +526,7 @@ public partial record DotNetPack: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetPack operator -(DotNetPack command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetAddReference operator -(DotNetAddReference command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -534,7 +534,7 @@ public partial record DotNetPack: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetPack operator +(DotNetPack command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetAddReference operator +(DotNetAddReference command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -542,11 +542,11 @@ public partial record DotNetPack: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetPack operator -(DotNetPack command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetAddReference operator -(DotNetAddReference command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetPublish: ICommandLine
+public partial record DotNetListReference: ICommandLine
{
///
/// Appends an argument.
@@ -554,7 +554,7 @@ public partial record DotNetPublish: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetPublish operator +(DotNetPublish command, string arg) => command.AddArgs(arg);
+ public static DotNetListReference operator +(DotNetListReference command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -562,7 +562,7 @@ public partial record DotNetPublish: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetPublish operator -(DotNetPublish command, string arg) => command.RemoveArgs(arg);
+ public static DotNetListReference operator -(DotNetListReference command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -570,7 +570,7 @@ public partial record DotNetPublish: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetPublish operator +(DotNetPublish command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetListReference operator +(DotNetListReference command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -578,7 +578,7 @@ public partial record DotNetPublish: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetPublish operator -(DotNetPublish command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetListReference operator -(DotNetListReference command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -586,7 +586,7 @@ public partial record DotNetPublish: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetPublish operator +(DotNetPublish command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetListReference operator +(DotNetListReference command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -594,7 +594,7 @@ public partial record DotNetPublish: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetPublish operator -(DotNetPublish command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetListReference operator -(DotNetListReference command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -602,7 +602,7 @@ public partial record DotNetPublish: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetPublish operator +(DotNetPublish command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetListReference operator +(DotNetListReference command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -610,11 +610,11 @@ public partial record DotNetPublish: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetPublish operator -(DotNetPublish command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetListReference operator -(DotNetListReference command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetRestore: ICommandLine
+public partial record DotNetRemoveReference: ICommandLine
{
///
/// Appends an argument.
@@ -622,7 +622,7 @@ public partial record DotNetRestore: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetRestore operator +(DotNetRestore command, string arg) => command.AddArgs(arg);
+ public static DotNetRemoveReference operator +(DotNetRemoveReference command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -630,7 +630,7 @@ public partial record DotNetRestore: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetRestore operator -(DotNetRestore command, string arg) => command.RemoveArgs(arg);
+ public static DotNetRemoveReference operator -(DotNetRemoveReference command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -638,7 +638,7 @@ public partial record DotNetRestore: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetRestore operator +(DotNetRestore command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetRemoveReference operator +(DotNetRemoveReference command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -646,7 +646,7 @@ public partial record DotNetRestore: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetRestore operator -(DotNetRestore command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetRemoveReference operator -(DotNetRemoveReference command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -654,7 +654,7 @@ public partial record DotNetRestore: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetRestore operator +(DotNetRestore command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetRemoveReference operator +(DotNetRemoveReference command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -662,7 +662,7 @@ public partial record DotNetRestore: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetRestore operator -(DotNetRestore command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetRemoveReference operator -(DotNetRemoveReference command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -670,7 +670,7 @@ public partial record DotNetRestore: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetRestore operator +(DotNetRestore command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetRemoveReference operator +(DotNetRemoveReference command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -678,11 +678,11 @@ public partial record DotNetRestore: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetRestore operator -(DotNetRestore command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetRemoveReference operator -(DotNetRemoveReference command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetRun: ICommandLine
+public partial record DotNetBuild: ICommandLine
{
///
/// Appends an argument.
@@ -690,7 +690,7 @@ public partial record DotNetRun: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetRun operator +(DotNetRun command, string arg) => command.AddArgs(arg);
+ public static DotNetBuild operator +(DotNetBuild command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -698,7 +698,7 @@ public partial record DotNetRun: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetRun operator -(DotNetRun command, string arg) => command.RemoveArgs(arg);
+ public static DotNetBuild operator -(DotNetBuild command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -706,7 +706,7 @@ public partial record DotNetRun: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetRun operator +(DotNetRun command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetBuild operator +(DotNetBuild command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -714,7 +714,7 @@ public partial record DotNetRun: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetRun operator -(DotNetRun command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetBuild operator -(DotNetBuild command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -722,7 +722,7 @@ public partial record DotNetRun: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetRun operator +(DotNetRun command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetBuild operator +(DotNetBuild command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -730,7 +730,7 @@ public partial record DotNetRun: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetRun operator -(DotNetRun command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetBuild operator -(DotNetBuild command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -738,7 +738,7 @@ public partial record DotNetRun: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetRun operator +(DotNetRun command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetBuild operator +(DotNetBuild command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -746,11 +746,11 @@ public partial record DotNetRun: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetRun operator -(DotNetRun command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetBuild operator -(DotNetBuild command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetTest: ICommandLine
+public partial record DotNetBuildServerShutdown: ICommandLine
{
///
/// Appends an argument.
@@ -758,7 +758,7 @@ public partial record DotNetTest: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetTest operator +(DotNetTest command, string arg) => command.AddArgs(arg);
+ public static DotNetBuildServerShutdown operator +(DotNetBuildServerShutdown command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -766,7 +766,7 @@ public partial record DotNetTest: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetTest operator -(DotNetTest command, string arg) => command.RemoveArgs(arg);
+ public static DotNetBuildServerShutdown operator -(DotNetBuildServerShutdown command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -774,7 +774,7 @@ public partial record DotNetTest: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetTest operator +(DotNetTest command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetBuildServerShutdown operator +(DotNetBuildServerShutdown command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -782,7 +782,7 @@ public partial record DotNetTest: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetTest operator -(DotNetTest command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetBuildServerShutdown operator -(DotNetBuildServerShutdown command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -790,7 +790,7 @@ public partial record DotNetTest: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetTest operator +(DotNetTest command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetBuildServerShutdown operator +(DotNetBuildServerShutdown command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -798,7 +798,7 @@ public partial record DotNetTest: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetTest operator -(DotNetTest command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetBuildServerShutdown operator -(DotNetBuildServerShutdown command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -806,7 +806,7 @@ public partial record DotNetTest: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetTest operator +(DotNetTest command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetBuildServerShutdown operator +(DotNetBuildServerShutdown command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -814,11 +814,11 @@ public partial record DotNetTest: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetTest operator -(DotNetTest command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetBuildServerShutdown operator -(DotNetBuildServerShutdown command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record DotNetToolRestore: ICommandLine
+public partial record DotNetClean: ICommandLine
{
///
/// Appends an argument.
@@ -826,7 +826,7 @@ public partial record DotNetToolRestore: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static DotNetToolRestore operator +(DotNetToolRestore command, string arg) => command.AddArgs(arg);
+ public static DotNetClean operator +(DotNetClean command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -834,7 +834,7 @@ public partial record DotNetToolRestore: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetToolRestore operator -(DotNetToolRestore command, string arg) => command.RemoveArgs(arg);
+ public static DotNetClean operator -(DotNetClean command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -842,7 +842,7 @@ public partial record DotNetToolRestore: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static DotNetToolRestore operator +(DotNetToolRestore command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetClean operator +(DotNetClean command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -850,7 +850,7 @@ public partial record DotNetToolRestore: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetToolRestore operator -(DotNetToolRestore command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetClean operator -(DotNetClean command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -858,7 +858,7 @@ public partial record DotNetToolRestore: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static DotNetToolRestore operator +(DotNetToolRestore command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetClean operator +(DotNetClean command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -866,7 +866,7 @@ public partial record DotNetToolRestore: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetToolRestore operator -(DotNetToolRestore command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetClean operator -(DotNetClean command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -874,7 +874,7 @@ public partial record DotNetToolRestore: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static DotNetToolRestore operator +(DotNetToolRestore command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetClean operator +(DotNetClean command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -882,11 +882,11 @@ public partial record DotNetToolRestore: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static DotNetToolRestore operator -(DotNetToolRestore command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetClean operator -(DotNetClean command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record MSBuild: ICommandLine
+public partial record DotNetDevCertsHttps: ICommandLine
{
///
/// Appends an argument.
@@ -894,7 +894,7 @@ public partial record MSBuild: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static MSBuild operator +(MSBuild command, string arg) => command.AddArgs(arg);
+ public static DotNetDevCertsHttps operator +(DotNetDevCertsHttps command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -902,7 +902,7 @@ public partial record MSBuild: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static MSBuild operator -(MSBuild command, string arg) => command.RemoveArgs(arg);
+ public static DotNetDevCertsHttps operator -(DotNetDevCertsHttps command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -910,7 +910,7 @@ public partial record MSBuild: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static MSBuild operator +(MSBuild command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetDevCertsHttps operator +(DotNetDevCertsHttps command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -918,7 +918,7 @@ public partial record MSBuild: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static MSBuild operator -(MSBuild command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetDevCertsHttps operator -(DotNetDevCertsHttps command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -926,7 +926,7 @@ public partial record MSBuild: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static MSBuild operator +(MSBuild command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetDevCertsHttps operator +(DotNetDevCertsHttps command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -934,7 +934,7 @@ public partial record MSBuild: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static MSBuild operator -(MSBuild command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetDevCertsHttps operator -(DotNetDevCertsHttps command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -942,7 +942,7 @@ public partial record MSBuild: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static MSBuild operator +(MSBuild command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetDevCertsHttps operator +(DotNetDevCertsHttps command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -950,11 +950,11 @@ public partial record MSBuild: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static MSBuild operator -(MSBuild command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetDevCertsHttps operator -(DotNetDevCertsHttps command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
}
[ExcludeFromCodeCoverage]
-public partial record VSTest: ICommandLine
+public partial record DotNetFormat: ICommandLine
{
///
/// Appends an argument.
@@ -962,7 +962,7 @@ public partial record VSTest: ICommandLine
/// The command to which an argument will be added.
/// Argument to add.
/// Returns a new command with the corresponding changes.
- public static VSTest operator +(VSTest command, string arg) => command.AddArgs(arg);
+ public static DotNetFormat operator +(DotNetFormat command, string arg) => command.AddArgs(arg);
///
/// Removes an argument by its name.
@@ -970,7 +970,7 @@ public partial record VSTest: ICommandLine
/// The command to which an argument will be removed.
/// Argument to remove.
/// Returns a new command with the corresponding changes.
- public static VSTest operator -(VSTest command, string arg) => command.RemoveArgs(arg);
+ public static DotNetFormat operator -(DotNetFormat command, string arg) => command.RemoveArgs(arg);
///
/// Appends arguments.
@@ -978,7 +978,7 @@ public partial record VSTest: ICommandLine
/// The command to which arguments will be added.
/// Arguments to add.
/// Returns a new command with the corresponding changes.
- public static VSTest operator +(VSTest command, IEnumerable args) => command.AddArgs(args);
+ public static DotNetFormat operator +(DotNetFormat command, IEnumerable args) => command.AddArgs(args);
///
/// Removes arguments by their name.
@@ -986,7 +986,7 @@ public partial record VSTest: ICommandLine
/// The command to which arguments will be removed.
/// Arguments to remove.
/// Returns a new command with the corresponding changes.
- public static VSTest operator -(VSTest command, IEnumerable args) => command.RemoveArgs(args);
+ public static DotNetFormat operator -(DotNetFormat command, IEnumerable args) => command.RemoveArgs(args);
///
/// Appends an environment variable.
@@ -994,7 +994,7 @@ public partial record VSTest: ICommandLine
/// The command to which an environment variable will be added.
/// Environment variable to add.
/// Returns a new command with the corresponding changes.
- public static VSTest operator +(VSTest command, (string name, string value) var) => command.AddVars(var);
+ public static DotNetFormat operator +(DotNetFormat command, (string name, string value) var) => command.AddVars(var);
///
/// Removes environment variable by its name and value.
@@ -1002,7 +1002,7 @@ public partial record VSTest: ICommandLine
/// The command to which an environment variable will be removed.
/// Environment variable to remove.
/// Returns a new command with the corresponding changes.
- public static VSTest operator -(VSTest command, (string name, string value) var) => command.RemoveVars(var);
+ public static DotNetFormat operator -(DotNetFormat command, (string name, string value) var) => command.RemoveVars(var);
///
/// Appends environment variables.
@@ -1010,7 +1010,7 @@ public partial record VSTest: ICommandLine
/// The command to which environment variables will be added.
/// Environment variables to add.
/// Returns a new command with the corresponding changes.
- public static VSTest operator +(VSTest command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+ public static DotNetFormat operator +(DotNetFormat command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
///
/// Removes environment variables by their name and value.
@@ -1018,7 +1018,4291 @@ public partial record VSTest: ICommandLine
/// The command to which environment variables will be removed.
/// environment variables to remove.
/// Returns a new command with the corresponding changes.
- public static VSTest operator -(VSTest command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+ public static DotNetFormat operator -(DotNetFormat command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetFormatStyle: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatStyle operator +(DotNetFormatStyle command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatStyle operator -(DotNetFormatStyle command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatStyle operator +(DotNetFormatStyle command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatStyle operator -(DotNetFormatStyle command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatStyle operator +(DotNetFormatStyle command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatStyle operator -(DotNetFormatStyle command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatStyle operator +(DotNetFormatStyle command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatStyle operator -(DotNetFormatStyle command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetFormatAnalyzers: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatAnalyzers operator +(DotNetFormatAnalyzers command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatAnalyzers operator -(DotNetFormatAnalyzers command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatAnalyzers operator +(DotNetFormatAnalyzers command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatAnalyzers operator -(DotNetFormatAnalyzers command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatAnalyzers operator +(DotNetFormatAnalyzers command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatAnalyzers operator -(DotNetFormatAnalyzers command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatAnalyzers operator +(DotNetFormatAnalyzers command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetFormatAnalyzers operator -(DotNetFormatAnalyzers command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record MSBuild: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static MSBuild operator +(MSBuild command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static MSBuild operator -(MSBuild command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static MSBuild operator +(MSBuild command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static MSBuild operator -(MSBuild command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static MSBuild operator +(MSBuild command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static MSBuild operator -(MSBuild command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static MSBuild operator +(MSBuild command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static MSBuild operator -(MSBuild command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNew: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNew operator +(DotNetNew command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNew operator -(DotNetNew command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNew operator +(DotNetNew command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNew operator -(DotNetNew command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNew operator +(DotNetNew command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNew operator -(DotNetNew command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNew operator +(DotNetNew command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNew operator -(DotNetNew command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNewList: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewList operator +(DotNetNewList command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewList operator -(DotNetNewList command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewList operator +(DotNetNewList command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewList operator -(DotNetNewList command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewList operator +(DotNetNewList command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewList operator -(DotNetNewList command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewList operator +(DotNetNewList command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewList operator -(DotNetNewList command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNewSearch: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewSearch operator +(DotNetNewSearch command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewSearch operator -(DotNetNewSearch command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewSearch operator +(DotNetNewSearch command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewSearch operator -(DotNetNewSearch command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewSearch operator +(DotNetNewSearch command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewSearch operator -(DotNetNewSearch command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewSearch operator +(DotNetNewSearch command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewSearch operator -(DotNetNewSearch command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNewDetails: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewDetails operator +(DotNetNewDetails command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewDetails operator -(DotNetNewDetails command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewDetails operator +(DotNetNewDetails command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewDetails operator -(DotNetNewDetails command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewDetails operator +(DotNetNewDetails command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewDetails operator -(DotNetNewDetails command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewDetails operator +(DotNetNewDetails command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewDetails operator -(DotNetNewDetails command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNewInstall: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewInstall operator +(DotNetNewInstall command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewInstall operator -(DotNetNewInstall command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewInstall operator +(DotNetNewInstall command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewInstall operator -(DotNetNewInstall command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewInstall operator +(DotNetNewInstall command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewInstall operator -(DotNetNewInstall command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewInstall operator +(DotNetNewInstall command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewInstall operator -(DotNetNewInstall command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNewUninstall: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUninstall operator +(DotNetNewUninstall command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUninstall operator -(DotNetNewUninstall command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUninstall operator +(DotNetNewUninstall command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUninstall operator -(DotNetNewUninstall command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUninstall operator +(DotNetNewUninstall command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUninstall operator -(DotNetNewUninstall command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUninstall operator +(DotNetNewUninstall command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUninstall operator -(DotNetNewUninstall command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNewUpdate: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUpdate operator +(DotNetNewUpdate command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUpdate operator -(DotNetNewUpdate command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUpdate operator +(DotNetNewUpdate command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUpdate operator -(DotNetNewUpdate command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUpdate operator +(DotNetNewUpdate command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUpdate operator -(DotNetNewUpdate command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUpdate operator +(DotNetNewUpdate command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNewUpdate operator -(DotNetNewUpdate command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetDelete: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDelete operator +(DotNetNuGetDelete command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDelete operator -(DotNetNuGetDelete command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDelete operator +(DotNetNuGetDelete command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDelete operator -(DotNetNuGetDelete command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDelete operator +(DotNetNuGetDelete command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDelete operator -(DotNetNuGetDelete command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDelete operator +(DotNetNuGetDelete command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDelete operator -(DotNetNuGetDelete command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetLocalsClear: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsClear operator +(DotNetNuGetLocalsClear command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsClear operator -(DotNetNuGetLocalsClear command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsClear operator +(DotNetNuGetLocalsClear command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsClear operator -(DotNetNuGetLocalsClear command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsClear operator +(DotNetNuGetLocalsClear command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsClear operator -(DotNetNuGetLocalsClear command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsClear operator +(DotNetNuGetLocalsClear command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsClear operator -(DotNetNuGetLocalsClear command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetLocalsList: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsList operator +(DotNetNuGetLocalsList command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsList operator -(DotNetNuGetLocalsList command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsList operator +(DotNetNuGetLocalsList command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsList operator -(DotNetNuGetLocalsList command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsList operator +(DotNetNuGetLocalsList command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsList operator -(DotNetNuGetLocalsList command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsList operator +(DotNetNuGetLocalsList command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetLocalsList operator -(DotNetNuGetLocalsList command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetPush: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetPush operator +(DotNetNuGetPush command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetPush operator -(DotNetNuGetPush command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetPush operator +(DotNetNuGetPush command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetPush operator -(DotNetNuGetPush command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetPush operator +(DotNetNuGetPush command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetPush operator -(DotNetNuGetPush command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetPush operator +(DotNetNuGetPush command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetPush operator -(DotNetNuGetPush command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetAddSource: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetAddSource operator +(DotNetNuGetAddSource command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetAddSource operator -(DotNetNuGetAddSource command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetAddSource operator +(DotNetNuGetAddSource command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetAddSource operator -(DotNetNuGetAddSource command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetAddSource operator +(DotNetNuGetAddSource command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetAddSource operator -(DotNetNuGetAddSource command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetAddSource operator +(DotNetNuGetAddSource command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetAddSource operator -(DotNetNuGetAddSource command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetDisableSource: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDisableSource operator +(DotNetNuGetDisableSource command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDisableSource operator -(DotNetNuGetDisableSource command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDisableSource operator +(DotNetNuGetDisableSource command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDisableSource operator -(DotNetNuGetDisableSource command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDisableSource operator +(DotNetNuGetDisableSource command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDisableSource operator -(DotNetNuGetDisableSource command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDisableSource operator +(DotNetNuGetDisableSource command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetDisableSource operator -(DotNetNuGetDisableSource command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetEnableSource: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetEnableSource operator +(DotNetNuGetEnableSource command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetEnableSource operator -(DotNetNuGetEnableSource command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetEnableSource operator +(DotNetNuGetEnableSource command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetEnableSource operator -(DotNetNuGetEnableSource command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetEnableSource operator +(DotNetNuGetEnableSource command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetEnableSource operator -(DotNetNuGetEnableSource command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetEnableSource operator +(DotNetNuGetEnableSource command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetEnableSource operator -(DotNetNuGetEnableSource command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetListSource: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetListSource operator +(DotNetNuGetListSource command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetListSource operator -(DotNetNuGetListSource command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetListSource operator +(DotNetNuGetListSource command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetListSource operator -(DotNetNuGetListSource command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetListSource operator +(DotNetNuGetListSource command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetListSource operator -(DotNetNuGetListSource command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetListSource operator +(DotNetNuGetListSource command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetListSource operator -(DotNetNuGetListSource command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetRemoveSource: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetRemoveSource operator +(DotNetNuGetRemoveSource command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetRemoveSource operator -(DotNetNuGetRemoveSource command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetRemoveSource operator +(DotNetNuGetRemoveSource command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetRemoveSource operator -(DotNetNuGetRemoveSource command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetRemoveSource operator +(DotNetNuGetRemoveSource command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetRemoveSource operator -(DotNetNuGetRemoveSource command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetRemoveSource operator +(DotNetNuGetRemoveSource command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetRemoveSource operator -(DotNetNuGetRemoveSource command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetUpdateSource: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetUpdateSource operator +(DotNetNuGetUpdateSource command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetUpdateSource operator -(DotNetNuGetUpdateSource command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetUpdateSource operator +(DotNetNuGetUpdateSource command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetUpdateSource operator -(DotNetNuGetUpdateSource command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetUpdateSource operator +(DotNetNuGetUpdateSource command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetUpdateSource operator -(DotNetNuGetUpdateSource command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetUpdateSource operator +(DotNetNuGetUpdateSource command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetUpdateSource operator -(DotNetNuGetUpdateSource command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetVerify: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetVerify operator +(DotNetNuGetVerify command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetVerify operator -(DotNetNuGetVerify command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetVerify operator +(DotNetNuGetVerify command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetVerify operator -(DotNetNuGetVerify command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetVerify operator +(DotNetNuGetVerify command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetVerify operator -(DotNetNuGetVerify command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetVerify operator +(DotNetNuGetVerify command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetVerify operator -(DotNetNuGetVerify command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetTrustList: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustList operator +(DotNetNuGetTrustList command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustList operator -(DotNetNuGetTrustList command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustList operator +(DotNetNuGetTrustList command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustList operator -(DotNetNuGetTrustList command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustList operator +(DotNetNuGetTrustList command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustList operator -(DotNetNuGetTrustList command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustList operator +(DotNetNuGetTrustList command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustList operator -(DotNetNuGetTrustList command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetTrustSync: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSync operator +(DotNetNuGetTrustSync command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSync operator -(DotNetNuGetTrustSync command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSync operator +(DotNetNuGetTrustSync command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSync operator -(DotNetNuGetTrustSync command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSync operator +(DotNetNuGetTrustSync command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSync operator -(DotNetNuGetTrustSync command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSync operator +(DotNetNuGetTrustSync command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSync operator -(DotNetNuGetTrustSync command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetTrustRemove: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRemove operator +(DotNetNuGetTrustRemove command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRemove operator -(DotNetNuGetTrustRemove command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRemove operator +(DotNetNuGetTrustRemove command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRemove operator -(DotNetNuGetTrustRemove command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRemove operator +(DotNetNuGetTrustRemove command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRemove operator -(DotNetNuGetTrustRemove command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRemove operator +(DotNetNuGetTrustRemove command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRemove operator -(DotNetNuGetTrustRemove command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetTrustAuthor: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustAuthor operator +(DotNetNuGetTrustAuthor command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustAuthor operator -(DotNetNuGetTrustAuthor command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustAuthor operator +(DotNetNuGetTrustAuthor command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustAuthor operator -(DotNetNuGetTrustAuthor command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustAuthor operator +(DotNetNuGetTrustAuthor command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustAuthor operator -(DotNetNuGetTrustAuthor command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustAuthor operator +(DotNetNuGetTrustAuthor command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustAuthor operator -(DotNetNuGetTrustAuthor command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetTrustRepository: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRepository operator +(DotNetNuGetTrustRepository command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRepository operator -(DotNetNuGetTrustRepository command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRepository operator +(DotNetNuGetTrustRepository command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRepository operator -(DotNetNuGetTrustRepository command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRepository operator +(DotNetNuGetTrustRepository command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRepository operator -(DotNetNuGetTrustRepository command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRepository operator +(DotNetNuGetTrustRepository command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustRepository operator -(DotNetNuGetTrustRepository command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetTrustCertificate: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustCertificate operator +(DotNetNuGetTrustCertificate command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustCertificate operator -(DotNetNuGetTrustCertificate command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustCertificate operator +(DotNetNuGetTrustCertificate command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustCertificate operator -(DotNetNuGetTrustCertificate command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustCertificate operator +(DotNetNuGetTrustCertificate command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustCertificate operator -(DotNetNuGetTrustCertificate command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustCertificate operator +(DotNetNuGetTrustCertificate command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustCertificate operator -(DotNetNuGetTrustCertificate command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetTrustSource: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSource operator +(DotNetNuGetTrustSource command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSource operator -(DotNetNuGetTrustSource command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSource operator +(DotNetNuGetTrustSource command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSource operator -(DotNetNuGetTrustSource command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSource operator +(DotNetNuGetTrustSource command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSource operator -(DotNetNuGetTrustSource command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSource operator +(DotNetNuGetTrustSource command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetTrustSource operator -(DotNetNuGetTrustSource command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetSign: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetSign operator +(DotNetNuGetSign command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetSign operator -(DotNetNuGetSign command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetSign operator +(DotNetNuGetSign command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetSign operator -(DotNetNuGetSign command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetSign operator +(DotNetNuGetSign command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetSign operator -(DotNetNuGetSign command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetSign operator +(DotNetNuGetSign command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetSign operator -(DotNetNuGetSign command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetWhy: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetWhy operator +(DotNetNuGetWhy command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetWhy operator -(DotNetNuGetWhy command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetWhy operator +(DotNetNuGetWhy command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetWhy operator -(DotNetNuGetWhy command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetWhy operator +(DotNetNuGetWhy command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetWhy operator -(DotNetNuGetWhy command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetWhy operator +(DotNetNuGetWhy command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetWhy operator -(DotNetNuGetWhy command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetConfigGet: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigGet operator +(DotNetNuGetConfigGet command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigGet operator -(DotNetNuGetConfigGet command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigGet operator +(DotNetNuGetConfigGet command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigGet operator -(DotNetNuGetConfigGet command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigGet operator +(DotNetNuGetConfigGet command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigGet operator -(DotNetNuGetConfigGet command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigGet operator +(DotNetNuGetConfigGet command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigGet operator -(DotNetNuGetConfigGet command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetConfigSet: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigSet operator +(DotNetNuGetConfigSet command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigSet operator -(DotNetNuGetConfigSet command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigSet operator +(DotNetNuGetConfigSet command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigSet operator -(DotNetNuGetConfigSet command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigSet operator +(DotNetNuGetConfigSet command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigSet operator -(DotNetNuGetConfigSet command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigSet operator +(DotNetNuGetConfigSet command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigSet operator -(DotNetNuGetConfigSet command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetConfigUnset: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigUnset operator +(DotNetNuGetConfigUnset command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigUnset operator -(DotNetNuGetConfigUnset command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigUnset operator +(DotNetNuGetConfigUnset command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigUnset operator -(DotNetNuGetConfigUnset command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigUnset operator +(DotNetNuGetConfigUnset command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigUnset operator -(DotNetNuGetConfigUnset command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigUnset operator +(DotNetNuGetConfigUnset command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigUnset operator -(DotNetNuGetConfigUnset command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetNuGetConfigPaths: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigPaths operator +(DotNetNuGetConfigPaths command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigPaths operator -(DotNetNuGetConfigPaths command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigPaths operator +(DotNetNuGetConfigPaths command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigPaths operator -(DotNetNuGetConfigPaths command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigPaths operator +(DotNetNuGetConfigPaths command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigPaths operator -(DotNetNuGetConfigPaths command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigPaths operator +(DotNetNuGetConfigPaths command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetNuGetConfigPaths operator -(DotNetNuGetConfigPaths command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetPackageSearch: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPackageSearch operator +(DotNetPackageSearch command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPackageSearch operator -(DotNetPackageSearch command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPackageSearch operator +(DotNetPackageSearch command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPackageSearch operator -(DotNetPackageSearch command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPackageSearch operator +(DotNetPackageSearch command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPackageSearch operator -(DotNetPackageSearch command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPackageSearch operator +(DotNetPackageSearch command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPackageSearch operator -(DotNetPackageSearch command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetPack: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPack operator +(DotNetPack command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPack operator -(DotNetPack command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPack operator +(DotNetPack command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPack operator -(DotNetPack command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPack operator +(DotNetPack command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPack operator -(DotNetPack command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPack operator +(DotNetPack command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPack operator -(DotNetPack command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetPublish: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPublish operator +(DotNetPublish command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPublish operator -(DotNetPublish command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPublish operator +(DotNetPublish command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPublish operator -(DotNetPublish command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPublish operator +(DotNetPublish command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPublish operator -(DotNetPublish command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPublish operator +(DotNetPublish command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetPublish operator -(DotNetPublish command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetRestore: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRestore operator +(DotNetRestore command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRestore operator -(DotNetRestore command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRestore operator +(DotNetRestore command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRestore operator -(DotNetRestore command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRestore operator +(DotNetRestore command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRestore operator -(DotNetRestore command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRestore operator +(DotNetRestore command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRestore operator -(DotNetRestore command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetRun: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRun operator +(DotNetRun command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRun operator -(DotNetRun command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRun operator +(DotNetRun command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRun operator -(DotNetRun command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRun operator +(DotNetRun command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRun operator -(DotNetRun command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRun operator +(DotNetRun command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetRun operator -(DotNetRun command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetSdkCheck: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSdkCheck operator +(DotNetSdkCheck command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSdkCheck operator -(DotNetSdkCheck command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSdkCheck operator +(DotNetSdkCheck command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSdkCheck operator -(DotNetSdkCheck command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSdkCheck operator +(DotNetSdkCheck command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSdkCheck operator -(DotNetSdkCheck command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSdkCheck operator +(DotNetSdkCheck command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSdkCheck operator -(DotNetSdkCheck command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetSlnList: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnList operator +(DotNetSlnList command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnList operator -(DotNetSlnList command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnList operator +(DotNetSlnList command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnList operator -(DotNetSlnList command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnList operator +(DotNetSlnList command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnList operator -(DotNetSlnList command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnList operator +(DotNetSlnList command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnList operator -(DotNetSlnList command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetSlnAdd: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnAdd operator +(DotNetSlnAdd command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnAdd operator -(DotNetSlnAdd command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnAdd operator +(DotNetSlnAdd command, IEnumerable args) => command.AddArgs(args);
+
+ ///
+ /// Removes arguments by their name.
+ ///
+ /// The command to which arguments will be removed.
+ /// Arguments to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnAdd operator -(DotNetSlnAdd command, IEnumerable args) => command.RemoveArgs(args);
+
+ ///
+ /// Appends an environment variable.
+ ///
+ /// The command to which an environment variable will be added.
+ /// Environment variable to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnAdd operator +(DotNetSlnAdd command, (string name, string value) var) => command.AddVars(var);
+
+ ///
+ /// Removes environment variable by its name and value.
+ ///
+ /// The command to which an environment variable will be removed.
+ /// Environment variable to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnAdd operator -(DotNetSlnAdd command, (string name, string value) var) => command.RemoveVars(var);
+
+ ///
+ /// Appends environment variables.
+ ///
+ /// The command to which environment variables will be added.
+ /// Environment variables to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnAdd operator +(DotNetSlnAdd command, IEnumerable<(string name, string value)> vars) => command.AddVars(vars);
+
+ ///
+ /// Removes environment variables by their name and value.
+ ///
+ /// The command to which environment variables will be removed.
+ /// environment variables to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnAdd operator -(DotNetSlnAdd command, IEnumerable<(string name, string value)> vars) => command.RemoveVars(vars);
+}
+
+[ExcludeFromCodeCoverage]
+public partial record DotNetSlnRemove: ICommandLine
+{
+ ///
+ /// Appends an argument.
+ ///
+ /// The command to which an argument will be added.
+ /// Argument to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnRemove operator +(DotNetSlnRemove command, string arg) => command.AddArgs(arg);
+
+ ///
+ /// Removes an argument by its name.
+ ///
+ /// The command to which an argument will be removed.
+ /// Argument to remove.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnRemove operator -(DotNetSlnRemove command, string arg) => command.RemoveArgs(arg);
+
+ ///
+ /// Appends arguments.
+ ///
+ /// The command to which arguments will be added.
+ /// Arguments to add.
+ /// Returns a new command with the corresponding changes.
+ public static DotNetSlnRemove operator +(DotNetSlnRemove command, IEnumerable args) => command.AddArgs(args);
+
+ ///