FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Add --group-settings option

Merged Robin Goodall requested to merge issue-22-optional-group-settings into master
All threads resolved!
Files
4
+ 6
2
@@ -3,7 +3,7 @@ Synchronise users to GSuite
Usage:
gsuitesync (-h | --help)
gsuitesync [--configuration=FILE] [--quiet] [--really-do-this]
gsuitesync [--configuration=FILE] [--quiet] [--group-settings] [--really-do-this]
Options:
-h, --help Show a brief usage summary.
@@ -12,6 +12,8 @@ Options:
--configuration=FILE Specify configuration file to load.
--group-settings Also update group settings on all groups
--really-do-this Actually try to make the changes.
"""
@@ -42,4 +44,6 @@ def main():
configuration = config.load_configuration(opts['--configuration'])
# Perform sync
sync.sync(configuration, read_only=not opts['--really-do-this'])
sync.sync(configuration,
read_only=not opts['--really-do-this'],
group_settings=opts['--group-settings'])
Loading