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

Implement top-level (list) sync in cvcap cli #21

Closed
crispinb opened this issue Aug 30, 2022 · 1 comment
Closed

Implement top-level (list) sync in cvcap cli #21

crispinb opened this issue Aug 30, 2022 · 1 comment
Labels
enhancement New feature or request inprogress

Comments

@crispinb
Copy link
Owner

crispinb commented Aug 30, 2022

Not sure if cli will ever use sync proper (which is mainly intended for future apps using cvapi lib)
But a useful slice as a POC would be:

on cvcap add task -l, read the lists from sqlite so they're instantly available.
Add a 'synclists' command to refresh the local list.
Not really a sync but just a list download-and-persist.

@crispinb crispinb added the enhancement New feature or request label Aug 30, 2022
@crispinb crispinb changed the title Use sync in cvcap cli Implement top-level (list) sync in cvcap cli Sep 3, 2022
@crispinb
Copy link
Owner Author

crispinb commented Sep 3, 2022

  • add api to download and persist lists to local sqlite
  • add api to get lists from sqlite rather than REST
  • add synclists command to pop. file database
  • use persistence api in all commands using -l option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request inprogress
Projects
None yet
Development

No branches or pull requests

1 participant