user  

Re: [Neo] Neo4j shell

Mattias Persson
Tue, 19 May 2009 11:46:38 -0700

Hi Martin,

2009/5/19 Martin Kleppmann <mar...@eptcomputing.com>:
> Hi,
>
> A quick question from me too. Using 1.0-b8, I can't get the shell to
> display anything useful. It connects ok, but `ls` doesn't show
> anything. `help` returns: `Available commands: exit quit` ...I guess
> there ought to be more than just those two commands?
The shell starts at the reference node and if there's no relationships
connected to it 'ls' won't display anything. Do you have some data in
there or do you just have an empty database?

Regarding the commands, the help command uses reflection to look at
which commands are available. Do you start the neo4j instance in a web
container or something like that? In that case help can't find those
commands as it should. I believe there's a ticket for just that.

Anyways, a normal 'help' should display:

neo-sh (0)$ help
Available commands: cd env exit export gsh help jsh ls man mkrel mv
pwd quit rm rmrel set
Use man <command> for info about each command.
neo-sh (0)$

and you can still use help <command> even if it doesn't list those commands.

>
> Also I think I spotted a minor documentation bug, and have filed it
> (#172).
>
> Martin
>
> --
> Martin Kleppmann
> Managing Director, Ept Computing Ltd.
> Web: http://www.eptcomputing.com
> Blog: http://www.yes-no-cancel.co.uk
> Twitter: http://twitter.com/martinkl
>
> _______________________________________________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user