Skip to content

🖥 CLI.NET is an easy-to-use library for creating command line tools, command chains and automation scripts in C#

License

Notifications You must be signed in to change notification settings

denilsoncosme/Cli.NET

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖥 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

Appearance

Logs and output

Misc tools

About

🖥 CLI.NET is an easy-to-use library for creating command line tools, command chains and automation scripts in C#

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%