kmfarley11 / kmfarley11/version-checker

be more integrator-friendly

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

Description

The functions in utils.py often implicitly do a `sys.exit(1)` (_error()...)

This is unkind to those that'd want to use these imports. Default to returning an empty string or false or something, then have the cli detect the return and exit for us...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading utils.py and tracing _error() and the other functions that can call sys.exit(1). Then inspect the CLI paths that use these functions to define how failures should be detected and reported. Done means imported functions no longer terminate the process implicitly, while the CLI still exits on those failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.