INNER CODE UNIT · Rust
execute
eepnet/emissary · emissary-cli/src/tools/mod.rs:118
pub async fn execute(self) -> ! {
match self {
RouterCommand::Base64Encode {
string,
file,
output,
} =>
if let Err(error) = base64::encode(string, file, output) {
tracing::error!(
target: LOG_TARGET,
?error,
"failed to base64-encode input",
);
std::process::exit(1);
},
RouterCommand::Base64Decode {
string,
file,