HamedElgizery / grass-addons

GRASS GIS Addons Repository (Manuals: https://grass.osgeo.org/grass-stable/manuals/addons/ | Linux-logs: https://grass.osgeo.org/addons/grass8/logs/ | Windows logs: https://wingrass.fsv.cvut.cz/grass83/addons/grass-8.3.1/logs/)
GNU General Public License v2.0
0 stars 3 forks source link

Implement printing of relevant information #4

Closed ninsbl closed 2 months ago

ninsbl commented 3 months ago

What I think could be different information that should be possible to print to user are:

There may be more.

So a print option may make sense with possible answers for example: configuration,provider,product,product_metadata

Printable data has different structure / complexity (can be a simple list where plain output would be sufficient or a hirarchical structure (e.g. product metadata) where JSON output would be more appropriate or table like output (as in i.sentinel.download for example).

Printing is a next step when basic query and download functionality is more mature...

lucadelu commented 3 months ago

Yeah, I support it especially the last sentence first query and download working well

HamedElgizery commented 2 months ago

The last 5 tasks are addressed here https://github.com/HamedElgizery/grass-addons/pull/15.

EDIT: First two tasks are now addressed as well, but without printing the config file location. Because apparently eodag always uses the config file in the default location, and when another config file is provided by the user, it just overrides the main file with it (for the current session)... and it keeps rest of the providers configurations.

veroandreo commented 2 months ago

This one is complete AFAIU. Shall we close it?

HamedElgizery commented 2 months ago

This one is complete AFAIU. Shall we close it?

I think so.