1
0
mirror of https://github.com/drone/drone-cli.git synced 2026-01-20 09:51:34 +01:00

Merge pull request #185 from drone/defect/template-list-missing-namespace

add ability to search for templates by organization
This commit is contained in:
Brad Rydzewski 2021-06-09 11:13:06 -04:00 committed by GitHub
commit 1f928dbf78
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -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",