frictionlessdata / frictionless-darwin-core

DarwinCore Archive as Frictionless Data Package
MIT License
21 stars 2 forks source link

Improvement: add the "-v/--version" option to the executable #8

Open niconoe opened 5 years ago

niconoe commented 5 years ago

... to display the running version (I got the idea when trying again the tool in an environment when I manually installed previous versions - just wanted to be sure I was on the last one).

For the implementation, it would be great to DRY and store the version number in one single place (constant in __init__.py, maybe).

roll commented 5 years ago

@niconoe Please take a look at my review - https://github.com/frictionlessdata/FrictionlessDarwinCore/issues/7. For FrictionlessData software we have already sorted out all these non-functional problems like how to store the version etc (see the oki-py link). For every new project, we just copy this skeleton to save developers' time and make community contribution easier.