diff --git a/Cargo.toml b/Cargo.toml index 9d401f5..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.96.0" -nu-protocol = { version = "0.96.0", 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.96.0" } +nu-plugin-test-support = { version = "0.97.2" } 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 }}" }