Sync users from google groups to the nuki user database.
A command line tool to enable you to synchronise your Google
Apps (Google Workspace) users to nuki users
Usage:
gooki [flags]
Flags:
-d, --debug enable verbose / debug logging
-u, --google-admin string Google Workspace admin user email
-c, --google-credentials string path to Google Workspace credentials file (default "credentials.json")
-h, --help help for gooki
--ignore-groups strings ignores these Google Workspace groups
--ignore-users strings ignores these Google Workspace users
--listen string Address to listen on for internal server (default ":8080")
--log-format string log format (default "text")
--log-level string log level (default "info")
-t, --nuki-token string Nuki Bearer Token for authentication with the nuki API.
-q, --query string Google Workspace filter query parameter, example: 'name:John* email:admin*', see: https://developers.google.com/admin-sdk/directory/v1/guides/search-users and https://developers.google.com/admin-sdk/directory/v1/guides/search-groups
--smartlock-id int Nuki Smartlock ID; if 0 no smartlock auths will be created.
-s, --sync-method string Sync method to use (users_groups|groups) (default "groups")
-p, --sync-period duration Time between two syncronizations, will only run once if set to 0
-v, --version version for gooki