looker-open-source / gzr

A Command Line Tool for Looker Content Management
MIT License
122 stars 36 forks source link

feat: Project management and session management additions #185

Closed drstrangelooker closed 1 year ago

drstrangelooker commented 1 year ago

Initial project management commands ls and cat

$ exe/gzr project help
Commands:
  gzr project cat PROJECT_ID  # Output json information about a project to screen or file
  gzr project help [COMMAND]  # Describe subcommands or one specific subcommand
  gzr project ls              # List all projects

Workspace selection in session management

$ exe/gzr session help
Commands:
  gzr session get                  # Get data about current session
  gzr session help [COMMAND]       # Describe subcommands or one specific subcommand
  gzr session login                # Create a persistent session
  gzr session logout               # End a persistent session
  gzr session update WORKSPACE_ID  # change the workspace_id of the current session

The gzr session get command retrieves the workspace_id of the current session. The gzr session update WORKSPACE_ID sets the workspace to production or dev. session update only makes sense when using a persistent session.

github-actions[bot] commented 1 year ago

Ruby-CI Tests

    4 files      4 suites   1m 22s :stopwatch: 136 tests 136 :heavy_check_mark: 0 :zzz: 0 :x: 544 runs  544 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit d5309610.

github-actions[bot] commented 1 year ago

Ruby-CI Tests

    4 files      4 suites   1m 22s :stopwatch: 136 tests 136 :heavy_check_mark: 0 :zzz: 0 :x: 544 runs  544 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit 0093a605.