planetscale/cli

[Feature] Add the Data Branching™️ feature to pscale

FancyFane opened this issue · 1 comments

Currently, there is no way to utilize the Data Branching™️ feature from the pscale CLI, this is a feature request to extend this functionality.

You can use Data Branching™️ via the CLI:

nickvanw@M1-MBP ~> pscale branch create
Usage:
  pscale branch create <source-database> <branch> [options] [flags]

Aliases:
  create, b

Flags:
      --from string      branch to be created from
  -h, --help             help for create
      --region string    region for the database
      --restore string   backup to restore into the branch
      --seed-data        add seed data using the Data Branching™ feature
      --wait             wait until the branch is ready
  -w, --web              Create a branch in your web browser

With --seed-data

It even has the ™️.