@graphabase/cli

0.1.0 • Public • Published

Graphabase CLI

Graphabase CLI is a command line tool for managing Graphabase local development environment.

Installation

npm install -g @graphabase/cli

Requirements

  • Node.js >= 18.0.0
  • A previously created project via the Graphabase dashboard
  • Have a graphabase.config.js file in the current directory
    • With a valid projectId value

Usage

graphabase --help

Commands

graphabase info

Show an overview and status from your Graphabase project.

graphabase login

Login using your Graphabase account. You will be prompted in a browser to login to your Graphabase account.

graphabase logout

Logout your Graphabase account.

graphabase pull:env

Pull environment variables from your Graphabase project. This command will create a .env file in the current directory.

graphabase sync

Sync your local environment with your Graphabase project. This command will syncronize the GenQL generated files.

graphabase whoami

Show the current logged in user.

Package Sidebar

Install

npm i @graphabase/cli

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Unpacked Size

32.6 kB

Total Files

13

Last publish

Collaborators

  • omersguchigu
  • bitrvmpd
  • enzane
  • jmolivas