iSukces.CliTools 1.26.713.1

dotnet add package iSukces.CliTools --version 1.26.713.1
                    
NuGet\Install-Package iSukces.CliTools -Version 1.26.713.1
                    
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="iSukces.CliTools" Version="1.26.713.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="iSukces.CliTools" Version="1.26.713.1" />
                    
Directory.Packages.props
<PackageReference Include="iSukces.CliTools" />
                    
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 iSukces.CliTools --version 1.26.713.1
                    
#r "nuget: iSukces.CliTools, 1.26.713.1"
                    
#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.
#:package iSukces.CliTools@1.26.713.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=iSukces.CliTools&version=1.26.713.1
                    
Install as a Cake Addin
#tool nuget:?package=iSukces.CliTools&version=1.26.713.1
                    
Install as a Cake Tool

iSukces.CliTools

Polska wersja

NuGet

Helper library for running external CLI tools from .NET applications. It provides classes for asynchronous process execution, argument building, environment variable handling, stdout/stderr capture, and returning process results in a consistent model.

Requirements

  • .NET 10

Installation

NuGet package:

dotnet add package iSukces.CliTools

Usage

Minimal process execution:

var result = await new Cli
{
    FileName = "dotnet",
    Arguments = ["--info"]
}.RunAsync();

Console.WriteLine(result.Output);

Building command-line arguments:

var arguments = new ArgumentCollector();
arguments.Add("input.mp4");
arguments.Add("output.mp3", "output");
arguments.Add(true, "overwrite", "no-overwrite");

Main types

Cli

Runs external processes asynchronously. It supports executable file selection, arguments, working directory, environment variables, stdout/stderr redirection, and output display modes: All, Tail, and None.

ArgumentCollector

Builds CLI argument arrays. It supports plain arguments, prefixed options, boolean switches, numeric and text values, and snake_case conversion through AddSnake.

CliResult and CliException

CliResult stores the exit code, stdout, stderr, start time, finish time, duration, and full invocation data. CreateException creates a CliException with process error details.

Result<T> and Result

Operation result model containing a value, success status, exception, and optional CliResult. Make, MakeAsync, and FromCliCallEx wrap synchronous, asynchronous, and CLI calls.

EnvironmentUpdater

Prepares environment variables for a process, prepends directories to PATH, activates changes temporarily, and searches for executable files in configured paths.

TailConsoleOutput

Displays the last process output lines in the console. It is used by Cli when the Tail output mode is selected.

WindowsConsoleUtils

Contains EscapeCommandLineParameterIfNecessary, which escapes command-line arguments according to Windows parsing rules.

TextExtensions

Contains text extensions, including ToSnake and Coalesce.

Build

dotnet build ..\iSukces.Cli.sln

Project configuration

  • Target framework: net10.0
  • Package license: MIT

Disclaimer

This package only provides a .NET layer that starts the selected external process in the operating system. It acts as a bridge/facade for a tool supplied and installed outside this package.

This package does not include the executed tool, does not modify how it works, and is not responsible for its results, failures, environment requirements, resource usage, or any damages resulting from the use of that external tool.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (4)

Showing the top 4 NuGet packages that depend on iSukces.CliTools:

Package Downloads
iSukces.Cli.Python

.NET library for managing Python environments: virtual environment creation, pip package installation, PyTorch and CUDA Toolkit detection, HuggingFace token handling, and process environment variable management.

iSukces.Cli.Whisper

.NET process wrapper for invoking an independently installed OpenAI Whisper CLI executable from C# applications. The package builds command-line arguments and starts Whisper as a separate operating-system process; it does not include, distribute, install, download, link against, or license OpenAI Whisper, Whisper models, Python, PyTorch, CUDA, or GPU drivers.

iSukces.Cli.Punctuate

.NET process wrapper for restoring punctuation and sentence boundaries by invoking a Python punctuation script as a separate operating-system process. The package prepares command-line arguments, exchanges input/output through temporary files, and optionally exposes helpers that can start user-side external tools such as uv or pip; it does not include, redistribute, or license Python, PyTorch, Hugging Face Transformers, SentencePiece, or the kredor/punctuate-all model.

iSukces.Cli.Ffmpeg

.NET process wrapper for invoking an independently installed FFmpeg executable from C# applications. The package builds command-line arguments and starts FFmpeg as a separate operating-system process; it does not include, distribute, install, or link against FFmpeg or libav* libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.26.713.1 148 7/13/2026