Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add the runtimes command to manage language runtimes #79

Merged
merged 9 commits into from
Feb 1, 2023
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