From 2917fe5c0932caf7a5b6eef3dc37be0911e0cd44 Mon Sep 17 00:00:00 2001 From: Eoin McAfee Date: Wed, 9 Jun 2021 14:10:04 +0100 Subject: [PATCH] add ability to search for templates by organization --- drone/template/template_list.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drone/template/template_list.go b/drone/template/template_list.go index ed322a1..237b5be 100644 --- a/drone/template/template_list.go +++ b/drone/template/template_list.go @@ -12,9 +12,13 @@ import ( var templateListCmd = cli.Command{ Name: "ls", Usage: "list templates", - ArgsUsage: "[]", + ArgsUsage: "[namespace]", Action: templateList, Flags: []cli.Flag{ + cli.StringFlag{ + Name: "namespace", + Usage: "namespace (e.g. octocat)", + }, cli.StringFlag{ Name: "format", Usage: "format output",