Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality behind --dic argument in CU CLI #228

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

LupusE
Copy link

@LupusE LupusE commented Aug 17, 2024

As someone wanted to use the --dict in CLI and got an error, the source shows the functions load_key_file and load_dict_file are not defined.
After some tests, I believe the functionality does not need to be an own function, it is easier to read and understand in one block while parsing the keys.

The if ... elif ... else construct is not very elegant, but works better for the different types of comparing as a match ... case. It is good to extend, if a .dic file (or single keys from a file) needs to be converted.

Copy link

You are welcome to add an entry to the CHANGELOG.md as well

Copy link

Built artifacts for commit 251c13d

Firmware

Client

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