Add wasmer whoami

This commit is contained in:
Felix Schütt
2022-11-17 11:27:49 +01:00
parent b424c9ee58
commit 9d7ed9e04a
4 changed files with 59 additions and 0 deletions

View File

@@ -150,6 +150,10 @@ enum WasmerCLIOptions {
#[cfg(target_os = "linux")]
#[clap(name = "binfmt")]
Binfmt(Binfmt),
/// Shows the current logged in user for the current active registry
#[clap(name = "whoami")]
Whoami(Whoami),
}
impl WasmerCLIOptions {
@@ -173,6 +177,7 @@ impl WasmerCLIOptions {
Self::Wast(wast) => wast.execute(),
#[cfg(target_os = "linux")]
Self::Binfmt(binfmt) => binfmt.execute(),
Self::Whoami(whoami) => whoami.execute(),
}
}
}