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

Harmonise data and metrics commands #57

Merged
merged 16 commits into from
Jul 5, 2024
Merged

Conversation

penelopeysm
Copy link
Member

@penelopeysm penelopeysm commented Jul 2, 2024

This PR:

  • Creates a single SearchParams struct, and a corresponding SearchParamsArgs struct which represents the command-line arguments used to generate a SearchParams
  • Modifies both the data and metrics commands to use these (data will search for appropriate metrics and then download them; metrics searches for appropriate metrics and then pretty-prints them)

(Merge #56 first before this one! :))

What's not done in this PR:

  • Rework recipe command to use the serialised version of the search params
  • Tests

@penelopeysm penelopeysm changed the base branch from serialisation-aliases to main July 2, 2024 10:02
src/cli.rs Show resolved Hide resolved
@sgreenbury sgreenbury mentioned this pull request Jul 4, 2024
4 tasks
src/cli.rs Show resolved Hide resolved
Cargo.toml Show resolved Hide resolved
src/geo.rs Show resolved Hide resolved
src/cli.rs Outdated Show resolved Hide resolved
@sgreenbury
Copy link
Contributor

Thanks very much @penelopeysm, this looks great! I think this is ready to merge following the discussion.

@sgreenbury sgreenbury merged commit ac28eab into main Jul 5, 2024
2 checks passed
@sgreenbury sgreenbury deleted the harmonise-data-metrics branch July 5, 2024 16:50
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.

2 participants