From 3874f2e8301d05063f18bb43febcd0531ee932a2 Mon Sep 17 00:00:00 2001 From: "matej.vukosav" Date: Fri, 20 Dec 2024 16:53:04 +1100 Subject: [PATCH] refactor: remove json-rpc command from meroctl --- Cargo.lock | 2 +- crates/meroctl/Cargo.toml | 2 +- crates/meroctl/src/cli.rs | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ab88042b..453f4a70f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4828,7 +4828,7 @@ checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" [[package]] name = "meroctl" -version = "0.2.0" +version = "0.2.1" dependencies = [ "bs58 0.5.1", "calimero-config", diff --git a/crates/meroctl/Cargo.toml b/crates/meroctl/Cargo.toml index 22f545480..91be33974 100644 --- a/crates/meroctl/Cargo.toml +++ b/crates/meroctl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "meroctl" -version = "0.2.0" +version = "0.2.1" authors.workspace = true edition.workspace = true repository.workspace = true diff --git a/crates/meroctl/src/cli.rs b/crates/meroctl/src/cli.rs index c4e543ef5..4c46952b9 100644 --- a/crates/meroctl/src/cli.rs +++ b/crates/meroctl/src/cli.rs @@ -51,7 +51,6 @@ pub enum SubCommands { App(AppCommand), Context(ContextCommand), Identity(IdentityCommand), - JsonRpc(CallCommand), Proxy(ProxyCommand), Call(CallCommand), } @@ -91,7 +90,6 @@ impl RootCommand { SubCommands::App(application) => application.run(&environment).await, SubCommands::Context(context) => context.run(&environment).await, SubCommands::Identity(identity) => identity.run(&environment).await, - SubCommands::JsonRpc(jsonrpc) => jsonrpc.run(&environment).await, SubCommands::Proxy(proxy) => proxy.run(&environment).await, SubCommands::Call(call) => call.run(&environment).await, };