From ca3efe2f5ac60f48093dffcb2d0a3105395e3691 Mon Sep 17 00:00:00 2001 From: Matthias Erll Date: Fri, 20 Jun 2025 12:17:35 +0200 Subject: [PATCH] feat: use generic cli args for get-kubeconfig plugin --- linodecli/plugins/get-kubeconfig.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/linodecli/plugins/get-kubeconfig.py b/linodecli/plugins/get-kubeconfig.py index 1652b999f..f78fbc204 100644 --- a/linodecli/plugins/get-kubeconfig.py +++ b/linodecli/plugins/get-kubeconfig.py @@ -14,6 +14,7 @@ import yaml from linodecli.exit_codes import ExitCodes +from linodecli.plugins import inherit_plugin_args PLUGIN_BASE = "linode-cli get-kubeconfig" @@ -22,8 +23,9 @@ def call(args, context): """ The entrypoint for this plugin """ - parser = argparse.ArgumentParser(PLUGIN_BASE, add_help=True) - + parser = inherit_plugin_args( + argparse.ArgumentParser(PLUGIN_BASE, add_help=True) + ) group = parser.add_mutually_exclusive_group() parser.add_argument(