geldata / geldata/gel-cli

Create a subcommand in `extension` for "activating" built-in extensions

Open
#1,608 1 comment 0 reactions 0 assignees View on GitHub
developer experience enhancement
Dominant language
Rust
Stars
175
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Using a new extension currently requires that a developer knows how to write the `using extension [ext-name];` statement in their schema _and_ that they need to now generate and apply a migration before it's ready to use. We should add a CLI command that is sugar for this.

## Notes

- Naming ideas: `use`, `using`, `install`, `add`
- Maybe add a `--no-migration` switch
- Detect dev-mode and skip migration
- Add a new `ext.gel` file and add extensions _there_ instead of `default.gel`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.