Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

CLI

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.

Setup

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.

Sync wiki folder

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