opendatacube / odc-tools

ODC features that DEA is experimenting with or prototyping with the intention of being integrated into odc-core in the future
Apache License 2.0
62 stars 33 forks source link

Should report version in tools such as s3-to-dc #581

Open benjimin opened 1 year ago

benjimin commented 1 year ago

Tools should include an obvious way to ascertain their version.

$ s3-to-dc  --version
Usage: s3-to-dc [OPTIONS] URI PRODUCT
Try 's3-to-dc --help' for help.

Error: No such option: --version

Observed on a dev k8s cluster using a pod running container image opendatacube/datacube-index:latest from an internal ECR registry. Judging from digest reported by k8s (9baa74025f93...) this matches 0.2.1 (pushed to dockerhub several months ago and still current).

Ariana-B commented 1 year ago

Are the tools going to have separate versions? Or should the command rather be odc-apps-dc-tools --version?