cassandra/pylib/cqlshlib
Ekaterina Dimitrova b47179b7d4
Add option to disable cqlsh history
We can disable saving of the history either via command-line parameter --disable-history, or by setting disabled = True in the history section of the cqlshrc. Both options will read existing history, and just won't save new commands.

Update help and docs for cqlsh history.
Add startup info logline whenr history logging is enabled.
Add a fix for cqlshrc file path not correctly expanding.

Includes the Backport of
  Allows users to change cqlsh history location using env variable
  patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17448

patch by Ekaterina Dimitrova; reviewed by Mick Semb Wever for CASSANDRA-XXX

Co-authored-by: Alex Ott alex.ott@datastax.com
Co-authored-by: Jaroslaw Grabowski jaroslaw.grabowski@datastax.com
2026-03-17 23:01:57 +01:00
..
test Fix autocompletion for role names/user names 2025-02-04 10:44:12 +01:00
__init__.py Make cqlsh PEP8 compliant (and other cleanups) - 2.2 patch 2015-09-11 16:47:18 +02:00
copyutil.py Cqlsh Cython failure on 4.0 2022-11-11 10:56:02 +01:00
cql3handling.py Fix autocompletion for role names/user names 2025-02-04 10:44:12 +01:00
cqlhandling.py Merge branch 'cassandra-3.11' into cassandra-4.0 2021-07-13 13:04:48 +01:00
cqlshhandling.py Add support for server side DESCRIBE statements 2020-06-29 18:01:02 +02:00
displaying.py Make cqlsh and cqlshlib Python 2 & 3 compatible 2020-02-14 10:33:57 -08:00
formatting.py Fix formatting of duration in cqlsh 2023-01-17 14:28:31 -06:00
helptopics.py Merge branch 'cassandra-2.2' into cassandra-3.0 2015-12-01 10:40:07 +01:00
pylexotron.py Make cqlsh and cqlshlib Python 2 & 3 compatible 2020-02-14 10:33:57 -08:00
saferscanner.py Accommodate python 3.11 2023-01-20 15:23:58 -06:00
setup.cfg Merge branch 'cassandra-3.11' into cassandra-4.0 2023-08-31 22:39:56 +02:00
sslhandling.py Merge branch 'cassandra-3.11' into cassandra-4.0.0 2021-06-12 14:00:47 -04:00
tracing.py Merge branch 'cassandra-3.11' into trunk 2020-06-30 17:57:22 -05:00
util.py Add option to disable cqlsh history 2026-03-17 23:01:57 +01:00
wcwidth.py Backport CASSANDRA-12189, formatting fixes 2020-07-15 14:20:53 -05:00