move before hook to cli for testability
add usage of glim.version in setup.py