From cef9df738c48ae5eae4086991eaba7ee41c676a0 Mon Sep 17 00:00:00 2001 From: ccoVeille <3875889+ccoVeille@users.noreply.github.com> Date: Mon, 8 Aug 2022 00:59:43 +0200 Subject: [PATCH] add rules for CQL Shell tool for Apache Cassandra --- rules.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/rules.yaml b/rules.yaml index f573a07..31c648f 100644 --- a/rules.yaml +++ b/rules.yaml @@ -191,6 +191,25 @@ rules: key: __GL_SHADER_DISK_CACHE_PATH value: ${XDG_CACHE_HOME}/nv + - name: cqlsh + description: CQL Shell for Apache Cassandra + dotfile: + name: .cassandra + is_dir: true + actions: + - type: migrate + source: ${HOME}/.cassandra/cqlshrc + dest: ${XDG_CONFIG_HOME}/cassandra/cqlshrc + - type: alias + alias: cqlsh + command: cqlsh --cqlshrc $XDG_CONFIG_HOME/cassandra/cqlshrc + - type: migrate + source: ${HOME}/.cassandra/cqlsh_history + dest: ${XDG_CACHE_HOME}/cassandra/cqlsh_history + - type: export + key: CQL_HISTORY + value: ${XDG_CACHE_HOME}/cassandra/cqlsh_history + - name: docker dotfile: name: .docker