haskell - How to implement and use the sub-modes feature from System.Console.CmdArgs -


i create kind of swiss-knife tool specific domain, , "cabal" or "darcs" command-line interface looks perfect.

using on-line tutorials implement simple "hello, world" program. implemented more sophisticated solution modes , when well.

but now, explore "sub-modes" have understanding of possibilities, , i'm stuck. not find tutorial, example or detailed description of feature.

how implement , use submodes feature?

i want clarify understand modes, it's submodes not clear me.

the cmdargs tutorial has examples sub-modes. documentation modes function clear.

in fact, google search "cmdargs modes" reveals quite a few more tutorials covering this.


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -