add test for stream command
This commit is contained in:
parent
1a101faaae
commit
cc5f65b3bf
2 changed files with 75 additions and 0 deletions
|
@ -56,6 +56,8 @@ func cmdStream(c *cli.Context) error {
|
|||
close(q)
|
||||
}()
|
||||
|
||||
c.App.Metadata["signal"] = sc
|
||||
|
||||
s := newScreen(config)
|
||||
for e := range q {
|
||||
if asJSON {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue