cli: Initial yubikey-cli utility with list command

Adds a `yubikey-cli` crate to the workspace, with a `yubikey` binary,
which presently provides a `list` command for listing detected readers.

Dependencies:

- `env_logger`: logging
- `gumdrop`: argument parsing
- `termcolor`: colored terminal output

As this repo now contains a binary, it also checks in `Cargo.lock`.
This commit is contained in:
Tony Arcieri
2019-12-02 10:42:17 -08:00
parent 8e1469cff6
commit 07f70bccb5
12 changed files with 1478 additions and 9 deletions
+3 -2
View File
@@ -164,9 +164,10 @@ pub mod settings;
mod transaction;
pub mod yubikey;
pub use self::{readers::Readers, yubikey::YubiKey};
#[cfg(feature = "untested")]
pub use self::{key::Key, mgm::MgmKey, readers::Readers};
pub use yubikey::YubiKey;
pub use self::{key::Key, mgm::MgmKey};
/// Object identifiers
pub type ObjectId = u32;