Questions tagged [manyconsole]

An extension to NDesk.Options for writing console applications with multiple commands

5 questions
2
votes
1 answer

Declaring required mutually exclusive options with ManyConsole

I am using the excellent ManyConsole extension to the great Mono.Options I was wondering whether it supports mutually exclusive required options. I think that Mono.Options does not support them and hence ManyConsole probably does not either. But I…
mark
  • 59,016
  • 79
  • 296
  • 580
2
votes
1 answer

Using manyConsole to creating a default argument with no flags but still have commands that require flags

I just found manyConsole for commandline parsing and believe that it can meet my requirements for a Windows console app in my project except for one thing. Can I have manyConsole parse the commandline so that I have the following…
Matt Pedigo
  • 145
  • 1
  • 1
  • 11
0
votes
1 answer

ManyConsole Sending commands in a separate console

I'm making a console window that runs a game server and I'd like to add commands for various things. Since commands will require parameters I've decided to use the ManyConsole nuGet. I've made an test project and have added the built .dll to my…
Anthony
  • 301
  • 1
  • 2
  • 13
0
votes
2 answers

Handling output for manyconsole

I'm new at using manyconsole and I have a question about handling user output. I have method which multiplies two numbers. And I want to print my own error messages when, for example, I didn't enter all parameters. Now program, as far as I…
0
votes
2 answers

Why does ManyConsole display public members of a CommandLine class?

I'm using ManyConsole as a command line command and options parser for a console app. All commands are defined as a command class that derives from ConsoleCommand, and then implement a specific task. I defined an intermediary base class,…
ProfK
  • 49,207
  • 121
  • 399
  • 775