tags:

views:

62

answers:

2

I often write consoles for various things (and I've made my own library - but it's quite limited), I do this mainly because the Windows command line sucks. Is there an open source library I can use for writing such command line applications? By console, I mean a command prompt with auto-complete (tab) and copy/paste.

Update:

Please do not recommend that I use something other than cmd.exe (e.g. PowerShell), since PowerShell may not always be available. Also, I'm looking for a library that makes my application behave like a command line interpreter; I'm not looking for a library that helps me parse command arguments.

A: 

I used Command Line Parser before and it's really good for getting the command line params in a nice, configurable way. Have a look, maybe it'd do what you want.

theburningmonk
Thanks, this is sort of related, but does not really answer my question. The console needs to be interactive. I will improve my question.
nbolton
A: 

You might want to use PowerShell instead of cmd.

TTT
Sorry, this should be a comment, even though I agree. It does not answer my question, since PowerShell might not always be readily available.
nbolton