mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 13:48:26 +00:00
Add wasmer whoami
This commit is contained in:
@@ -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(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user