[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henry Robinson updated ZOOKEEPER-386:
-------------------------------------

    Attachment: patch.txt

This patch adds readline support to ZooKeeperMain, plus a bunch of other stuff: 
auto-completion of commands and znodes, scrollable history, redo any of the 
last 10 commands, a prompt that displays the command count, optional 
surpression of watch notifications and defaults to localhost:2181 if no -server 
flag is given on the command line.

Dropped / failed connections still fail fairly ugly, might be an idea to add a 
'connect' command and catch the exceptions. 

> improve c and java cli shells
> -----------------------------
>
>                 Key: ZOOKEEPER-386
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-386
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: c client, java client
>            Reporter: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.2.0
>
>         Attachments: patch.txt
>
>
> copied from the following comments by Vegard
> https://issues.apache.org/jira/browse/ZOOKEEPER-364?focusedCommentId=12696002&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12696002
> ------------------------------------------------------------
> Possible improvements:
> Default host list to localhost:2181 when not given.
> Don't print a ton of debug, it looks like both cli_mt and zkCli.sh does this. 
> Make a simple ls that lists subnodes one line at a time and a simple cat that 
> lists only the node content, simple put etc.
> Shell with gnu readline capabilities and tab completion on node names would 
> be a big improvement of usability during testing and debugging. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to