[ 
https://issues.apache.org/jira/browse/CASSANDRA-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863622#comment-13863622
 ] 

Cyril Scetbon commented on CASSANDRA-6421:
------------------------------------------

I think we could add a nodetool.bash-completion file in the tar at the root 
level or in another directory but not in the conf directory cause I suppose 
some users/tools copy everything from conf to /etc/cassandra (like brew for 
example on OSX) and if we put the nodetool script in it, it will be copied too 
:(

> 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)

Reply via email to