- Here's a way to do it in C#: CommandLineParser.
- Or you can get Windows to do it for you, from Perl.
- Oh, right. Text::ParseWords. I knew I already knew the answer to this.
Showing posts with label command line. Show all posts
Showing posts with label command line. Show all posts
Tuesday, November 3, 2015
Parsing a command line
You would think this would be easy to find. I've got a string - perhaps taken from a file - that represents a command. I want to parse it into an ARGV-like structure, with proper string quoting and that kind of thing.
Tuesday, October 21, 2014
Basic tips for writing Unix tools
Here. Except really I'd like a superset of Unix-y functionality. Wouldn't it be nice to have the same kind of tinkertoy approach but with SQLite or something? (Kind of where my SQP is going. Slowly.)
Friday, October 10, 2014
Rich command shells
A very nice overview of what's out there at the moment (with history). I keep thinking I want to do this with SQP, but I'm still just not sure how it should look. (Probably the notebook thing.)
(Note to self: merge CLI and command line tags - they're the same thing...) (Or are they?!?)
Also, holy schemoley - xiki: xiki.org/screencasts/
(Note to self: merge CLI and command line tags - they're the same thing...) (Or are they?!?)
Also, holy schemoley - xiki: xiki.org/screencasts/
Tuesday, June 3, 2014
docopt
At docopt.org - a specification language for command-line interfaces. Shades of ... that groovy Perl module I can't remember the name of. Right - Getopt::Euclid! I used it for the Marpa tester. Shades of that! Except a general specification language. I think I'll steal this idea eventually.
Subscribe to:
Posts (Atom)