openownership / lib-cove-bods

Check that your data complies with the Beneficial Ownership Data Standard (BODS) using our install our data review library to analyse files via your command line interface
https://datareview.openownership.org/
Other
1 stars 0 forks source link

CLI script output should not include 'json_data' key #18

Closed odscjames closed 5 years ago

odscjames commented 5 years ago

Or it should be possible to include it as on option, maybe off by default.

You already know the data you are passing, there is no value in echoing it back.

Save's people using jq to filter it out by hand. Inspired by @ScatteredInk

odscjames commented 5 years ago

(Need to update readme, I'm waiting for something else to merge first to avoid conflicts)

odscjames commented 5 years ago

I've gone for hide by default and a new flag "--raw" to see the raw output.

I've gone for the word raw because we may make other changes to make the output nicer which could be included under this scheme, nice by default, raw for all.