Command line options for queries and actions
authorDan Scott <dan@coffeecode.net>
Thu, 8 Sep 2011 15:35:31 +0000 (11:35 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 12 Nov 2012 17:57:57 +0000 (12:57 -0500)
commit0f8924d4a796c6e04cab72d481fd6c2693c87129
tree8638ae13279d1c0ec40c848a07bc5dfbc83ff699
parentc782ee1114f6504864fb6c8c20663d08e9caa07b
Command line options for queries and actions

Use the argparse module to enable override of user/password/hostname
options at the command line, as well as to enable different types of
queries (for example, via LDAP cn / sn / id / createTimestamp) and
enable particular actions (display the LDAP data and/or create new users
in Evergreen).

Much better than manually editing the script each time.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/patron-load/ldap_osrf_sync