crowdsec/cmd/crowdsec-cli
Laurence Jones 05b54687b6
feat: support stdout in cscli support dump (#2939)
* feat: support stdout in cscli support dump

* fix: skip log.info if stdout

* fix: handle errors by returning to runE instead
2024-04-26 15:56:15 +01:00
..
require pkg/cwhub - rename methods for clarity (#2961) 2024-04-24 11:09:37 +02:00
alerts.go cscli: use yaml.v3 (#2965) 2024-04-25 14:41:02 +02:00
alerts_table.go display source in alerts list when an alert has multiple decisions (#2098) 2023-03-06 13:51:57 +01:00
bouncers.go cscli tests + fix bouncer/machine prune (#2883) 2024-03-11 13:14:01 +01:00
bouncers_table.go remove dependencies on enescakir/emoji, gotest.tools (#2837) 2024-02-23 16:05:01 +01:00
capi.go cscli: use yaml.v3 (#2965) 2024-04-25 14:41:02 +02:00
completion.go lint (wsl) (#2692) 2024-01-03 10:55:41 +01:00
config.go refact "cscli config", remove flag "cscli restore --old-backup" (#2832) 2024-02-22 11:04:36 +01:00
config_backup.go refact "cscli config", remove flag "cscli restore --old-backup" (#2832) 2024-02-22 11:04:36 +01:00
config_feature_flags.go refact "cscli config", remove flag "cscli restore --old-backup" (#2832) 2024-02-22 11:04:36 +01:00
config_restore.go refact cscli (globals) (#2854) 2024-02-23 10:37:04 +01:00
config_show.go cscli config show: avoid globals, use yaml v3 (#2863) 2024-04-23 12:28:38 +02:00
config_showyaml.go refact "cscli config", remove flag "cscli restore --old-backup" (#2832) 2024-02-22 11:04:36 +01:00
console.go pkg/cwhub - rename methods for clarity (#2961) 2024-04-24 11:09:37 +02:00
console_table.go remove dependencies on enescakir/emoji, gotest.tools (#2837) 2024-02-23 16:05:01 +01:00
copyfile.go cscli config show: avoid globals, use yaml v3 (#2863) 2024-04-23 12:28:38 +02:00
dashboard.go refact "cscli" root cmd (#2811) 2024-02-06 10:50:28 +01:00
dashboard_unsupported.go refact "cscli" root cmd (#2811) 2024-02-06 10:50:28 +01:00
decisions.go cscli config show: avoid globals, use yaml v3 (#2863) 2024-04-23 12:28:38 +02:00
decisions_import.go cscli config show: avoid globals, use yaml v3 (#2863) 2024-04-23 12:28:38 +02:00
decisions_table.go refact "cscli decisions" (#2804) 2024-02-01 22:36:21 +01:00
doc.go cscli config show: avoid globals, use yaml v3 (#2863) 2024-04-23 12:28:38 +02:00
explain.go cscli config show: avoid globals, use yaml v3 (#2863) 2024-04-23 12:28:38 +02:00
flag.go refact "cscli decisions" (#2804) 2024-02-01 22:36:21 +01:00
hub.go pkg/cwhub - rename methods for clarity (#2961) 2024-04-24 11:09:37 +02:00
hubappsec.go cscli hub items: avoid global (#2960) 2024-04-24 10:05:55 +02:00
hubcollection.go cscli hub items: avoid global (#2960) 2024-04-24 10:05:55 +02:00
hubcontext.go cscli hub items: avoid global (#2960) 2024-04-24 10:05:55 +02:00
hubparser.go cscli hub items: avoid global (#2960) 2024-04-24 10:05:55 +02:00
hubpostoverflow.go cscli hub items: avoid global (#2960) 2024-04-24 10:05:55 +02:00
hubscenario.go cscli hub items: avoid global (#2960) 2024-04-24 10:05:55 +02:00
hubtest.go cscli: use yaml.v3 (#2965) 2024-04-25 14:41:02 +02:00
hubtest_table.go remove dependencies on enescakir/emoji, gotest.tools (#2837) 2024-02-23 16:05:01 +01:00
item_metrics.go cscli hub items: avoid global (#2960) 2024-04-24 10:05:55 +02:00
item_suggest.go pkg/cwhub - rename methods for clarity (#2961) 2024-04-24 11:09:37 +02:00
itemcli.go pkg/cwhub - rename methods for clarity (#2961) 2024-04-24 11:09:37 +02:00
items.go pkg/cwhub - rename methods for clarity (#2961) 2024-04-24 11:09:37 +02:00
lapi.go cscli: use yaml.v3 (#2965) 2024-04-25 14:41:02 +02:00
lapi_test.go LAPI: local api unix socket support (#2770) 2024-03-14 10:43:02 +01:00
machines.go LAPI: local api unix socket support (#2770) 2024-03-14 10:43:02 +01:00
machines_table.go remove dependencies on enescakir/emoji, gotest.tools (#2837) 2024-02-23 16:05:01 +01:00
main.go cscli hub items: avoid global (#2960) 2024-04-24 10:05:55 +02:00
Makefile Make: build with debug symbols in func tests or if DEBUG=1; drop BUILD_VENDOR_FLAGS (#2443) 2023-08-28 15:58:26 +02:00
messages.go functional tests, minor refactoring and lint/cleanup (#1570) 2022-06-06 15:24:48 +02:00
metrics.go cscli metrics -> sort table order (#2908) 2024-03-20 13:27:28 +01:00
metrics_table.go cscli metrics: rename buckets -> scenarios (#2848) 2024-02-15 14:34:12 +01:00
notifications.go pkg/cwhub - rename methods for clarity (#2961) 2024-04-24 11:09:37 +02:00
notifications_table.go remove dependencies on enescakir/emoji, gotest.tools (#2837) 2024-02-23 16:05:01 +01:00
papi.go pkg/cwhub - rename methods for clarity (#2961) 2024-04-24 11:09:37 +02:00
setup.go pkg/cwhub - rename methods for clarity (#2961) 2024-04-24 11:09:37 +02:00
simulation.go cscli: use yaml.v3 (#2965) 2024-04-25 14:41:02 +02:00
support.go feat: support stdout in cscli support dump (#2939) 2024-04-26 15:56:15 +01:00
tables.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
utils.go refact "cscli decisions" (#2804) 2024-02-01 22:36:21 +01:00
utils_table.go remove dependencies on enescakir/emoji, gotest.tools (#2837) 2024-02-23 16:05:01 +01:00
version.go Short build tag in version number (#2658) 2023-12-14 09:16:38 +01:00