From 931699104b7d058a33d0878076d2e8c99aee9ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Kol=C4=8Din?= Date: Tue, 3 Sep 2024 11:56:14 +0300 Subject: [PATCH] Add nu_plugin_template --- README.md | 1 + config.yaml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 7f50ca6..40c67ea 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ You can find some examples about how to create and use plugins in the [Nushell P - [nu_plugin_skim](https://github.com/idanarye/nu_plugin_skim): A Nushell plugin that provides a version of [skim](https://github.com/lotabout/skim) that can handle structured Nushell data for MacOS and Linux. - [nu_plugin_plist](https://github.com/ainvaltin/nu_plugin_plist): Nushell plist and base85 plugin implemented in Go using [nu-plugin](https://github.com/ainvaltin/nu-plugin). - [nu_plugin_endecode](https://codeberg.org/kaathewise/nu-plugin/src/branch/trunk/endecode): A plugin with various encoding schemes, from Crockford's base-32 to HTML entity escaping. +- [nu_plugin_template](https://codeberg.org/kaathewise/nu-plugin/src/branch/trunk/template): String and HTML templating in Nu. > 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). diff --git a/config.yaml b/config.yaml index bdf80ee..c5b8f1d 100644 --- a/config.yaml +++ b/config.yaml @@ -272,6 +272,14 @@ plugins: override: plugin: "0.97.1" protocol: "0.97.1" + - name: nu_plugin_template + language: rust + repository: + url: https://codeberg.org/kaathewise/nu-plugin/src/branch/trunk/template + branch: trunk + override: + plugin: "0.97.1" + protocol: "0.97.1" # Example # - name: nu_plugin_bin_reader # the plugins name (mandatory) # language: python # programming language (mandatory)