feat: update comments
This commit is contained in:
@@ -743,11 +743,12 @@ pub fn select_envelop<'a>(meta: &'a TinyEncryptMeta, key_id: &Option<String>, co
|
||||
}
|
||||
}
|
||||
|
||||
// TODO optimize select for exec-env
|
||||
envelops.iter().enumerate().for_each(|(i, envelop)| {
|
||||
println_ex!("#{} {}", i + 1, util_envelop::format_envelop(envelop, config));
|
||||
});
|
||||
|
||||
let envelop_number = util::read_number("Please select an envelop:", 1, envelops.len());
|
||||
|
||||
let selected_envelop = &envelops[envelop_number - 1];
|
||||
if silent {
|
||||
debugging!("Selected envelop: #{} {}", envelop_number, selected_envelop.r#type.get_upper_name());
|
||||
|
||||
Reference in New Issue
Block a user