这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
93 changes: 85 additions & 8 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ regex = "1"
url = "2.3.1"
reqwest = { version = "0.11" }
sha256 = "1.1.1"
prettytable-rs = "0.10.0"

[target.x86_64-unknown-linux-musl.dependencies]
openssl = { version = "=0.10.45", features = ["vendored"] }
Expand Down
12 changes: 12 additions & 0 deletions src/commands/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright 2022 VMware, Inc.
// SPDX-License-Identifier: Apache-2.0

use super::runtimes::Runtimes;
use clap::Subcommand;

/// Available subcommands in the CLI
#[derive(Subcommand, Debug)]
pub enum Main {
#[clap(name = "runtimes")]
Runtimes(Runtimes),
}
6 changes: 6 additions & 0 deletions src/commands/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright 2022 VMware, Inc.
// SPDX-License-Identifier: Apache-2.0

// The different commands for the `wws` CLI.
pub(crate) mod main;
pub(crate) mod runtimes;
Loading