From f7a80aa4bf61c14f955f6fa6b211a2cf440d1195 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 22 Aug 2024 08:08:05 -0500 Subject: [PATCH 1/2] update to 0.97.2 (description vs usage) --- Cargo.toml | 6 +++--- src/commands/{{command_module}}.rs | 4 ++-- src/main.rs | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9d401f5..184940b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,9 +15,9 @@ license = "MIT" # for local development, you can use a path dependency # nu-plugin = { path = "../nushell/crates/nu-plugin" } # nu-protocol = { path = "../nushell/crates/nu-protocol", features = ["plugin"] } -nu-plugin = "0.96.0" -nu-protocol = { version = "0.96.0", features = ["plugin"] } +nu-plugin = "0.97.1" +nu-protocol = { version = "0.97.1", features = ["plugin"] } [dev-dependencies] # nu-plugin-test-support = { path = "../nushell/crates/nu-plugin-test-support" } -nu-plugin-test-support = { version = "0.96.0" } +nu-plugin-test-support = { version = "0.97.1" } diff --git a/src/commands/{{command_module}}.rs b/src/commands/{{command_module}}.rs index eab439b..ad47b43 100644 --- a/src/commands/{{command_module}}.rs +++ b/src/commands/{{command_module}}.rs @@ -25,7 +25,7 @@ impl SimplePluginCommand for {{ command_struct }} { .category(Category::Experimental) } - fn usage(&self) -> &str { + fn description(&self) -> &str { "(FIXME) help text for {{ command_name }}" } @@ -74,7 +74,7 @@ impl PluginCommand for {{ command_struct }} { .category(Category::Experimental) } - fn usage(&self) -> &str { + fn description(&self) -> &str { "(FIXME) help text for {{ command_name }}" } diff --git a/src/main.rs b/src/main.rs index 9b7088a..6ff327f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,7 +47,7 @@ impl SimplePluginCommand for {{ command_struct }} { .category(Category::Experimental) } - fn usage(&self) -> &str { + fn description(&self) -> &str { "(FIXME) help text for {{ command_name }}" } @@ -96,7 +96,7 @@ impl PluginCommand for {{ command_struct }} { .category(Category::Experimental) } - fn usage(&self) -> &str { + fn description(&self) -> &str { "(FIXME) help text for {{ command_name }}" } From 288c63eb91923980f20a5ead5a4f2c27a4ec7d72 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 22 Aug 2024 08:09:28 -0500 Subject: [PATCH 2/2] update version --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 184940b..f27fede 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,9 +15,9 @@ license = "MIT" # for local development, you can use a path dependency # nu-plugin = { path = "../nushell/crates/nu-plugin" } # nu-protocol = { path = "../nushell/crates/nu-protocol", features = ["plugin"] } -nu-plugin = "0.97.1" -nu-protocol = { version = "0.97.1", features = ["plugin"] } +nu-plugin = "0.97.2" +nu-protocol = { version = "0.97.2", features = ["plugin"] } [dev-dependencies] # nu-plugin-test-support = { path = "../nushell/crates/nu-plugin-test-support" } -nu-plugin-test-support = { version = "0.97.1" } +nu-plugin-test-support = { version = "0.97.2" }