Skip to content

feat: add support for local cache to at_cli#428

Open
xavierchanth wants to merge 1 commit into
trunkfrom
cache-atcli
Open

feat: add support for local cache to at_cli#428
xavierchanth wants to merge 1 commit into
trunkfrom
cache-atcli

Conversation

@xavierchanth
Copy link
Copy Markdown
Member

- What I did

  • Added sync as a "verb"
  • Added config and flags for --cache (boolean) and --cache-dir (string)

- How I did it

- How to verify it

Using those features here:
https://github.com/XavierChanth/dotfiles/blob/trunk/dotfiles/dot-local/bin/at_pass

- Description for the changelog
feat: add support for local cache to at_cli

@xavierchanth xavierchanth requested review from gkc and srieteja November 16, 2024 22:07
String privateKey, AtCliPreference atCliPreference) {
var preference = AtClientPreference();
preference.isLocalStoreRequired = false;
preference.isLocalStoreRequired = atCliPreference.cache;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isLocalStorageRequired has been deprecated in AtClientPreferences. Also, setting cache to false sets isLocalStorageRequired to false, which is not the intended behavior

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 this pull request may close these issues.

3 participants