From 0604ded5bf7b26de11b8a4942dcce656c5759fcd Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 17 Jul 2021 22:43:04 +0100 Subject: feat: add ls alises for listing commands --- arthur/exts/kubernetes/certificates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arthur/exts/kubernetes/certificates.py') diff --git a/arthur/exts/kubernetes/certificates.py b/arthur/exts/kubernetes/certificates.py index c099697..2058761 100644 --- a/arthur/exts/kubernetes/certificates.py +++ b/arthur/exts/kubernetes/certificates.py @@ -22,7 +22,7 @@ class Certificates(commands.Cog): """Commands for working with TLS certificates.""" await ctx.send_help(ctx.command) - @certificates.command(name="list") + @certificates.command(name="list", aliases=["ls"]) async def certificates_list(self, ctx: commands.Context, namespace: str = "default") -> None: """List TLS certificates in the selected namespace (defaults to default).""" async with ApiClient() as api: -- cgit v1.2.3