07f70bccb5
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`.
17 lines
289 B
Rust
17 lines
289 B
Rust
//! `yubikey` command-line utility
|
|
|
|
#![forbid(unsafe_code)]
|
|
#![warn(
|
|
missing_docs,
|
|
rust_2018_idioms,
|
|
unused_lifetimes,
|
|
unused_qualifications
|
|
)]
|
|
|
|
use gumdrop::Options;
|
|
use yubikey_cli::commands::YubikeyCli;
|
|
|
|
fn main() {
|
|
YubikeyCli::parse_args_default_or_exit().run();
|
|
}
|