diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-04 16:30:20 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-04 16:30:20 -0800 |
commit | e569fec44940add141cc526ce77f67dfe976c8e0 (patch) | |
tree | 2d2559f35760c316eb3a27525fd5f1dd2138a3e5 /nitrokey/src/device.rs | |
parent | b78c29aad97ddc1913a7fb445c7cc48dc5ae4764 (diff) | |
download | nitrocli-e569fec44940add141cc526ce77f67dfe976c8e0.tar.gz nitrocli-e569fec44940add141cc526ce77f67dfe976c8e0.tar.bz2 |
Introduce command execution context support
In the future we will need the ability to pass additional state that is
deduced from arguments or elsewhere into the commands module. To enable
such scenarios, this change introduces the concept of a command
execution context. Such a context can store more or less arbitrary data,
and the args module will take care of passing it through to the
individual commands.
Diffstat (limited to 'nitrokey/src/device.rs')
0 files changed, 0 insertions, 0 deletions