From 8d5a5c3f90d8f9272b858c277597b113793edc91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20De=20N=C3=A1poli?= Date: Mon, 12 Feb 2024 21:09:58 -0300 Subject: [PATCH 1/2] Add nu_plugin_dpkgtable This a plugin to convert the output of dpkg --list (given the list of known packages in a GNU/Linux Debian system) to a nushell table --- config.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index 6186dc5..23e1736 100644 --- a/config.yaml +++ b/config.yaml @@ -228,7 +228,13 @@ plugins: language: rust repository: url: https://github.com/devyn/nu_plugin_dbus - branch: main + branch: main + - name: nu_plugin_dpkgtable + language: rust + repository: + url: https://github.com/pdenapo/nu_plugin_dpkgtable.git + branch: main + # Example # - name: nu_plugin_bin_reader # the plugins name (mandatory) # language: python # programming language (mandatory) From b1f73ce3ac4495ba8fb94a0a5c97d5d92471222d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20De=20N=C3=A1poli?= Date: Tue, 13 Feb 2024 19:20:39 -0300 Subject: [PATCH 2/2] Added nu_plugin_dpkg_table to README.md as requested. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 07836c0..4c93e2f 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ You can find some examples about how to create and use plugins in the [Nushell P - [nu_plugin_image](https://github.com/FMotalleb/nu_plugin_image): A nushell plugin to open png images in the shell and save ansi string as images. - [nu_plugin_semver](https://github.com/abusch/nu_plugin_semver): A Nushell plugin to manipulate SemVer versions. - [nu_plugin_dbus](https://github.com/devyn/nu_plugin_dbus): Nushell plugin for interacting with D-Bus. +- [nu_plugin_dpktable](https://github.com/pdenapo/nu_plugin_dpkgtable.git): Gets a table of all known packages in a Debian GNU/Linux system. > If the shell freezes while registering the command, that means the plugin is using an older Nu version no longer compatible with your current version. Consider bumping the Nu version to the latest in the `cargo.toml`, (may lead to breaking the script).