add support for --version in CLI