Switch to dependency injection for the main CLI #6331
14.79% of diff hit (target 75.00%)
View this Pull Request on Codecov
14.79% of diff hit (target 75.00%)
Annotations
Check warning on line 376 in tools/cli/admin.go
codecov / codecov/patch
tools/cli/admin.go#L376
Added line #L376 was not covered by tests
Check warning on line 392 in tools/cli/admin.go
codecov / codecov/patch
tools/cli/admin.go#L390-L392
Added lines #L390 - L392 were not covered by tests
Check warning on line 403 in tools/cli/admin.go
codecov / codecov/patch
tools/cli/admin.go#L401-L403
Added lines #L401 - L403 were not covered by tests
Check warning on line 414 in tools/cli/admin.go
codecov / codecov/patch
tools/cli/admin.go#L412-L414
Added lines #L412 - L414 were not covered by tests
Check warning on line 425 in tools/cli/admin.go
codecov / codecov/patch
tools/cli/admin.go#L423-L425
Added lines #L423 - L425 were not covered by tests
Check warning on line 484 in tools/cli/admin.go
codecov / codecov/patch
tools/cli/admin.go#L482-L484
Added lines #L482 - L484 were not covered by tests
Check warning on line 767 in tools/cli/admin.go
codecov / codecov/patch
tools/cli/admin.go#L765-L767
Added lines #L765 - L767 were not covered by tests
Check warning on line 38 in tools/cli/admin_async_queue_commands.go
codecov / codecov/patch
tools/cli/admin_async_queue_commands.go#L36-L38
Added lines #L36 - L38 were not covered by tests
Check warning on line 68 in tools/cli/admin_async_queue_commands.go
codecov / codecov/patch
tools/cli/admin_async_queue_commands.go#L66-L68
Added lines #L66 - L68 were not covered by tests
Check warning on line 75 in tools/cli/admin_async_queue_commands.go
codecov / codecov/patch
tools/cli/admin_async_queue_commands.go#L75
Added line #L75 was not covered by tests
Check warning on line 60 in tools/cli/admin_cluster_commands.go
codecov / codecov/patch
tools/cli/admin_cluster_commands.go#L60
Added line #L60 was not covered by tests
Check warning on line 83 in tools/cli/admin_cluster_commands.go
codecov / codecov/patch
tools/cli/admin_cluster_commands.go#L81-L83
Added lines #L81 - L83 were not covered by tests
Check warning on line 100 in tools/cli/admin_cluster_commands.go
codecov / codecov/patch
tools/cli/admin_cluster_commands.go#L98-L100
Added lines #L98 - L100 were not covered by tests
Check warning on line 170 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L170
Added line #L170 was not covered by tests
Check warning on line 204 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L202-L204
Added lines #L202 - L204 were not covered by tests
Check warning on line 218 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L218
Added line #L218 was not covered by tests
Check warning on line 244 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L242-L244
Added lines #L242 - L244 were not covered by tests
Check warning on line 254 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L254
Added line #L254 was not covered by tests
Check warning on line 394 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L392-L394
Added lines #L392 - L394 were not covered by tests
Check warning on line 417 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L417
Added line #L417 was not covered by tests
Check warning on line 478 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L476-L478
Added lines #L476 - L478 were not covered by tests
Check warning on line 488 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L488
Added line #L488 was not covered by tests
Check warning on line 504 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L502-L504
Added lines #L502 - L504 were not covered by tests
Check warning on line 552 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L550-L552
Added lines #L550 - L552 were not covered by tests
Check warning on line 594 in tools/cli/admin_commands.go
codecov / codecov/patch
tools/cli/admin_commands.go#L592-L594
Added lines #L592 - L594 were not covered by tests