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

version 0.11.0: for nushell 0.98.0 #4

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 47 additions & 61 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nu_plugin_dbus"
version = "0.10.0"
version = "0.11.0"
edition = "2021"

description = "Nushell plugin for communicating with D-Bus"
Expand All @@ -14,7 +14,7 @@ repository = "https://github.com/devyn/nu_plugin_dbus"

[dependencies]
dbus = "0.9.7"
nu-plugin = "0.97.1"
nu-protocol = { version = "0.97.1", features = ["plugin"] }
nu-plugin = "0.98.0"
nu-protocol = { version = "0.98.0", features = ["plugin"] }
serde = { version = "1.0.196", features = ["derive"] }
serde-xml-rs = "0.6.0"
4 changes: 2 additions & 2 deletions src/commands/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ impl SimplePluginCommand for Call {
)
}

fn usage(&self) -> &str {
fn description(&self) -> &str {
"Call a method and get its response"
}

fn extra_usage(&self) -> &str {
fn extra_description(&self) -> &str {
"Returns an array if the method call returns more than one value."
}

Expand Down
2 changes: 1 addition & 1 deletion src/commands/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl SimplePluginCommand for Get {
)
}

fn usage(&self) -> &str {
fn description(&self) -> &str {
"Get a D-Bus property"
}

Expand Down
2 changes: 1 addition & 1 deletion src/commands/get_all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl SimplePluginCommand for GetAll {
)
}

fn usage(&self) -> &str {
fn description(&self) -> &str {
"Get all D-Bus properties for the given object"
}

Expand Down
4 changes: 2 additions & 2 deletions src/commands/introspect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ impl SimplePluginCommand for Introspect {
)
}

fn usage(&self) -> &str {
fn description(&self) -> &str {
"Introspect a D-Bus object"
}

fn extra_usage(&self) -> &str {
fn extra_description(&self) -> &str {
"Returns information about available nodes, interfaces, methods, \
signals, and properties on the given object path"
}
Expand Down
4 changes: 2 additions & 2 deletions src/commands/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ impl SimplePluginCommand for List {
)
}

fn usage(&self) -> &str {
fn description(&self) -> &str {
"List all available connection names on the bus"
}

fn extra_usage(&self) -> &str {
fn extra_description(&self) -> &str {
"These can be used as arguments for --dest on any of the other commands."
}

Expand Down
2 changes: 1 addition & 1 deletion src/commands/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ impl SimplePluginCommand for Main {
Signature::build(self.name()).dbus_command()
}

fn usage(&self) -> &str {
fn description(&self) -> &str {
"Commands for interacting with D-Bus"
}

Expand Down
2 changes: 1 addition & 1 deletion src/commands/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl SimplePluginCommand for Set {
)
}

fn usage(&self) -> &str {
fn description(&self) -> &str {
"Set a D-Bus property"
}

Expand Down
Loading