1
0
mirror of https://github.com/drone/drone-cli.git synced 2024-11-26 06:07:05 +01:00

add ability to search for templates by organization

This commit is contained in:
Eoin McAfee 2021-06-09 14:10:04 +01:00
parent ead1541d51
commit 2917fe5c09

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