cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6421) Add bash completion to nodetool
Date Wed, 15 Jan 2014 17:46:21 GMT

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

Michael Shuler commented on CASSANDRA-6421:
-------------------------------------------

[~cscetbon] After asking for opinions, I think the best place to put your completion is within
the debian/ packaging directory and it will be installed with a debian package.  A user of
tar installation could grab it from the repository, if they want to drop it on their system
locally.  I'll create a patch for this ticket with the file from your fork.  Let me know if
you are updating it anytime soon, and I'll hold off for a bit  :)

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

Mime
View raw message