]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
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>
Wed, 8 May 2013 13:46:37 +0000 (09:46 -0400)
commit3e28e38e5bb65da8a15e916ed69fb8e28f32ff39
treeae129f097399ba9370b16fbaea4e1ea01c64aac1
parentbe0eb2240e29637733a07da45e7131cf0d13cd0c
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