@composabase/cli
v0.5.5
Published
The Composabase CLI
Downloads
12
Readme
Composabase CLI
Composabase CLI is a command line tool for managing Composabase local development environment.
Installation
npm install -g @composabase/cli
Requirements
- Node.js >= 18.0.0
- A previously created project via the Composabase dashboard
- Have a composabase.config.js file in the current directory
- With a valid
projectId
value
- With a valid
Usage
composabase --help
Commands
composabase info
Show an overview and status from your Composabase project.
composabase login
Login using your Composabase account. You will be prompted in a browser to login to your Composabase account.
composabase logout
Logout your Composabase account.
composabase pull:env
Pull environment variables from your Composabase project. This command will create a .env
file in the current directory.
composabase pull:schema
Pull GraphQL schema from your Composabase project. This command will create the GraphQL schema file in the @composabase/client directory.
composabase whoami
Show the current logged in user.