naddison36 / sol2uml

Solidity contract visualisation tool
MIT License
1.13k stars 268 forks source link

Feature request: version flag #88

Closed engn33r closed 2 years ago

engn33r commented 2 years ago

Could a -V or similar flag be added to the CLI tool (and corresponding help text) to quickly check the version of sol2uml installed? I can manually check my package.json file but a flag would be faster.

Edit: I see npm ls sol2uml -g is suggested in the README, which is faster than finding the package.json. Still, a -V flag would be nice.

naddison36 commented 2 years ago

The -v option is currently being used for verbose which outputs debug messages. I'll see what other cli's that us commander do.

naddison36 commented 2 years ago

I've added a -V --version option in v2.1.3.

The -v --verbose option remains as is.

Thanks for raising.