Forget fancy shmancy web stuff. I'm looking for a good .NET CLI argument processing utility, prefer open source code. This is for quick and dirty utilities that need robust and friendly command line argument handling.
These are utilities with maybe a day of effort in them. Investing a few days writing good command line handling seems overkill ... but they really need it.
Features I like in command line handlers. I'd be thrilled with any open source project that had 2 or 3 of the following.
PS If I don't find such a thing, I'll probably drop one on google code in the next few weeks
PPS If I could add tags, I'd tag this "pleasesearchtheinternetforme"
robust is a programmer's command that computes a robust variance estimator based on varlist of equation-level scores and a covariance matrix.
The CLI is accessed through a console or through a Secure Shell (SSH. SSH is a network protocol that provides secure access to a remote device. ) session from a remote management console or workstation.
The console is a physical port on the switch that allows access to the CLI. We typically use this the first time we configure the switch. Telnet and SSH are both options for remote access.
Also from codePlex, the CommandLine project seems to meet your requirements. A Liberal application of copy/paste from the projects home page gives ...
The Command Line Parser Library offers to CLR applications a simple programming interface for manipulating command line input. This library allows you to display an help screen with a good degree of customization. The API keeps on its shoulders everything boring to code.
The Command Parser Library supports:
Short options (-s, for example)
Short options like switches; no value required
Long options (--long, for example)
Composed options (its about values)
Common features
Both accepts values with spaces: -s"Hello World!" --long "Hello CLR!"
You should check out Mono.Options (http://www.ndesk.org/Options) since it is a lot more cross-platform friendly and used extensively in Mono itself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With