Skip to content
/ cly Public

A Python module for adding powerful text-based consoles to your application.

License

Notifications You must be signed in to change notification settings

alecthomas/cly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  - An XML (honestly, it's better than you think) grammar format.

  - Tab completion of all commands.

  - Contextual help.

  - Extensible grammar - you can define your own commands with full dynamic
    completion, contextual help, and so on.

  - Simple. Grammars are constructed from objects using a convenient
    ''function-like'' syntax.

  - 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" ;))

  - Lots of other cool stuff.

About

A Python module for adding powerful text-based consoles to your application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published