From ebf57c70e0d638d1eb03c731748dea7facc6c4cc Mon Sep 17 00:00:00 2001 From: Fernando Herrera Date: Sat, 18 Dec 2021 19:25:17 +0000 Subject: [PATCH] Plugin signature (#520) * calling plugin without shell * spelling error * option on register to select a shell * help in plugin example signature --- crates/nu_plugin_python/plugin.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/nu_plugin_python/plugin.py b/crates/nu_plugin_python/plugin.py index dceb861044..55c26f48b9 100644 --- a/crates/nu_plugin_python/plugin.py +++ b/crates/nu_plugin_python/plugin.py @@ -70,6 +70,14 @@ def signatures(): "var_id": None, }, "named": [ + { + "long": "help", + "short": "h", + "arg": None, + "required": False, + "desc": "Display this help message", + "var_id": None + }, { "long": "flag", "short": "f",