Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cli] add kv subcommand #52

Open
miguelrk opened this issue Oct 3, 2023 · 0 comments
Open

[cli] add kv subcommand #52

miguelrk opened this issue Oct 3, 2023 · 0 comments
Assignees
Labels
priority: medium Do last (delegate?) type: idea New idea for brainstorm

Comments

@miguelrk
Copy link
Contributor

miguelrk commented Oct 3, 2023

The CLI is missing certain utilities to make it easier to manage the KV database across environments (development and production). Some useful utilities include: dump, migrate, mock, reset, restore, seed, upload (from e.g. JSON files), etc.

This issue should replace the db: tasks under e.g. templates/crm/tasks/. The subcommands should ask to specify filepaths to JSON files of KVMutations. As a convention, we use *.entries.json filenames. These files should have be in the form of [Deno.KvMutation](https://deno.land/api?s=Deno.KvMutation&unstable=)[] or { type: "set"; value: unknown; expireIn?: number; }[] for now. Other formats e.g. CSV can be added laterr.

@miguelrk miguelrk added priority: low Do never (delete?) type: idea New idea for brainstorm labels Oct 3, 2023
@miguelrk miguelrk self-assigned this Oct 3, 2023
@miguelrk miguelrk changed the title [cli] add kv subcommand) [cli] add kv subcommand Nov 21, 2023
@miguelrk miguelrk mentioned this issue Feb 8, 2024
37 tasks
@miguelrk miguelrk added priority: medium Do last (delegate?) type: feature New feature or request and removed priority: low Do never (delete?) type: feature New feature or request labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Do last (delegate?) type: idea New idea for brainstorm
Projects
None yet
Development

No branches or pull requests

1 participant