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

Refactor CLI arguments #1282

Open
mschoeb opened this issue Jan 8, 2025 · 0 comments
Open

Refactor CLI arguments #1282

mschoeb opened this issue Jan 8, 2025 · 0 comments

Comments

@mschoeb
Copy link
Collaborator

mschoeb commented Jan 8, 2025

Right now CLI arguments are handled by a big loop in RumbleRuntimeConfiguration with a map for shortcuts and some cases. This leads to errors like unrecognized options (without a value) giving a nullpointer and options not being stackable (-vtis not possible for -v -t). I suggest we rework this possibly with a library specific for handling cli options to reduce our code complexity and error potential.

On the same note, adding --help and --version to print all the options or the version number would be really nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant