refact "cscli config" #2832
refact "cscli config" #2832
58.21% of diff hit (target 0.00%)
View this Pull Request on Codecov
58.21% of diff hit (target 0.00%)
Annotations
Check warning on line 36 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L36
Added line #L36 was not covered by tests
Check warning on line 52 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L52
Added line #L52 was not covered by tests
Check warning on line 56 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L56
Added line #L56 was not covered by tests
Check warning on line 64 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L64
Added line #L64 was not covered by tests
Check warning on line 72 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L72
Added line #L72 was not covered by tests
Check warning on line 81 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L81
Added line #L81 was not covered by tests
Check warning on line 86 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L86
Added line #L86 was not covered by tests
Check warning on line 112 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L112
Added line #L112 was not covered by tests
Check warning on line 143 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L143
Added line #L143 was not covered by tests
Check warning on line 149 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L149
Added line #L149 was not covered by tests
Check warning on line 153 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L153
Added line #L153 was not covered by tests
Check warning on line 155 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L155
Added line #L155 was not covered by tests
Check warning on line 175 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L175
Added line #L175 was not covered by tests
Check warning on line 184 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L183-L184
Added lines #L183 - L184 were not covered by tests
Check warning on line 193 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L193
Added line #L193 was not covered by tests
Check warning on line 202 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L202
Added line #L202 was not covered by tests
Check warning on line 209 in cmd/crowdsec-cli/config_backup.go
codecov / codecov/patch
cmd/crowdsec-cli/config_backup.go#L209
Added line #L209 was not covered by tests
Check warning on line 14 in cmd/crowdsec-cli/config_feature_flags.go
codecov / codecov/patch
cmd/crowdsec-cli/config_feature_flags.go#L14
Added line #L14 was not covered by tests
Check warning on line 128 in cmd/crowdsec-cli/config_feature_flags.go
codecov / codecov/patch
cmd/crowdsec-cli/config_feature_flags.go#L127-L128
Added lines #L127 - L128 were not covered by tests
Check warning on line 33 in cmd/crowdsec-cli/config_restore.go
codecov / codecov/patch
cmd/crowdsec-cli/config_restore.go#L33
Added line #L33 was not covered by tests
Check warning on line 40 in cmd/crowdsec-cli/config_restore.go
codecov / codecov/patch
cmd/crowdsec-cli/config_restore.go#L40
Added line #L40 was not covered by tests
Check warning on line 50 in cmd/crowdsec-cli/config_restore.go
codecov / codecov/patch
cmd/crowdsec-cli/config_restore.go#L50
Added line #L50 was not covered by tests
Check warning on line 58 in cmd/crowdsec-cli/config_restore.go
codecov / codecov/patch
cmd/crowdsec-cli/config_restore.go#L58
Added line #L58 was not covered by tests
Check warning on line 68 in cmd/crowdsec-cli/config_restore.go
codecov / codecov/patch
cmd/crowdsec-cli/config_restore.go#L68
Added line #L68 was not covered by tests
Check warning on line 78 in cmd/crowdsec-cli/config_restore.go
codecov / codecov/patch
cmd/crowdsec-cli/config_restore.go#L78
Added line #L78 was not covered by tests