NewTestContextFromCli is a constructor which creates the context
(c *cli.Context)
| 24 | |
| 25 | //NewTestContextFromCli is a constructor which creates the context |
| 26 | func NewTestContextFromCli(c *cli.Context) TestCommandContext { |
| 27 | return TestCommandContext{ |
| 28 | Verbose: c.Bool("verbose"), |
| 29 | NoColor: c.Bool("no-color"), |
| 30 | Dir: c.Bool("dir"), |
| 31 | Workdir: c.String("workdir"), |
| 32 | Concurrent: c.Int("concurrent"), |
| 33 | Config: c.String("config"), |
| 34 | Filters: c.StringSlice("filter"), |
| 35 | } |
| 36 | } |
no outgoing calls