CLI
Generates a type-safe client based on your Repo's schema.
Generate
basehub generate
This command will get your BaseHub Token from your environment using dotenv-mono, use that to query the BaseHub API, and generate a type-safe SDK out of its schema.
Arguments
Aliases
Relevant Environment Variables
Dev
basehub dev
The dev
command is very useful for local development. It basically runs basehub generate --watch --draft [...args]
(notice how watch and draft mode are both being forced).