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
+5 -5
View File
@@ -57,7 +57,7 @@ jobs:
RUSTFLAGS: -D warnings
with:
command: test
args: --release
args: --all --release
- name: Run cargo build --all-features
uses: actions-rs/cargo@v1
@@ -65,7 +65,7 @@ jobs:
RUSTFLAGS: -D warnings
with:
command: build
args: --all-features
args: --all --all-features
test:
name: Test Suite
@@ -94,7 +94,7 @@ jobs:
RUSTFLAGS: -D warnings
with:
command: test
args: --release
args: --all --release
- name: Run cargo build --all-features
uses: actions-rs/cargo@v1
@@ -102,7 +102,7 @@ jobs:
RUSTFLAGS: -D warnings
with:
command: build
args: --all-features
args: --all --all-features
fmt:
name: Rustfmt
@@ -149,7 +149,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features -- -D warnings
args: --all --all-features -- -D warnings
# TODO: use actions-rs/audit-check
security_audit: