github.com/crowdsecurity/crowdsec@v1.6.1/test/disable-capi (about)

     1  #!/bin/bash
     2  
     3  # shellcheck disable=SC1007
     4  THIS_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
     5  # shellcheck disable=SC1091
     6  . "${THIS_DIR}/.environment.sh"
     7  
     8  yq e 'del(.api.server.online_client)' -i "${CONFIG_YAML}"