Add an `--overwrite`/`--force`/`--create` flag for restore
Open
- Dominant language
- Rust
- Stars
- 175
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
`gel restore -I instance branch` currently fails if there's data or the branch doesn't exist.
It would save an extra step if we allowed the restore to overwrite, create or otherwise stomp the existing state of the database via an extra flag.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the `gel restore -I instance branch` command and trace how it handles existing data and missing branches. Clarify the intended behavior of `--overwrite`, `--force`, or `--create`, then define completion around restoring into both existing and nonexistent branches without the current failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100