C# CLI

Open-source C# projects categorized as CLI

Top 23 C# CLI Projects

  • GitHub repo ArchiSteamFarm

    C# application with primary purpose of idling Steam cards from multiple accounts simultaneously.

    Project mention: Idle Master, no farmea los cromos al 100% | reddit.com/r/Argaming | 2021-06-03

    Usá este mejor

  • GitHub repo Gui.cs

    Console-based user interface toolkit for .NET applications.

    Project mention: [Noob Question] Does anyone know a simple solution (for a beginner) for a Menu controlled with the arrow-keys for anvigation and the enter-key for confirmation? | reddit.com/r/csharp | 2021-03-16
  • GitHub repo win-acme

    A simple ACME client for Windows (for use with Let's Encrypt et al.)

    Project mention: How to Create and install Free SSL certificates in IIS? | dev.to | 2021-02-15
  • GitHub repo spectre.console

    A .NET library that makes it easier to create beautiful console applications.

    Project mention: C# Alternative to the Go library "Glamour" | reddit.com/r/csharp | 2021-02-10

    Looks like I don't have to do that (yet!)

  • GitHub repo Command Line Parser

    The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support

    Project mention: C# equivalent to Pythons cmd module? | reddit.com/r/csharp | 2021-05-09
  • GitHub repo CommandLineUtils

    Command line parsing and utilities for .NET

    Project mention: C# equivalent to Pythons cmd module? | reddit.com/r/csharp | 2021-05-09
  • GitHub repo CliWrap

    Library for running command line processes

    Project mention: Console output window within a winform? | reddit.com/r/csharp | 2021-06-07
  • GitHub repo sdk

    Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI (by dotnet)

    Project mention: New Blazor features in .NET 6 Preview 3 | reddit.com/r/Blazor | 2021-04-09

    Part of it involves the SDK, as there are tickets against dotnet watch run. However, your suspicions may be correct:

  • GitHub repo Colorful.Console

    Style your .NET console output!

  • GitHub repo CliFx

    Declarative framework for building command line interfaces

  • GitHub repo ReadLine

    A Pure C# GNU-Readline like library for .NET/.NET Core (by tonerdo)

  • GitHub repo ini-parser

    Read/Write an INI file the easy way!

    Project mention: The Fssf Mentorship Schedule Planner | reddit.com/r/fsharp | 2020-12-29

    Alternatively, instead of using a type provider (which isn't simple by any means), you can use any number of CSV or INI parsers, e.g. https://joshclose.github.io/CsvHelper/ or https://github.com/rickyah/ini-parser

  • GitHub repo Sieve

    ⚗️ Clean & extensible Sorting, Filtering, and Pagination for ASP.NET Core

    Project mention: Library for Filtering/Sorting/Pagination Microsoft Style | reddit.com/r/dotnet | 2021-03-30

    Closest I've found it Sieve, but it requires such heavy modification that I basically have to re-write it.

  • GitHub repo Fluent Command Line Parser

    A simple, strongly typed .NET C# command line parser library using a fluent easy to use interface

    Project mention: crashes when non existant variable is used (with code this time) | reddit.com/r/csharp | 2021-03-15

    Another option is to use existing command line parser library like FCLP.

  • GitHub repo Console Framework

    Cross-platform toolkit for easy development of TUI applications.

    Project mention: TUI frameworks for Powershell? | reddit.com/r/PowerShell | 2021-01-19

    Yes, I'm aware. I was asking for a clarification if you meant that I should create my own framework from scratch as opposed to using an already finished one like consoleframework.

  • GitHub repo Power Args

    The ultimate .NET Standard command line argument parser

  • GitHub repo Cocona

    Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET Core.

    Project mention: My preferred .NET console stack – An opinionated view on .NET console apps | news.ycombinator.com | 2021-01-15

    Cocona [1] is my command line parsing library of choice.

    1. https://github.com/mayuki/Cocona

  • GitHub repo CsConsoleFormat

    .NET C# library for advanced formatting of console output [Apache]

  • GitHub repo craftsman

    Craftsman is the workhorse behind the Wrapt framework and provides a suite of CLI commands for quickly scaffolding out new files and projects for your .NET Web APIs with simple CLI commands and configuration files.

    Project mention: Microservices: DDD, CQRS, ES... and gRPC | reddit.com/r/csharp | 2021-06-14

    If it helps, I am working on a tool that scaffolds all of this out for you using bounded contexts, CQRS, etc. still more to add but has plenty in already that might save you some time.

  • GitHub repo CommandDotNet

    A modern framework for building modern CLI apps

  • GitHub repo Docopt

    Port of docopt to .net

  • GitHub repo PrtgAPI

    C#/PowerShell interface for PRTG Network Monitor

    Project mention: Hosts in multiple groups | reddit.com/r/prtg | 2021-02-03

    You may want to look into the Powershell PrtgApi module, https://github.com/lordmilko/PrtgAPI . I have several scripts using this that allow me to update settings per sensor name/type. It's not quite officially supported by Paessler but it's well maintained and at least acknowledged by Paessler as a useful tool.

  • GitHub repo CSharpRepl

    A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.

    Project mention: csharprepl: A command-line Read-Eval-Print-Loop for C# with syntax highlighting and NuGet support | reddit.com/r/csharp | 2021-05-31
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-14.

Index

What are some of the best open-source CLI projects in C#? This list will help you:

Project Stars
1 ArchiSteamFarm 6,633
2 Gui.cs 5,394
3 win-acme 4,125
4 spectre.console 3,182
5 Command Line Parser 2,866
6 CommandLineUtils 1,655
7 CliWrap 1,124
8 sdk 1,124
9 Colorful.Console 1,000
10 CliFx 958
11 ReadLine 750
12 ini-parser 678
13 Sieve 599
14 Fluent Command Line Parser 502
15 Console Framework 501
16 Power Args 497
17 Cocona 414
18 CsConsoleFormat 297
19 craftsman 282
20 CommandDotNet 270
21 Docopt 257
22 PrtgAPI 186
23 CSharpRepl 160