Standardly.Commands 3.1.0

Prefix Reserved
dotnet add package Standardly.Commands --version 3.1.0
                    
NuGet\Install-Package Standardly.Commands -Version 3.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Standardly.Commands" Version="3.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Standardly.Commands" Version="3.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Standardly.Commands" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Standardly.Commands --version 3.1.0
                    
#r "nuget: Standardly.Commands, 3.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Standardly.Commands&version=3.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Standardly.Commands&version=3.1.0
                    
Install as a Cake Tool

<p align="center"> <img src="https://github.com/cjdutoit/Standardly.Commands/blob/main/Resources/Banner.png?raw=true"> </p>

.NET Nuget The Standard - COMPLIANT

Standardly.Commands

Standardly.Commands is a small .Net library designed to provide a command execution engine that .Net developers can use to run CLI commands sequentially.

How It Works

You setup the client and then you can either pass in a single command OR a list of commands to the ExecuteCommand method. The output from the CLI commands is collated and returned on completion for logging or presentation.

    string command = "echo Hello World!";

    using (CommandClient commandClient = new CommandClient("cmd.exe"))
    {
        CommandResult result = commandClient.ExecuteCommand(command);
    }

OR

    List<string> commands = 
        new List<string>
        {
            "echo Hello World!"
        };

    using (CommandClient commandClient = new CommandClient("cmd.exe"))
    {
        List<CommandResult> result = await commandClient.ExecuteCommandAsync(commands);
    }
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Standardly.Commands:

Package Downloads
Standardly.Core

A Template Engine For Generating Standard Compliant Code

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.0 152 5/29/2025
3.0.1 150 5/28/2025
3.0.0 110 5/23/2025
2.0.0 150 5/21/2025
1.1.0 190 4/8/2025
1.0.1.5 731 6/20/2023
1.0.1.4 183 6/20/2023
1.0.1.2 171 6/20/2023
1.0.1 1,584 11/26/2022
1.0.0 842 11/20/2022

Introduces CancellationToken support for graceful command cancellation and adds thread safety for reliable concurrent execution.