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

Sample for storages #9

Closed
kirillt opened this issue Mar 3, 2024 · 0 comments · Fixed by #10
Closed

Sample for storages #9

kirillt opened this issue Mar 3, 2024 · 0 comments · Fixed by #10
Assignees

Comments

@kirillt
Copy link
Member

kirillt commented Mar 3, 2024

We need some sample binary be compiled on each commit (GitHub Actions prefixes could be used to compile only when fs-storage crate is actually modified). The sample could be very simple CLI utility working in 2 modes:

  • write-only mode
    • accepts parameters:
      • path to the storage
    • verifies that the storage doesn't exist
    • interactively takes as input:
      • storage type
      • one or many KV pairs
    • writes all KV pairs by the path
  • read-only mode
    • accepts parameters:
      • path to the storage
      • single key
    • outputs value from the storage on screen
@twitu twitu linked a pull request Mar 25, 2024 that will close this issue
@twitu twitu closed this as completed in #10 Mar 31, 2024
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

Successfully merging a pull request may close this issue.

2 participants