Skip to content

Commit

Permalink
Merge pull request #3975 from wasmerio/issue-3972-fix-wasmer-deploy-c…
Browse files Browse the repository at this point in the history
…ommand

CLI: Fix deploy Command
  • Loading branch information
theduke authored Jun 9, 2023
2 parents 9be34ca + d1eb718 commit f93f083
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 34 deletions.
85 changes: 58 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 24 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ virtual-net = { version = "0.3.0", path = "../virtual-net" }
# Wasmer-owned dependencies.
webc = { workspace = true }
wapm-targz-to-pirita = { workspace = true }
wasmer-deploy-cli = { version = "0.1.9", default-features = false }
wasmer-deploy-cli = { version = "0.1.11", default-features = false }

# Third-party dependencies.

Expand Down
4 changes: 4 additions & 0 deletions lib/cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ enum WasmerCLIOptions {
Run(Run),

// DEPLOY commands
/// Deploy apps to the Wasmer Edge.
Deploy(wasmer_deploy_cli::cmd::publish::CmdAppPublish),

#[clap(subcommand)]
App(wasmer_deploy_cli::cmd::app::CmdApp),
Ssh(wasmer_deploy_cli::cmd::ssh::CmdSsh),
Expand Down Expand Up @@ -197,6 +200,7 @@ impl WasmerCLIOptions {
Self::Add(install) => install.execute(),

// Deploy commands.
Self::Deploy(c) => c.run(),
Self::App(apps) => apps.run(),
Self::Ssh(ssh) => ssh.run(),
Self::Namespace(namespace) => namespace.run(),
Expand Down

0 comments on commit f93f083

Please sign in to comment.