chore(tasks): support looking up tasks by script id (#437)

This commit is contained in:
Greg
2022-08-15 10:19:09 -06:00
committed by GitHub
parent 7bdad28ee0
commit 65ff49fedf
4 changed files with 25 additions and 4 deletions

View File

@ -125,6 +125,11 @@ func newTaskFindCmd() cli.Command {
Usage: "task owner ID",
Destination: &params.UserID,
},
&cli.StringFlag{
Name: "script-id",
Usage: "script ID",
Destination: &params.ScriptID,
},
&cli.IntFlag{
Name: "limit",
Usage: "the number of tasks to find",