open-index/open-npm huggingface dataset:
npm package: @graphabase/cli
Description: The Graphabase CLI
Author: Graphabase
Latest version: 0.1.0

 # Graphabase CLI

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

## Installation

```bash
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

```bash
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.