cly.__init__

    CLY is a Python module for simplifying the creation of interactive shells. Kind of like the builtin cmd module on steroids.

    It has the following features:

    • Automatic tab completion of all commands:

      cly> s<TAB><TAB>
      show status
      
    • Contextual help:

      cly> <?>
      show    Show information.
      status  Display status summary.
      
      login   Authenticate.
      
      quit    Quit.
      
    • Extensible grammar - define your own commands with full dynamic completion, contextual help, and so on.

    • :class:`XML grammar <cly.builder.XMLGrammar>` for building clean MVC style command line interfaces.

      System Message: ERROR/3 (<string>, line 25); backlink

      Unknown interpreted text role "class".

    • Simple. Grammars are constructed from objects using a simple functional style.

    • Multiple grammars can be merged both statically and dynamically.

    • Flexible command grouping and ordering.

    • Grammar parser, including completion and help enumeration, can be used independently of the readline-based shell. This allows CLY's parser to be used in other environments (think "web-based shell" ;))