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

Commandline Interface programming #177

Open
mgmechanics opened this issue Aug 31, 2018 · 0 comments
Open

Commandline Interface programming #177

mgmechanics opened this issue Aug 31, 2018 · 0 comments

Comments

@mgmechanics
Copy link
Contributor

(This affects only the programming side, not the user experience.)

The current programming interface does what it should do. But there are easier and more obvious alternatives. When adding more command line options one might consider to switch to Apache Commons CLI (https://commons.apache.org/proper/commons-cli/). In my experience, programming a CLI is easier do to with it.

But using Apache Commons CLI would break the user interface because it allows only short options to start with one hyphen ("-a") but loner options have to use two hyphen ("--timeout"). But this style is adopted widely in the Linux world.

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

No branches or pull requests

2 participants