From: Dana Merrick Date: 2008-03-25T04:50:51+09:00 Subject: Re: optionparser to gui automation? --------------enigD519B60FB2C10E4F4E163EBF Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable You're probably looking for something like this: ruby-doc.org/stdlib/libdoc/optparse/rdoc/ HTH, Dana Merrick Mark Noworolski wrote: > I'm looking to support functionality like follows: > 1. You start a ruby program with commandline arguments (in a standard= > optionparser kind of way)... > 2. If you do not provide any, a GUI pops up, asking you for things th= at > would otherwise be on the commandline. > 3. Ideally, this is automated with semi-sane defaults for the gui vie= w. >=20 > I would expect that there might be some sort of optionparser extension = that > might do this but googling has not helped me out so far... >=20 > Does anybody know of anything like this? >=20 > mark >=20 --------------enigD519B60FB2C10E4F4E163EBF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkfoBh8ACgkQ7b+8UB5G/wOEqACcCYkMUXeB/cwRq2rUuG85V9GL Oz8AnRnzmCC9pAI+ItEXR3WOQQ9oLJTj =btLJ -----END PGP SIGNATURE----- --------------enigD519B60FB2C10E4F4E163EBF--