crowdsec/cmd/crowdsec-cli
mmetc 6efc2688b1
simplify feature flags (#1947)
Now checking for a feature flag is a one liner,
with no need to control errors.

if fflag.Crowdsec.CscliSetup.IsEnabled() {
   ...
}
2022-12-26 14:23:41 +01:00
..
alerts.go lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
alerts_table.go lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
bouncers.go Suggest bouncers and machines to delete (#1896) 2022-12-05 15:39:54 +01:00
bouncers_table.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
capi.go print cscli usage in color, fix windows terminal detection (#1801) 2022-10-13 12:28:24 +02:00
collections.go print cscli usage in color, fix windows terminal detection (#1801) 2022-10-13 12:28:24 +02:00
completion.go Windows Support (#1159) 2022-05-17 12:14:59 +02:00
config.go Cscli config refactoring (#1934) 2022-12-22 12:22:55 +01:00
config_backup.go Cscli config refactoring (#1934) 2022-12-22 12:22:55 +01:00
config_restore.go Cscli config refactoring (#1934) 2022-12-22 12:22:55 +01:00
config_show.go Cscli config refactoring (#1934) 2022-12-22 12:22:55 +01:00
console.go print cscli usage in color, fix windows terminal detection (#1801) 2022-10-13 12:28:24 +02:00
console_table.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
dashboard.go lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
decisions.go lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
decisions_table.go print missing "AS" values as empty strings instead of "0 " (#1867) 2022-11-14 09:55:53 +01:00
explain.go rename pkg/cstest -> pkg/hubtest (#1811) 2022-10-17 09:24:07 +02:00
hub.go print cscli usage in color, fix windows terminal detection (#1801) 2022-10-13 12:28:24 +02:00
hubtest.go lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
hubtest_table.go rename pkg/cstest -> pkg/hubtest (#1811) 2022-10-17 09:24:07 +02:00
lapi.go print cscli usage in color, fix windows terminal detection (#1801) 2022-10-13 12:28:24 +02:00
machines.go remove ignored flag "-m" in "cscli machines delete" (it takes a positional argument) (#1943) 2022-12-23 17:13:20 +01:00
machines_table.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
main.go simplify feature flags (#1947) 2022-12-26 14:23:41 +01:00
main_test.go print cscli usage in color, fix windows terminal detection (#1801) 2022-10-13 12:28:24 +02:00
Makefile make: accept BUILD_VENDOR_FLAGS variable (#1771) 2022-10-04 09:51:35 +02:00
messages.go functional tests, minor refactoring and lint/cleanup (#1570) 2022-06-06 15:24:48 +02:00
metrics.go lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
metrics_table.go Fix missing metrics cscli (#1809) 2022-10-13 15:49:41 +02:00
notifications.go lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
notifications_table.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
parsers.go print cscli usage in color, fix windows terminal detection (#1801) 2022-10-13 12:28:24 +02:00
postoverflows.go print cscli usage in color, fix windows terminal detection (#1801) 2022-10-13 12:28:24 +02:00
scenarios.go print cscli usage in color, fix windows terminal detection (#1801) 2022-10-13 12:28:24 +02:00
simulation.go lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
support.go simplify feature flags (#1947) 2022-12-26 14:23:41 +01:00
tables.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
utils.go Suggest bouncers and machines to delete (#1896) 2022-12-05 15:39:54 +01:00
utils_table.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00