Display acquisition dir in cscli config show (#1349)
This commit is contained in:
parent
2cd3248431
commit
0dd37240a5
|
@ -340,6 +340,9 @@ func NewConfigCmd() *cobra.Command {
|
||||||
fmt.Printf("Crowdsec:\n")
|
fmt.Printf("Crowdsec:\n")
|
||||||
fmt.Printf(" - Acquisition File : %s\n", csConfig.Crowdsec.AcquisitionFilePath)
|
fmt.Printf(" - Acquisition File : %s\n", csConfig.Crowdsec.AcquisitionFilePath)
|
||||||
fmt.Printf(" - Parsers routines : %d\n", csConfig.Crowdsec.ParserRoutinesCount)
|
fmt.Printf(" - Parsers routines : %d\n", csConfig.Crowdsec.ParserRoutinesCount)
|
||||||
|
if csConfig.Crowdsec.AcquisitionDirPath != "" {
|
||||||
|
fmt.Printf(" - Acquisition Folder : %s\n", csConfig.Crowdsec.AcquisitionDirPath)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if csConfig.Cscli != nil {
|
if csConfig.Cscli != nil {
|
||||||
fmt.Printf("cscli:\n")
|
fmt.Printf("cscli:\n")
|
||||||
|
|
Loading…
Reference in a new issue