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

Extract Backup Logic into Separate Crate #68

Open
tareknaser opened this issue May 28, 2024 · 0 comments
Open

Extract Backup Logic into Separate Crate #68

tareknaser opened this issue May 28, 2024 · 0 comments

Comments

@tareknaser
Copy link
Collaborator

Description:

The logic for backup should be moved out of ark-cli to make it reusable by other applications.

Currently, ark-cli implements the backup logic within ark-cli/src/main.rs (to be moved to a separate file in #67). Additionally, there is no command to restore backups.

Proposal:

Create a separate crate to handle the backup and restore logic, including all possible options.

Benefits:

  • Reusability: The new crate will be reusable by other crates within the workspace (including ark-cli) and by external crates if needed.
  • Maintainability: The code will be easier to maintain within a dedicated crate rather than being embedded in ark-cli.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant