(svc appServices, parent commandParent)
| 16 | } |
| 17 | |
| 18 | func (c *commandLogsList) setup(svc appServices, parent commandParent) { |
| 19 | cmd := parent.Command("list", "List logs.").Alias("ls") |
| 20 | |
| 21 | cmd.Action(svc.directRepositoryReadAction(c.run)) |
| 22 | |
| 23 | c.out.setup(svc) |
| 24 | c.crit.setup(cmd) |
| 25 | } |
| 26 | |
| 27 | func (c *commandLogsList) run(ctx context.Context, rep repo.DirectRepository) error { |
| 28 | allSessions0, err := getLogSessions(ctx, rep.BlobReader()) |
nothing calls this directly
no test coverage detected