mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 05:38:19 +00:00
Add wasmer init
This commit is contained in:
@@ -135,6 +135,10 @@ enum WasmerCLIOptions {
|
||||
/// Inspect a WebAssembly file
|
||||
Inspect(Inspect),
|
||||
|
||||
/// Initializes a new wapm.toml file
|
||||
#[clap(name = "init")]
|
||||
Init(Init),
|
||||
|
||||
/// Run spec testsuite
|
||||
#[cfg(feature = "wast")]
|
||||
Wast(Wast),
|
||||
@@ -165,6 +169,7 @@ impl WasmerCLIOptions {
|
||||
Self::CreateObj(create_obj) => create_obj.execute(),
|
||||
Self::Config(config) => config.execute(),
|
||||
Self::Inspect(inspect) => inspect.execute(),
|
||||
Self::Init(init) => init.execute(),
|
||||
Self::List(list) => list.execute(),
|
||||
Self::Login(login) => login.execute(),
|
||||
#[cfg(feature = "wast")]
|
||||
|
||||
Reference in New Issue
Block a user