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

Add caching for CLI #75

Merged
merged 5 commits into from
Sep 3, 2024
Merged

Add caching for CLI #75

merged 5 commits into from
Sep 3, 2024

Conversation

sgreenbury
Copy link
Contributor

Closes #74

@sgreenbury sgreenbury marked this pull request as ready for review August 6, 2024 13:27
@sgreenbury sgreenbury self-assigned this Aug 8, 2024
@@ -144,6 +144,32 @@ impl From<OutputFormat> for OutputFormatter {
}
}

async fn read_popgetter(config: Config) -> anyhow::Result<Popgetter> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Consider moving this implementation to be part of the popgetter crate as part of #46 if the same caching approach can be used.

src/cli.rs Show resolved Hide resolved
src/metadata.rs Outdated Show resolved Hide resolved
}
use paths as PATHS;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Refactored as module since no methods expected (see #56 (comment))

@sgreenbury sgreenbury merged commit 8004fb8 into main Sep 3, 2024
2 checks passed
@sgreenbury sgreenbury deleted the 74-caching branch September 3, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done:
Development

Successfully merging this pull request may close these issues.

Add caching in CLI for metadata
1 participant