From 711ba586fd51e32cd93fddde93369b42cfe0c6ee Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Sun, 3 Mar 2024 17:17:05 +0100 Subject: [PATCH 1/3] Expose `--snapshot-path` arg --- core/src/commands/create_snapshot.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/commands/create_snapshot.rs b/core/src/commands/create_snapshot.rs index 689256b9783..1b1237df937 100644 --- a/core/src/commands/create_snapshot.rs +++ b/core/src/commands/create_snapshot.rs @@ -37,6 +37,7 @@ pub struct Command { /// The snapshot path to write to. /// /// If not provided `-@.snap` will be used. + #[clap(long)] pub snapshot_path: Option, } From 38f972f5e9334dc655437c6d8c5d609b2bc5a293 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Sun, 3 Mar 2024 17:25:03 +0100 Subject: [PATCH 2/3] Expose arg as positional Signed-off-by: Oliver Tale-Yazdi --- core/src/commands/create_snapshot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/commands/create_snapshot.rs b/core/src/commands/create_snapshot.rs index 1b1237df937..72956f1c3ca 100644 --- a/core/src/commands/create_snapshot.rs +++ b/core/src/commands/create_snapshot.rs @@ -37,7 +37,7 @@ pub struct Command { /// The snapshot path to write to. /// /// If not provided `-@.snap` will be used. - #[clap(long)] + #[clap(index = 1)] pub snapshot_path: Option, } From 8927b63ae9dc40d4f1f7c86e1eb4e2c8748592f7 Mon Sep 17 00:00:00 2001 From: Liam Aharon Date: Tue, 5 Mar 2024 09:20:19 +1100 Subject: [PATCH 3/3] bump version --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1522c7806f7..31f5d4544e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11080,7 +11080,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" -version = "0.6.0" +version = "0.6.1" dependencies = [ "clap", "env_logger", @@ -11133,7 +11133,7 @@ dependencies = [ [[package]] name = "try-runtime-core" -version = "0.6.0" +version = "0.6.1" dependencies = [ "assert_cmd", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 78e65cf87b2..0e3b622a2d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" members = ["cli", "core"] [workspace.package] -version = "0.6.0" +version = "0.6.1" authors = ["Parity Technologies "] description = "Substrate's programmatic testing framework." edition = "2021"