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:
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",
|
||||
|
Loading…
Reference in New Issue
Block a user