kmfarley11 / version-checker

Keep tabs on all hardcoded versions in your code
MIT License
0 stars 0 forks source link

Allow view of the help and example menus outside of a repo #16

Open kmfarley11 opened 1 year ago

kmfarley11 commented 1 year ago

To reproduce:

cd /tmp
python3 -m venv venv
. venv/bin/activate
pip install base-version-checker

version-checker -h
CRITICAL:(version_checker):This utility must be run from the root of a git repository!
version-checker -e
CRITICAL:(version_checker):This utility must be run from the root of a git repository!

If outside of a git repository, you cannot see the help or example switches. Maybe we should auto print the help menu prior to the CRITICAL log?