Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands for datasources, projects, dimensions, segments, sdk connections, visual changesets, saved groups #34

Merged
merged 14 commits into from May 25, 2023

Conversation

tinahollygb
Copy link
Contributor

@tinahollygb tinahollygb commented May 25, 2023

Adds the new sets of commands:

  • datasources
  • dimensions
  • projects
  • savedgroups
  • sdkconnections
  • segments
  • vcs (visual changesets)

Commands for all currently-available API endpoints (except visual changesets, which are best created by the visual editor).

Also renames the deploy script to publish and upgrades to the latest actions/checkout since v2 is deprecated.

@@ -5,11 +5,18 @@
   $ growthbook [COMMAND]
 
 TOPICS
   auth
+  datasources     Get a single datasource by ID
+  dimensions      Get a single dimension used during experiment analysis
   experiments     Get a single experiment by ID
   features
   metrics         Create a metric from file or standard in
+  projects        Get a single project by ID
+  savedgroups     Create a saved group
+  sdkconnections  Client keys and settings for connecting SDKs to a GrowthBook instance
+  segments        Get a single segment used during experiment analysis
+  vcs             Get a Visual Changeset created in the visual editor
 
 COMMANDS
   auth
   help  Display help for growthbook.

datasources

Get a single datasource by ID

USAGE
  $ growthbook datasources COMMAND

COMMANDS
  datasources get   Get a single datasource by ID
  datasources list  Get all data sources

dimensions

Get a single dimension used during experiment analysis

USAGE
  $ growthbook dimensions COMMAND

COMMANDS
  dimensions get   Get a single dimension used during experiment analysis
  dimensions list  Get all dimensions used during experiment analysis

projects

Get a single project by ID

USAGE
  $ growthbook projects COMMAND

COMMANDS
  projects get   Get a single project by ID
  projects list  List all projects

savedgroups

Create a saved group

USAGE
  $ growthbook savedgroups COMMAND

COMMANDS
  savedgroups create  Create a saved group
  savedgroups delete  Delete a saved group
  savedgroups get     Get a single saved group by ID
  savedgroups list    Defined sets of attribute values which can be used with
                      feature rules for targeting features at particular users.
  savedgroups update  Update an existing saved group.

sdkconnections

Client keys and settings for connecting SDKs to a GrowthBook instance

USAGE
  $ growthbook sdkconnections COMMAND

COMMANDS
  sdkconnections get   Client keys and settings for connecting SDKs to a
                       GrowthBook instance
  sdkconnections list  Client keys and settings for connecting SDKs to a
                       GrowthBook instance

segments

Get a single segment used during experiment analysis

USAGE
  $ growthbook segments COMMAND

COMMANDS
  segments get   Get a single segment used during experiment analysis
  segments list  Get all segments used during experiment analysis

vcs

For managing Visual Change Sets.

Get a Visual Changeset created in the visual editor

USAGE
  $ growthbook vcs COMMAND

COMMANDS
  vcs get   Get a Visual Changeset created in the visual editor
  vcs list  List Visual Changesets created in the visual editor

@tinahollygb tinahollygb marked this pull request as ready for review May 25, 2023 01:13
@tinahollygb tinahollygb merged commit fd08a20 into main May 25, 2023
2 checks passed
@tinahollygb tinahollygb deleted the features/more-commands-may24 branch May 25, 2023 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant