Skip to content

cscli: refact/split files; add some doc/examples

Codecov / codecov/patch succeeded Jan 6, 2025 in 1s

83.34% of diff hit (target 0.00%)

View this Pull Request on Codecov

83.34% of diff hit (target 0.00%)

Annotations

Check warning on line 29 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L28-L29

Added lines #L28 - L29 were not covered by tests

Check warning on line 33 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L32-L33

Added lines #L32 - L33 were not covered by tests

Check warning on line 39 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L38-L39

Added lines #L38 - L39 were not covered by tests

Check warning on line 55 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L53-L55

Added lines #L53 - L55 were not covered by tests

Check warning on line 60 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L59-L60

Added lines #L59 - L60 were not covered by tests

Check warning on line 65 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L63-L65

Added lines #L63 - L65 were not covered by tests

Check warning on line 76 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L73-L76

Added lines #L73 - L76 were not covered by tests

Check warning on line 87 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L78-L87

Added lines #L78 - L87 were not covered by tests

Check warning on line 92 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L89-L92

Added lines #L89 - L92 were not covered by tests

Check warning on line 97 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L94-L97

Added lines #L94 - L97 were not covered by tests

Check warning on line 107 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L99-L107

Added lines #L99 - L107 were not covered by tests

Check warning on line 112 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L109-L112

Added lines #L109 - L112 were not covered by tests

Check warning on line 118 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L115-L118

Added lines #L115 - L118 were not covered by tests

Check warning on line 122 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L120-L122

Added lines #L120 - L122 were not covered by tests

Check warning on line 126 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L124-L126

Added lines #L124 - L126 were not covered by tests

Check warning on line 138 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L128-L138

Added lines #L128 - L138 were not covered by tests

Check warning on line 143 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L140-L143

Added lines #L140 - L143 were not covered by tests

Check warning on line 151 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L145-L151

Added lines #L145 - L151 were not covered by tests

Check warning on line 154 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L154

Added line #L154 was not covered by tests

Check warning on line 158 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L158

Added line #L158 was not covered by tests

Check warning on line 178 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L177-L178

Added lines #L177 - L178 were not covered by tests

Check warning on line 207 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L206-L207

Added lines #L206 - L207 were not covered by tests

Check warning on line 212 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L211-L212

Added lines #L211 - L212 were not covered by tests

Check warning on line 225 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L222-L225

Added lines #L222 - L225 were not covered by tests

Check warning on line 232 in cmd/crowdsec-cli/cliitem/cmdinspect.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/cliitem/cmdinspect.go#L231-L232

Added lines #L231 - L232 were not covered by tests