Questions tagged [command-line-parser]

The Command Line Parser Library offers to .NET CLR applications a clean and concise API for manipulating command line arguments and related tasks.

From the project's readme:

The Command Line Parser Library offers CLR applications a clean and concise API for manipulating command line arguments and related tasks, such as defining switches, options and verb commands. It allows you to display a help screen with a high degree of customization and a simple way to report syntax errors to the end user.

51 questions
0
votes
1 answer

Parse commandline args and execute methods

I have a console application taking as input dozens of parameters. I'm using commandlineparser to help myself and i have no problem setting values to properties. By the way I also have a lot of methods i need to recall. The methods i need to call…
0
votes
1 answer

Unable to parse simple command line with commandlineparser

I have to parse an imposed command line which mix single/double dash args, args with = or as separator,etc (not very proper....) The command line is like myexe.exe -Url=https://blabla.com/ --TestValue=val1 -monoapp -Ctx "default ctx" Open…
David
  • 1,177
  • 3
  • 11
  • 26
0
votes
1 answer

User commands parser

Is there any python module which is a parser for user input data and executes user commands and processes Python syntax? For example: user>for i in range(3): ... doSomething() Above line will execute doSomething() method 3 times. I know there…
VIPPER
  • 326
  • 4
  • 24
0
votes
1 answer

Restrict values of C# command-line-parser options to Integers

I am currently working on a console app which uses this command line parser library. Some of my option values should be Integers. So I was wondering if there is a way to specify these options in such a way that they only accept values of type…
arne.z
  • 3,242
  • 3
  • 24
  • 46
0
votes
1 answer

Command Line Parser Library: Parse a hex string into UInt32

I have a console application that needs to take in arguments. The app uses the Command Line Parser Library to parse the arguments. The application needs to be able to take in hexadecimal arguments, and convert them to unsigned integers. For…
CurtisHx
  • 746
  • 3
  • 11
  • 30
-1
votes
1 answer

Console Application crashes without exception when using certain startup?

I'm using Selenium, I make many calls to INavigation's GoToUrl method throghout the application. The second call causes it to crash the application, or exit with exit code 0, no exception given. It's got path for execution, I've attached a debugger…
1 2 3
4