kmfarley11 / kmfarley11/version-checker

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

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

To reproduce:
```bash
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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the reported commands outside a Git repository and locate the command handling for -h and -e, along with the repository-root check. Done means both switches display their menus without requiring the current directory to be a Git repository, while normal repository-dependent behavior remains protected by the check.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.