Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Conversation

@nsushkin
Copy link

I created a command line interface to Java Yubikey Client that is more like the C based ykclient in features, command line options, output, and return codes. Just like ykclient, but unlike the existing Java Cmd.java, my interface supports specifying your own validation server urls.

@klali
Copy link
Member

klali commented Aug 22, 2016

Hello,

I'd like to see these options added to the already existant CLI class instead of adding another class to the library. It should be possible to add some options to that while keeping it compatible with the current semantics.

/klas

…o the existing class Cmd.

The new version of Cmd supports both ykclient style options (--key apikey and two unnamed options CLIENTID and OTP)
and the original options (three unnamed arguments CLIENTID key OTP). Both styles support --debug and multiple --url options.
@nsushkin
Copy link
Author

Klas,

I did what you asked. The new version accepts the current semantics with added url options. Alternatively, you can use the C client (ykclient) semantics.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants