@graphabase/cli
v0.1.0
Published
The Graphabase CLI
Downloads
1
Readme
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
- With a valid
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.