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: World of Warships — Exclusive Starter Pack | reddit.com/r/FreeGamesOnSteam | 2021-02-04

    I'm a bot | What is ASF | Info

  • GitHub repo Gui.cs

    Console-based user interface toolkit for .NET applications.

    Project mention: Best python GUI to learn? | reddit.com/r/learnpython | 2021-02-23

    If your goal is is to make something cross-platform from a single code base; I recommend: Terminal.Gui. Every desktop has a terminal, and it has the added benefit of performing well over SSH and the like. The problem is people will think your app is old and busted because it's fast and looks like it's from the 80's.

  • Uno Platform

    Pixel-Perfect Multi-Platform Applications with C# and XAML. Build single-codebase applications for Windows, Web, Linux, macOS, iOS and Android with open-source Uno Platform. Fluent and Material design included in-the-box. Try now via 3 min tutorial.

  • 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 Command Line Parser

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

    Project mention: A couple of questions about dotnet from a Java developer :) | reddit.com/r/dotnet | 2021-02-19

    As a sidenote, speaking of annotations themselves, here they are in C# (this link is a prime example of their usage for command line options) : https://github.com/commandlineparser/commandline

  • GitHub repo spectre.console

    A 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 CommandLineUtils

    Command line parsing and utilities for .NET

  • GitHub repo CliWrap

    Library for running command line processes

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo sdk

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

    Project mention: Anyone else having issues compiling their project into a single file when targeting .NET Core 3.1 or .NET 5? | reddit.com/r/csharp | 2021-02-23

    Not just Windows, they're self extracting files with dotnet 5 and earlier for all OSes. I've also found that some native libs don't get bundled into the single file all the time - see this issue: https://github.com/dotnet/sdk/issues/14489

  • 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: Come discuss your side projects! [January 2021] | reddit.com/r/csharp | 2020-12-31

    I recently released the first non-alpha version of my port of a little known library for sorting, filtering and pagination for .NET Core called "Sieve". My version "Strainer" (how original, I know) adds more functionalities, improves overall adjustability and maintainability. Some highlights:

  • GitHub repo Fluent Command Line Parser

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

  • GitHub repo Power Args

    The ultimate .NET Standard command line argument parser

  • 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 Cocona

    Micro-framework for .NET Core 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 Docopt

    Port of docopt to .net

  • GitHub repo CommandDotNet

    A modern framework for building modern CLI apps

  • 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 EntryPoint

    Composable CLI Argument Parser for all modern .Net platforms.

  • 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: I expanded my custom CLI to scaffold .NET 5 microservices, gateways, and Web APIs that includes easy JWT Authorization set up. It also includes a lot of doc updates, including how to work with auth in .NET 5 | reddit.com/r/dotnet | 2021-02-23

    Interesting! Would be happy to check it out so I can add better error handling around it. Could you submit a ticket on the [Craftsman github](https://github.com/pdevito3/craftsman) so I can help you troubleshoot better?

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-02-23.


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

Project Stars
1 ArchiSteamFarm 6,290
2 Gui.cs 4,971
3 win-acme 4,008
4 Command Line Parser 2,656
5 spectre.console 2,340
6 CommandLineUtils 1,575
7 CliWrap 1,031
8 sdk 972
9 Colorful.Console 966
10 CliFx 889
11 ReadLine 738
12 ini-parser 638
13 Sieve 550
14 Fluent Command Line Parser 499
15 Power Args 486
16 Console Framework 484
17 Cocona 394
18 CsConsoleFormat 292
19 Docopt 244
20 CommandDotNet 244
21 PrtgAPI 175
22 EntryPoint 135
23 craftsman 113