> > There seems to be several options out there. Which one > should be used > > when creating command line tools? > > it keeps things exciting to mix them up in unpredictable ways > - preferably in obfusicated code. > > ;-) > > seriously - use getoptlong for simple stuff and optparse if > your needs are more elaborate. Use getopt for simple stuff or commandline if your needs are more elaborate. :-D Dan
on 2006-02-17 20:41
on 2006-02-17 21:08
I'm not sure what you mean. I know what getopt is but what do you mean by use commandline?
on 2006-02-17 21:11
commandline is in RubyForge. See http://rubyforge.org/projects/optionparser/.