On 27 August 2011 00:23, Simon Michael <[email protected]> wrote: > Thanks Conrad! Those are some great links. > >> I wrapped up some manpage generation code in a package called >> ui-command, which is kind of orthogonal to cmdargs (ui-command just >> deals with subcommands). Example commands are often useful, so I added > > Interesting. Have you tried using both ui-command and cmdargs together ?
No, I've generally just used ui-command to select (and document) subcommands, and GetOpt to handle arguments. I think cmdargs added support for selecting subcommands recently. In any case, you are selecting subcommands by searching the filesystem. Perhaps it would be a good idea to split out the documentation part of ui-command ... Conrad. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
