Add wasmer publish command

This commit is contained in:
Felix Schütt
2022-11-18 18:33:16 +01:00
parent 2dec532388
commit b993321409
3 changed files with 26 additions and 0 deletions

View File

@@ -46,6 +46,10 @@ enum WasmerCLIOptions {
/// Login into a wapm.io-like registry
Login(Login),
/// Login into a wapm.io-like registry
#[clap(name = "publish")]
Publish(Publish),
/// Wasmer cache
#[clap(subcommand)]
Cache(Cache),
@@ -172,6 +176,7 @@ impl WasmerCLIOptions {
Self::Init(init) => init.execute(),
Self::List(list) => list.execute(),
Self::Login(login) => login.execute(),
Self::Publish(publish) => publish.execute(),
#[cfg(feature = "wast")]
Self::Wast(wast) => wast.execute(),
#[cfg(target_os = "linux")]