Squires is a Python library which simplifies the creation of powerful self-documenting command line interfaces.
Scripts using Squires have the following features in their interface:
The combination of the above features attempts to emulate the feel of the Cisco(tm) CLI in your own scripts.
On the inside, programmers using Squires can enjoy these features:
Squires was developed internally at Google and released under the Apache 2.0 licence for the benefit of the wider community.
If you are not a Google employee, our lawyers insist that you sign a Contributor Licence Agreement (CLA).
The Google CLA is based on Apache's. Note that unlike some projects (notably GNU projects), we do not require a transfer of copyright. You still own the patch.
Sadly, even the smallest patch needs a CLA.