Command Line Parser
glazed-donut
Our great sponsors
Command Line Parser | glazed-donut | |
---|---|---|
17 | 9 | |
4,397 | 1 | |
1.7% | - | |
0.0 | 1.8 | |
about 2 months ago | over 2 years 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
glazed-donut
-
Releasing glazed-donut to the World🎉✨
For the past week, I have been researching on where to release my command line interface (cli), glazed-donut.
-
Creating a CI pipeline for yassgy
For this week, I set up a CI pipeline for yassgy with GitHub Actions. I also contributed to glazed-donut, by creating a few test cases.
-
First Time Participating in Hacktoberfest
Throughout the last months while I was working as a Software Developer Intern and on my my ssg repo, I was hardly ever touching front end. I missed working on front-end a lot, so as my first PR for the #hacktoberfest challenge, I decided to take on a small issue related to front end.
-
Crazy Cleaning Marathon and Rebasing Torturing
This week I was doing some refactoring for my glazed-donut repo. Since its creation, the features kept coming in every week, but there was no refactoring done whatsoever, so... it got pretty messy😅
-
Working on Different Branches in Parallel
This time, I've added two features for Glazed-Donut. It now supports the --lang (or simply -l) command, where you can specify a language tag (ex: fr-CA for Canadian French) and it will set the lang attribute in the generated HTML files to whatever value you put. By default, it will set the lang attribute to en-CA. It is done so that the browser can know what language the contents of the file are, and how it can better interpret them.
-
I've Got a Cute PR
Irene also added a similar feature to my glazed-donut repo. The feature she has added was a Markdown file support that's able to convert all # into
-
Breaking Code and Letting Others Break My Code
After I built the Glazed Donut, I had a wonderful opportunity to explore a similar project shinny-ssg by doing some testing and reviewing and get my glazed-donut tested as well.
-
Working together in Open Source Projects
I tested her application glazed-donut with all test cases and her code nailed it. All the features worked as expected and it generated appropriate messages to the users when there were any errors/exception. The only problem I could find about it is in generateHTML method , which she should have replaced the with white space. Other than that, just a few minor typos on the read me file, but nothing major. When she reviewed my code and tested my app, I appreciated that she really spent the time to check every detail, giving me very sound advice and helped me file bugs which I did not find before. First, she mentioned the naming convention in C# and explained in details the good practices in the industry. Second, she found a bug in my Page class which created an extra tag. Third, my exception handling was not good enough and she guided me to make it better. In the end, I am able to fix most of the issues but I need more time to improve the code and make it flawless.
-
Glazed Donut: Release 0.1
You can view the project here.
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
ssgApplication
spectre.console - A .NET library that makes it easier to create beautiful console applications.
shinny-ssg
CommandLineUtils - Command line parsing and utilities for .NET
badge-generator - Magically generate Markdown badges for your docs 🛡️ 🦡 🧙
Power Args - The ultimate .NET Standard command line argument parser
yassgy
Cocona - Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.
CliWrap - Library for running command-line processes
Gui.cs - Cross Platform Terminal UI toolkit for .NET
Console Framework - Cross-platform toolkit for easy development of TUI applications.