diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-14 19:32:28 +0100 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-01-14 19:32:28 +0100 |
commit | a60b03f58437e358b24a96a4e6b2a2c11d277e6b (patch) | |
tree | 6f4a9d9bbcfcb62ef20e232addc713974f4b7f19 /src/commands.rs | |
parent | 1df484fd699f88b6d7e23c09464294a7c26c7e00 (diff) | |
download | nitrocli-a60b03f58437e358b24a96a4e6b2a2c11d277e6b.tar.gz nitrocli-a60b03f58437e358b24a96a4e6b2a2c11d277e6b.tar.bz2 |
Add scaffolding for the list command
This patch adds the basic scaffolding for the list command which will
list all attached Nitrokey devices.
Diffstat (limited to 'src/commands.rs')
-rw-r--r-- | src/commands.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commands.rs b/src/commands.rs index cc57786..3bc7300 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -376,6 +376,11 @@ pub fn status(ctx: &mut args::ExecCtx<'_>) -> Result<()> { }) } +/// List the attached Nitrokey devices. +pub fn list(_ctx: &mut args::ExecCtx<'_>, _no_connect: bool) -> Result<()> { + unimplemented!(); +} + /// Perform a factory reset. pub fn reset(ctx: &mut args::ExecCtx<'_>) -> Result<()> { with_device(ctx, |ctx, mut device| { |