[ https://issues.apache.org/jira/browse/CASSANDRA-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863604#comment-13863604 ]
Cyril Scetbon commented on CASSANDRA-6421: ------------------------------------------ Great to see you enjoyed it :) FYI I've tested it on OSX (where I've developed it), Ubuntu Lucid (10.04) and Ubuntu Precise (12.04). Something interesting is with cleanup for example where the choice list is refreshed when you add a column family : {code} $ nodetool cleanup [TAB] pns_fr system system_auth system_traces test $ nodetool cleanup system[TAB] system system_auth system_traces $ nodetool cleanup system [TAB] HintsColumnFamily Migrations batchlog peer_events schema_columnfamilies IndexInfo NodeIdInfo hints peers schema_columns LocationInfo Schema local range_xfers schema_keyspaces $ nodetool cleanup system Schema [TAB] HintsColumnFamily Migrations hints peers schema_columns IndexInfo NodeIdInfo local range_xfers schema_keyspaces LocationInfo batchlog peer_events schema_columnfamilies $ nodetool cleanup system Schema Migrations [TAB] HintsColumnFamily NodeIdInfo local range_xfers schema_keyspaces IndexInfo batchlog peer_events schema_columnfamilies LocationInfo hints peers schema_columns {code} > Add bash completion to nodetool > ------------------------------- > > Key: CASSANDRA-6421 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6421 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Reporter: Cyril Scetbon > Assignee: Cyril Scetbon > Priority: Trivial > Fix For: 1.2.14, 2.0.5 > > > You can find the bash-completion file at > https://raw.github.com/cscetbon/cassandra/nodetool-completion/etc/bash_completion.d/nodetool > it uses cqlsh to get keyspaces and namespaces and could use an environment > variable (not implemented) to get access which cqlsh if authentification is > needed. But I think that's really a good start :) -- This message was sent by Atlassian JIRA (v6.1.5#6160)