C# CLI

Open-source C# projects categorized as CLI

Top 23 C# CLI Projects

  • ArchiSteamFarm

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

    Project mention: [Steam] (Game) Through Abandoned: The Underground City | reddit.com/r/FreeGameFindings | 2022-11-16

    You need ArchiSteamFarm and you then use those commands in the WebUI Commands Console.

  • Gui.cs

    Cross Platform Terminal UI toolkit for .NET

    Project mention: GTK support for macOS is being worked on for those who want to create applications for macOS. | reddit.com/r/linux | 2022-11-24

    I've had to resort to make TUIs with https://github.com/gui-cs/Terminal.Gui because there's no sane way to make a GUI app in Linux without a 300-files boilerplate or obscure languages.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • spectre.console

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

    Project mention: a quick question | reddit.com/r/csharp | 2022-11-05
  • win-acme

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

    Project mention: Certbot with occupied port 80 | reddit.com/r/letsencrypt | 2022-06-01

    If you're on Windows, just use win-acme, it can automatically detect IIS configuration and handle Apache, both without stopping the server.

  • Command Line Parser

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

    Project mention: Made this a while ago and forgot to share it here -- ArgSharp, a simple and capable CLI argument parser | reddit.com/r/csharp | 2022-09-06

    seems very similar to command line parser, btw good job

  • CliWrap

    Library for running command line processes

    Project mention: Calling PowerShell Azure module and creating resource group from C# | reddit.com/r/dotnet | 2022-10-07
  • sdk

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

    Project mention: How to implement hot module reloading in a programming language? | reddit.com/r/ProgrammingLanguages | 2022-11-15
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • CommandLineUtils

    Command line parsing and utilities for .NET

    Project mention: Enforcing command line arguments with CommandLineUtils? | reddit.com/r/dotnet | 2022-10-20

    The library doesn't support that format, here you can see that MultipleValues means for example "-o value1 -o value2" Options Support options with multiple values · Issue #311 · natemcmaster/CommandLineUtils · GitHub

  • Cocona

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

    Project mention: Best way to build a console app with command line parser and dependency injection? | reddit.com/r/csharp | 2022-08-16
  • CSharpRepl

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

    Project mention: Best REPL for a language | reddit.com/r/ProgrammingLanguages | 2022-07-02
  • CliFx

    Declarative framework for building command line interfaces

    Project mention: How to Develop an Interactive CLI with C# to Manage SendGrid Dynamic Email Templates | reddit.com/r/csharp | 2022-07-05

    I used CliFx before and was already familiar with how fast you can develop a CLI. The fun part of this project was to make the CLI interactive by using the Sharprompt library.

  • Colorful.Console

    Style your .NET console output!

    Project mention: Cool console apps | reddit.com/r/csharp | 2022-01-19

    No offense but this is two extension methods for string with an argument for a built-in color. Yes it's useful but not really worth developing an entire library around. You might be interested in Colorful.Console.

  • Minecraft-Console-Client

    Lightweight console for Minecraft chat and automated scripts

    Project mention: Minecraft-Console-Client VS minecraft-terminal - a user suggested alternative | libhunt.com/r/Minecraft-Console-Client | 2022-10-06
  • Sieve

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

    Project mention: Why Microsoft is not pushing hard on OData in rescent .net versions? | reddit.com/r/dotnet | 2022-11-23

    https://github.com/Biarity/Sieve Sieve is a simple, clean, and extensible framework for .NET Core that adds sorting, filtering, and pagination functionality out of the box. Most common use case would be for serving ASP.NET Core GET queries.

  • ini-parser

    Read/Write an INI file the easy way!

  • BuildXL

    Microsoft Build Accelerator

    Project mention: Using Landlock to Sandbox GNU Make | news.ycombinator.com | 2022-08-07

    > With regards to chroot, I stand corrected. I knew it was a tree of symlinks, but I thought it was also more than that because symlinks alone don't seem like a sandbox. Honestly, Cosmopolitan's system appears to be more of a sandbox than that.

    To be totally clear: the tree of symlinks thing is a fallback, used only when lacking platform support or when sandboxing is explicitly turned off [0]. On Linux, the normal sandboxing strategy is to use namespaces, like most container runtimes. On Mac it apparently uses sandbox-exec (some opaque Apple tool), as was mentioned above. Chroot, being both non-POSIX, requiring root access on many systems, and not providing the necessary facilities is not really a great fit -- which I assume is why it's not used.

    There was experimental Windows sandbox support at one point [1] based on how MS does it for BuildXL (their own build tool for giant monorepos) [2]. Unfortunately it doesn't seem to be maintained, and under the hood it's kinda ugly -- it actively rewrites code in-memory to intercept calls to the Win32 APIs [3], which was apparently the cleanest/best way MS could come up with. However, from Bazel's POV it works in a roughly similar way -- you spawn subprocesses under a supervisor, which is in charge of spinning up whatever the target process is with restrictions on time/memory usage/file access.

    On the "sandbox in the interpreter" thing: what kind of checks are you envisioning? It seems like putting checks at that level would end up leaving a lot out -- the goal of any build system is to eventually spawn an arbitrary process (Python, gcc, javac, some shell script, etc.) and so even with extensive checks in starlark you'd end up with accidental sandbox breaks all over the place. For pure starlark rules you could e.g. check that there are no inputs from /usr, but even then if gcc does it implicitly, you're SOL. Or am I thinking of the wrong kind of checks?

    [0] https://bazel.build/docs/sandboxing#sandboxing-strategies

    [1] https://github.com/bazelbuild/bazel/issues/5136#issuecomment...

    [2] https://github.com/microsoft/BuildXL/blob/master/Documentati...

    [3] https://github.com/microsoft/Detours/wiki

  • ReadLine

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

  • craftsman

    A .NET 6 scaffolding tool to help you stop worrying about boilerplate and focus on your business logic 🚀

    Project mention: Learning .NET core as a front-end developer | reddit.com/r/dotnet | 2022-10-30

    And here’s a project scaffolding tool

  • Kurukuru

    Terminal Spinner for .NET platform

    Project mention: Terminal spinner progress indicator | reddit.com/r/PowerShell | 2022-08-28

    This is a .NET implementation which is inspired by cli-spinner. https://github.com/mayuki/Kurukuru

  • Console Framework

    Cross-platform toolkit for easy development of TUI applications.

    Project mention: Modern Turbo Vision 2.0 | news.ycombinator.com | 2022-03-19

    Hah I was just looking at this recently. I was looking for a C# version. I couldn't find anything nice though. There's this https://github.com/elw00d/consoleframework but it looks like it hasn't been updated in a long time.

  • Fluent Command Line Parser

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

  • Sharprompt

    Interactive command-line based application framework for C#

    Project mention: How to Develop an Interactive CLI with C# to Manage SendGrid Dynamic Email Templates | reddit.com/r/csharp | 2022-07-05

    I used CliFx before and was already familiar with how fast you can develop a CLI. The fun part of this project was to make the CLI interactive by using the Sharprompt library.

  • CommandDotNet

    A modern framework for building modern CLI apps

    Project mention: Spectre.Console is a .NET Standard 2.0 library that makes it easier to create beautiful console applications. | reddit.com/r/dotnet | 2022-09-23

    Have you seen CommandDotNet by chance? It has an integration with Spectre.Console. It provides some powerful test tools and what I think is a simpler and more flexible way to define commands.You can check out the features page to see what's available.

  • Zigi

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

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 2022-11-24.

C# CLI related posts

Index

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

Project Stars
1 ArchiSteamFarm 8,704
2 Gui.cs 7,686
3 spectre.console 6,207
4 win-acme 4,625
5 Command Line Parser 3,748
6 CliWrap 2,988
7 sdk 2,043
8 CommandLineUtils 2,000
9 Cocona 1,810
10 CSharpRepl 1,313
11 CliFx 1,216
12 Colorful.Console 1,170
13 Minecraft-Console-Client 1,105
14 Sieve 864
15 ini-parser 815
16 BuildXL 792
17 ReadLine 789
18 craftsman 783
19 Kurukuru 593
20 Console Framework 532
21 Fluent Command Line Parser 522
22 Sharprompt 510
23 CommandDotNet 450
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
www.sonarlint.org