HomePhabricator
Diffusion Scap bd5f470beaad

Add base class for creating CLI wrappers

Authored by bd808.

Description

Add base class for creating CLI wrappers

Add scap.cli.Application class to handle the boilerplate of argument
processing, configuration loading and error processing when creating
command line scripts.

Convert the mwversionsinuse script to use the new class as an example of
usage.

Change-Id: I1ccf437bc6e424488605250cb25fde6aa0555b56

Details

Committed
oriMar 8 2014, 12:25 AM
Parents
rMSCA33c85b9afa47: Merge "Remove leftover MW_VERSIONS_SYNC usage"
Branches
Unknown
Tags
Unknown
References
refs/changes/56/116456/4
ChangeId
I1ccf437bc6e424488605250cb25fde6aa0555b56