]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
add support to cassandra cqlsh (#152) (#153)
authorccoVeille <3875889+ccoVeille@users.noreply.github.com>
Mon, 8 Aug 2022 05:04:35 +0000 (07:04 +0200)
committerGitHub <noreply@github.com>
Mon, 8 Aug 2022 05:04:35 +0000 (07:04 +0200)
programs/cassandra-cqlsh.json [new file with mode: 0644]

diff --git a/programs/cassandra-cqlsh.json b/programs/cassandra-cqlsh.json
new file mode 100644 (file)
index 0000000..33e626a
--- /dev/null
@@ -0,0 +1,15 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.cassandra/cqlshrc",
+            "movable": true,
+            "help": "Alias cqlsh to use a custom configuration location:\n\n```bash\nalias cqlsh=\"cqlsh --cqlshrc=$XDG_CONFIG_HOME/cassandra/cqlshrc\"\n```\n"
+        },
+        {
+            "path": "$HOME/.cassandra/cqlsh_history",
+            "movable": true,
+            "help": "Supported since version _6.20_. Export the following environment variables:\n\n```bash\nexport CQL_HISTORY=\"$XDG_DATA_HOME/cassandra/cqlsh_history\"\n```\n"
+        }
+    ],
+    "name": "cassandra-cqlsh"
+}