refact "cscli machines", "cscli bouncers", calls to cobra.NoArgs #3305
59.29% of diff hit (target 0.00%)
View this Pull Request on Codecov
59.29% of diff hit (target 0.00%)
Annotations
Check warning on line 24 in cmd/crowdsec-cli/clibouncer/add.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/add.go#L23-L24
Added lines #L23 - L24 were not covered by tests
Check warning on line 43 in cmd/crowdsec-cli/clibouncer/add.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/add.go#L42-L43
Added lines #L42 - L43 were not covered by tests
Check warning on line 31 in cmd/crowdsec-cli/clibouncer/inspect.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/inspect.go#L19-L31
Added lines #L19 - L31 were not covered by tests
Check warning on line 47 in cmd/crowdsec-cli/clibouncer/inspect.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/inspect.go#L33-L47
Added lines #L33 - L47 were not covered by tests
Check warning on line 49 in cmd/crowdsec-cli/clibouncer/inspect.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/inspect.go#L49
Added line #L49 was not covered by tests
Check warning on line 58 in cmd/crowdsec-cli/clibouncer/inspect.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/inspect.go#L57-L58
Added lines #L57 - L58 were not covered by tests
Check warning on line 65 in cmd/crowdsec-cli/clibouncer/inspect.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/inspect.go#L64-L65
Added lines #L64 - L65 were not covered by tests
Check warning on line 69 in cmd/crowdsec-cli/clibouncer/inspect.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/inspect.go#L68-L69
Added lines #L68 - L69 were not covered by tests
Check warning on line 72 in cmd/crowdsec-cli/clibouncer/inspect.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/inspect.go#L72
Added line #L72 was not covered by tests
Check warning on line 91 in cmd/crowdsec-cli/clibouncer/inspect.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/inspect.go#L90-L91
Added lines #L90 - L91 were not covered by tests
Check warning on line 30 in cmd/crowdsec-cli/clibouncer/list.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/list.go#L29-L30
Added lines #L29 - L30 were not covered by tests
Check warning on line 35 in cmd/crowdsec-cli/clibouncer/list.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/list.go#L34-L35
Added lines #L34 - L35 were not covered by tests
Check warning on line 48 in cmd/crowdsec-cli/clibouncer/list.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/list.go#L47-L48
Added lines #L47 - L48 were not covered by tests
Check warning on line 54 in cmd/crowdsec-cli/clibouncer/list.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/list.go#L53-L54
Added lines #L53 - L54 were not covered by tests
Check warning on line 59 in cmd/crowdsec-cli/clibouncer/list.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/list.go#L58-L59
Added lines #L58 - L59 were not covered by tests
Check warning on line 63 in cmd/crowdsec-cli/clibouncer/list.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/list.go#L62-L63
Added lines #L62 - L63 were not covered by tests
Check warning on line 78 in cmd/crowdsec-cli/clibouncer/list.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/list.go#L77-L78
Added lines #L77 - L78 were not covered by tests
Check warning on line 94 in cmd/crowdsec-cli/clibouncer/list.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/list.go#L93-L94
Added lines #L93 - L94 were not covered by tests
Check warning on line 24 in cmd/crowdsec-cli/clibouncer/prune.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/prune.go#L17-L24
Added lines #L17 - L24 were not covered by tests
Check warning on line 30 in cmd/crowdsec-cli/clibouncer/prune.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/prune.go#L29-L30
Added lines #L29 - L30 were not covered by tests
Check warning on line 47 in cmd/crowdsec-cli/clibouncer/prune.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/prune.go#L37-L47
Added lines #L37 - L47 were not covered by tests
Check warning on line 53 in cmd/crowdsec-cli/clibouncer/prune.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/prune.go#L50-L53
Added lines #L50 - L53 were not covered by tests
Check warning on line 57 in cmd/crowdsec-cli/clibouncer/prune.go
codecov / codecov/patch
cmd/crowdsec-cli/clibouncer/prune.go#L55-L57
Added lines #L55 - L57 were not covered by tests
Check warning on line 29 in cmd/crowdsec-cli/climachine/add.go
codecov / codecov/patch
cmd/crowdsec-cli/climachine/add.go#L28-L29
Added lines #L28 - L29 were not covered by tests
Check warning on line 34 in cmd/crowdsec-cli/climachine/add.go
codecov / codecov/patch
cmd/crowdsec-cli/climachine/add.go#L33-L34
Added lines #L33 - L34 were not covered by tests