Purpose of CLI is to quickly iterate on EdgeDB contents. Easily call edgedb-js query builder functions from crud folder and run them on local/production database.
Create .env
file in edgedb folder with this content:
name=your-name
[email protected]
Then from root, run bun db:cli
and make changes to cli.ts file.
Add to .env
wikiFolderPath=path/to/wiki/
Where wikiFolderPath
can link to the seed
folder. If you ran bun dev-setup
in root of project, you have seed folder available. The path can then be something like:
wikiFolderPath=/Users/nikiv/src/learn-anything.xyz/seed/wiki/nikita