-
Notifications
You must be signed in to change notification settings - Fork 40
Command Reference
The command gzr help will display the available commands. The command gzr COMMAND help will
display the subcommands for that particular command. The command gzr COMMAND help SUBCOMMAND will show the details for that subcommand.
gzr space ls [FILTER_SPEC] --host=looker.example.com will retrieve information about a space. The FILTER_SPEC
can support multiple types of values.
When the FILTER_SPEC is not included, this command will display the contents of the current user's default home space. This is the user's default space.
When FILTER_SPEC is "~" the space listed will be the user's personal space.
When the FILTER_SPEC is "~123" or "~John Smith", the space listed will be the personal space of user 123 or the user(s) named "John Smith".
When the FILTER_SPEC is a title like "Daily Reports" the spaces will be searched for a space or spaces with that title, and those spaces will be listed.
When the FILTER_SPEC is a number like "100", the space with id 100 will be listed.
The command gzr space top --host=looker.example.com displays the top level spaces for a server. This will normally be 'Shared' and 'Users' but in "closed systems" there may be others defined.
The command gzr space tree [FILTER_SPEC] --host=looker.example.com displays a space and all its subspaces, dashboards, and looks in a tree format. The FILTER_SPEC follows the same rules as for gzr space ls.
gzr space rm SPACE_ID --host=looker.example.com
gzr space create NAME PARENT_SPACE_ID --host=looker.example.com
gzr space cat SPACE_ID --host=looker.example.com
gzr space export SPACE_ID --host=looker.example.com
gzr look cat LOOK_ID --host=looker.example.com
gzr look rm LOOK_ID --host=looker.example.com
gzr look import FILE DEST_SPACE_ID --host=looker.example.com
gzr dashboard cat DASHBOARD_ID --host=looker.example.com
gzr dashboard rm DASHBOARD_ID --host=looker.example.com
gzr dashboard import FILE DEST_SPACE_ID --host=looker.example.com
gzr plan ls --host=looker.example.com
gzr plan cat PLAN_ID --host=looker.example.com
gzr plan rm PLAN_ID --host=looker.example.com
gzr plan import PLAN_FILE look LOOK_ID --host=looker.example.com
gzr plan import PLAN_FILE dashboard DASHBOARD_ID --host=looker.example.com
gzr user ls --host=looker.example.com
gzr user me --host=looker.example.com
gzr user cat USER_ID --host=looker.example.com
gzr user disable USER_ID --host=looker.example.com
gzr group ls --host=looker.example.com
gzr group member_users GROUP_ID --host=looker.example.com
gzr group member_groups GROUP_ID --host=looker.example.com
gzr connection ls --host=looker.example.com
gzr connection dialects --host=looker.example.com
gzr model ls --host=looker.example.com