Skip to content

Refactor: Move cliutils to commands._cliutils - #216

Merged
podhmo merged 5 commits into
masterfrom
refactor/move-cliutils
Jul 5, 2025
Merged

Refactor: Move cliutils to commands._cliutils#216
podhmo merged 5 commits into
masterfrom
refactor/move-cliutils

Conversation

@podhmo

@podhmo podhmo commented Jul 5, 2025

Copy link
Copy Markdown
Owner

Moved all implementations from src/dictknife/cliutils to src/dictknife/commands/_cliutils.py. Updated all import paths accordingly.

Moved all implementations from `src/dictknife/cliutils` to `src/dictknife/commands/_cliutils.py`.
Updated all import paths accordingly.
Updated the import path for `traceback_shortly` in `src/dictknife/langhelpers.py` to point to the new location in `src/dictknife/commands/_cliutils.py`.

This resolves the `ModuleNotFoundError` that occurred during CI testing after the initial refactoring.
Reverted changes in `src/dictknife/langhelpers.py` to investigate the `NameError: name 'make_dict' is not defined` error occurring in CI.

This is an attempt to isolate the cause of the error that appeared after refactoring cliutils.
Added the missing import `from dictknife.langhelpers import make_dict` in `src/dictknife/commands/jsonknife.py`.
This resolves the `NameError` that occurred during CI testing.

Additionally, ensured the import path for `traceback_shortly` in `src/dictknife/langhelpers.py` is correctly pointing to `commands._cliutils`.
Added the missing import `from dictknife.langhelpers import make_dict` in `src/dictknife/commands/dictknife.py`.
This resolves the `NameError` that occurred during CI testing after the refactoring of cliutils and subsequent fixes.
@podhmo
podhmo merged commit 38ec48e into master Jul 5, 2025
4 checks passed
@podhmo
podhmo deleted the refactor/move-cliutils branch July 5, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant