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>
Tue, 7 May 2013 18:38:33 +0000 (14:38 -0400)
commit3b8b969f2cd455737fb7e000cd455b6ef0a57f31
treef96af42e92d5a3e5de017c2f2f8ead6b4aa70e89
parent33e6507a25f8330b8f5bcfb2f98634657c745cea
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