SunamoCl 26.7.11.1

dotnet add package SunamoCl --version 26.7.11.1
                    
NuGet\Install-Package SunamoCl -Version 26.7.11.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="SunamoCl" Version="26.7.11.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SunamoCl" Version="26.7.11.1" />
                    
Directory.Packages.props
<PackageReference Include="SunamoCl" />
                    
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 SunamoCl --version 26.7.11.1
                    
#r "nuget: SunamoCl, 26.7.11.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 SunamoCl@26.7.11.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=SunamoCl&version=26.7.11.1
                    
Install as a Cake Addin
#tool nuget:?package=SunamoCl&version=26.7.11.1
                    
Install as a Cake Tool

SunamoCl

Console UI utility library for .NET command-line applications. Provides colored output, progress bars, user input prompts, action selection menus, countdown timers, table formatting, and application bootstrapping with dependency injection.

Features

  • Colored console output — write messages with color-coded severity (Error, Warning, Success, Information, Appeal)
  • User input — type-safe prompts with validation, multi-line input, yes/no dialogs, number input
  • Action menus — group and select actions from dictionaries, with async support
  • Progress bars — single and parent/child progress bars via ShellProgressBar
  • Table formatting — render data as formatted ASCII tables
  • Countdown timer — visual countdown with appeal messages
  • Console flashing — flash the console window title bar (Windows P/Invoke)
  • Clipboard integration — load input from clipboard via TextCopy
  • Application bootstrappingCmdBootStrap.RunWithRunArgs for DI, logging, unhandled exceptions, and action routing
  • Console log mirroring — tee all console output to a file for AI/automation tools to read
  • Verbose logging mode — opt-in detailed logging of all application steps
  • Command-line argument parsing — via CommandLineParser with typed options and mode resolution

Installation

dotnet add package SunamoCl

Target Frameworks

net10.0, net9.0, net8.0

Uses C# 12.0 features (collection expressions, primary constructors) requiring .NET 8.0+.

Quick Start

using SunamoCl;
using SunamoCl.SunamoCmd;
using SunamoCl.SunamoCmd.Args;

await CmdBootStrap.RunWithRunArgs(new RunArgs
{
    Args = args,
    IsDebug = false,
    AddGroupOfActions = () => new Dictionary<string, Func<Task<Dictionary<string, object>>>>
    {
        { "MyGroup", MyGroupActions }
    },
    IsVerboseConsoleLogging = true,
    ConsoleLogFilePath = "console.log"
});

Key Classes

Class Description
CL Static console operations — write, read, color, select, input prompts
CmdBootStrap Application bootstrapping — RunWithRunArgs, DI, logging setup
CmdApp Core app utilities — wait for file, unhandled exceptions
CLActions Merge and execute sync/async action dictionaries
CLAllActions Group-based action registration and execution
CLProgressBar Single progress bar wrapper around ShellProgressBar
CLProgressBarWithChilds Parent/child progress bars for parallel operations
CmdTable Formatted ASCII table output
TableParser Convert collections to formatted string tables
ClFlasher Flash console window title bar (Windows)
ClNotify Infinite loop runner and flash notifications
TeeTextWriter Mirror console output to a log file
ConsoleLogger Static console logger with internationalization
ConsoleLoggerCmd Logger derived from LoggerBaseCl for DI integration

Request for new features / bug report: Mail or on GitHub

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  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 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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 SunamoCl:

Package Downloads
SunamoLogging

Support for several logging system based on their output

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
26.7.11.1 0 7/11/2026
26.5.18.8 166 5/18/2026
26.4.6.7 194 4/6/2026
26.4.6.6 115 4/6/2026
26.4.6.5 120 4/6/2026
26.4.6.4 117 4/6/2026
26.2.15.3 153 2/15/2026
26.2.7.2 145 2/7/2026
26.2.4.1 160 2/4/2026
26.1.3.1 166 1/3/2026
26.1.2.1 151 1/2/2026
26.1.1.1 147 1/1/2026
25.12.31.2 150 12/31/2025
25.12.31.1 147 12/31/2025
25.12.27.1 139 12/27/2025
25.12.21.1 208 12/21/2025
25.12.19.1 252 12/19/2025
25.10.21.1 254 10/21/2025
25.6.13.1 330 6/13/2025
25.6.9.1 333 6/9/2025
Loading failed

y