src/commands/key/subkey/expire.rs
raw| 1 | use crate::Result; |
| 2 | use crate::Sq; |
| 3 | use crate::common::key::expire; |
| 4 | |
| 5 | pub fn dispatch(sq: Sq, command: crate::cli::key::subkey::expire::Command) |
| 6 | -> Result<()> |
| 7 | { |
| 8 | assert!(! command.keys.is_empty()); |
| 9 | |
| 10 | expire(sq, command.cert, Some(command.keys), |
| 11 | command.expiration.value(), |
| 12 | command.output, false) |
| 13 | } |