--------------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 standardptionparser kind of way)...
>   2. If you do not provide any, a GUI pops up, asking you for things that
> would otherwise be on the commandline.
>   3. Ideally, this is automated with semi-sane defaults for the gui view.
> 
> 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...
> 
> Does anybody know of anything like this?
> 
> mark
> 


--------------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
J
-----END PGP SIGNATURE-----

--------------enigD519B60FB2C10E4F4E163EBF--