The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
I write a lot of command-line utilities, some including some stuff similar to that.
However, I _never_ use appconfig. Some do use a custom XML file designed for them.
Your point 2 reminds me of VOS.
I haven't advanced my command line parser to that point though. Even many features of OpenVMS haven't been added yet.
One of the more recent features I added to the parser is the ability to set environment variables to hold commonly-used switches.
For instance, my TFSutil expects a /URL switch (which rarely changes), so
and the command line parser treats it as if it was included on the command line. Slick as snot.
It's always cool when you get a chance to work on something and feel like you've done a clever job of it.
I got to do that last year for the first time in ages. We were making an "evaluation kit" to show off some new hardware to potential partners, and I was charged with producing the app to run the thing. I could have cannibalized an existing app, but it would have been a chainsaw job and would have looked like it. Instead I rolled up a new app from scratch. Not only did the new app look good, I got it done before the hardware was ready, which almost never happens.
Nope, I'm ok with leaving shortly after retirement, say 75 or so.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle