-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(token/cli): extract duplicate config loading logic
Extract duplicated config loading code into a new `get_cli_config` function to improve code maintainability and reduce duplication. The function handles loading config from file path or default locations. - Move common config loading logic into standalone function - Update new() and new_with_clients_and_ws_url to use shared function - No functional changes
- Loading branch information
dylankyc
committed
Jan 11, 2025
1 parent
7644591
commit 28b7ec9
Showing
1 changed file
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters