Command Line Parser
Cocona
Our great sponsors
Command Line Parser | Cocona | |
---|---|---|
17 | 7 | |
4,397 | 3,013 | |
1.7% | - | |
0.0 | 5.8 | |
about 2 months ago | 10 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Command Line Parser
-
Parse CLI arguments in .NET
So after some research I found the awesome NuGet-Package Command Line Parser Library. This package allows to define your options with Property-Attributes.
- Is it possible to pass variables from PHP to a C# console app?
- How to generate a CLI interface for CRUD operations?
-
Made this a while ago and forgot to share it here -- ArgSharp, a simple and capable CLI argument parser
seems very similar to command line parser, btw good job
-
having trouble understanding the new "method chaining" syntax
The URL of the library is at https://github.com/commandlineparser/commandline. This project page has samples for VB.Net, along with other languages too.
-
IS there any way to change string[] args to an object on the fly?
How about https://github.com/commandlineparser/commandline ?
-
Developing and installing your own CLI with dotnet tool and CliFx NuGet package
This lib looks way better than the seemingly most popular one: https://github.com/commandlineparser/commandline Which is just a nightmare with terrible docs
- What's your favorite command line arg parser?
- What is your preferred way to roll for stats?
-
Reverse Engineering Keyboard Driver: Part 2 (Decompiling .NET applications)
CommandLineParser
Cocona
-
.NET 8 Standalone 50% Smaller On Linux
yes its great good for cross-platform cmdline apps, i would recommend using Cocona https://github.com/mayuki/Cocona
- Best way to build a console app with command line parser and dependency injection?
-
ASP.NET Core updates in .NET 7 Preview 5
I've used Cocona for my personal cmd stuff now and it's definitely a better experience imo. It supports both minimal api style and controller-ish style.
-
Announcing .NET 7 Preview 2 – The New, ‘New’ Experience
They are taking sooooooo long to actually finish that library it’s annoying. This is the most ergonomic one i have found so far.
- What's your favorite command line arg parser?
- Cocona releases V2 (Micro-framework for .NET Core console application). [Not Mine]
-
My preferred .NET console stack – An opinionated view on .NET console apps
Cocona [1] is my command line parsing library of choice.
1. https://github.com/mayuki/Cocona
What are some alternatives?
Fluent Command Line Parser - A simple, strongly typed .NET C# command line parser library using a fluent easy to use interface
spectre.console - A .NET library that makes it easier to create beautiful console applications.
command-line-api - Command line parsing, invocation, and rendering of terminal output.
CommandLineUtils - Command line parsing and utilities for .NET
CSharpRepl - A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
Power Args - The ultimate .NET Standard command line argument parser
runtimelab - This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
CliWrap - Library for running command-line processes
Spectre.Console.Extensions - A library that extends Spectre.Console to build beautiful console apps.
Gui.cs - Cross Platform Terminal UI toolkit for .NET
CommandDotNet - A modern framework for building modern CLI apps