ServerJS/Command Line

< ServerJS
Revision as of 08:43, 25 June 2009 by Ondras (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Command line processing

Many server-side tools use a command line as their interface, and there should be a high-level way to deal with the arguments.

Prior Art

  • v8cgi's GetOpt module
  • Microsoft WshArguments object in the Windows Script Host environment.
  • Python's optparse module provides a reasonably powerful, flexible and full-featured option parser.