Urban-Analytics-Technology-Platform / popgetter-cli

A rust library and CLI for accessing popgetter data
0 stars 0 forks source link

Option to run CLI with a recipe file instead of command line args #22

Closed stuartlynn closed 3 weeks ago

stuartlynn commented 1 month ago

Adds a new sub command to the CLI

popgetter_cli recipe --recipe-file recipe.json --output-file result.geojson --output-format geojson

Which loads in the DataRequestSpec from json and runs the request

a sample request file: https://github.com/Urban-Analytics-Technology-Platform/popgetter-cli/blob/run_with_config/test_recipe.json

Some thoughts / questions

sgreenbury commented 1 month ago

Looks great! As discussed I'll open an issue that replaces prints with env logging.