Futilities/human/lib/caOptsBase

From Woozle Writes Code
< Futilities‎ | human‎ | lib
Revision as of 14:20, 20 October 2022 by Woozle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Human Futilities: caOptsBase class

About

This class-family handles parsing of command-line options. Descendant classes will describe (in natural language) the operations which have been specified, via the DescribeSelf() method.

Arrays

  • App Options are the options that the application will recognize in a command
    • Array Format: [<code name> => [array of CLI strings which indicate that option]]
  • Cmd Options are the options actually specified in the current command
    • Array Format: [<key> => <cOptMain object>]
      • The <key> is set from cOptMain->GetKey().