cpmbits / cpmbits/cpm

CpmUserConfiguration should be global, not specific to the install action

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

Description

Currently, user configuration is only parsed for the `install` action. It should be global, as other actions could make use of it.

This implies parsing the configuration in the `main` function of `cpm`at `__init__.py`.

Contributor guide

Open the contributing guide

Research direction

Start in __init__.py and inspect the cpm main function alongside the current configuration parsing used by the install action. Move the parsing scope so CpmUserConfiguration is available to all actions, then verify that configuration is parsed when running actions other than install.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.