
Hi, Often when I write small scripts, I find I just want a couple of command line arguments but don't want to go the whole GetOpt route. SimpleArgs is an attempt to make the raw getArgs somewhat less raw, and quick and dirty scripts a bit less dirty without sacrificing the quickness. Since I find this quite useful, I thought I'd advertise the code here, ask what people think, and invite suggestions for improvement. It's at: http://malde.org/~ketil/simpleargs -k -- If I haven't seen further, it is by standing in the footprints of giants

On Thu, 6 Mar 2008, Ketil Malde wrote:
Often when I write small scripts, I find I just want a couple of command line arguments but don't want to go the whole GetOpt route. SimpleArgs is an attempt to make the raw getArgs somewhat less raw, and quick and dirty scripts a bit less dirty without sacrificing the quickness.
I also thought command line parsing is cumbersome until I found: http://www.haskell.org/haskellwiki/High-level_option_handling_with_GetOpt
participants (2)
-
Henning Thielemann
-
Ketil Malde