Cli.NET
🖥 OOP-first library focused on providing a key-value interface for creating command line tools based on instantiable commands
Install / Use
/learn @scarletquasar/Cli.NETREADME
🖥 Cli.NET
CLI.NET is a library for creating command line interfaces, command listeners and scripting languages quickly.
- Stable Version
2.1.1 - Latest Version:
2.2.0-alpha
Usage
Cli.NET package can be installed using the command:
PM > Install-Package Cli.NET -Version [version]
Example
using Cli.NET.Actions;
using Cli.NET.Tools;
var container = new CommandContainer();
container.Register(new()
{
{ "exit", new ExitCommand() },
{ "echo", new EchoCommand() },
{ "sum", new SumCommand() },
{ "clear", new ClearCommand() },
{ "cls", new ClearCommand() }
});
container.WaitForNextCommand();
Documentation
Commands
- Creating, registering and using a command
- Initializing the command listener
- Cancelling the loop flow
- Executing environment commands
- Predefined built in commands
- Calling commands inside the application execution
Appearance
Logs and output
Misc tools
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
