GithubHelp home page GithubHelp logo

victoriaquasar / cli.net Goto Github PK

View Code? Open in Web Editor NEW
28.0 1.0 4.0 98 KB

๐Ÿ–ฅ OOP-first library focused on providing a key-value interface for creating command line tools based on instantiable commands

License: MIT License

C# 100.00%
command-line-tool csharp dotnet command-line template library command-listener script scripting scripting-engine cli

cli.net's Introduction

๐Ÿ–ฅ 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

cli.net's People

Contributors

hederson avatar scarletquasar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cli.net's Issues

Nuget package

When do you think to launch a Nuget package for it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.