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

stephen mallette closed TINKERPOP-1229.
---------------------------------------
       Resolution: Done
         Assignee: stephen mallette
    Fix Version/s: 3.2.1
                   3.1.3

Fixed up the messages for ":remote console" so that usage is more clear:

{code}
gremlin> :remote console
==>All scripts will now be sent to Gremlin Server - 
[localhost/127.0.0.1:8182]-[02cff3ba-f085-40d9-a70d-b7dcf1122358] - type 
':remote console' to return to local mode
gremlin> :remote console
==>All scripts will now be evaluated locally - type ':remote console' to return 
to remote mode for Gremlin Server - 
[localhost/127.0.0.1:8182]-[02cff3ba-f085-40d9-a70d-b7dcf1122358]
{code}

Change is here: 
https://github.com/apache/incubator-tinkerpop/commit/da31876d724a00be0ee32157acb9c784f0aeec12

> More Descriptive Messaging for :remote console
> ----------------------------------------------
>
>                 Key: TINKERPOP-1229
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1229
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.1.2-incubating
>            Reporter: Shaunak Das
>            Assignee: stephen mallette
>            Priority: Minor
>             Fix For: 3.1.3, 3.2.1
>
>
> When switching back and forth with :remote console, we have the following:
> {code}
> gremlin> :remote console
> ==>Exited remote console - all scripts will now be evaluated locally
> gremlin> :remote console
> ==>All scripts will now be sent to Gremlin Server - 
> [localhost/127.0.0.1:8182]-[9672ab95-704b-4473-a1b4-1bdc84efe04a] - type 
> ':remote console' to exit
> {code}
> It will help users if we can add a little more to this output:
> {code}
> gremlin> :remote console
> ==>Exited remote console - all scripts will now be evaluated locally
> {code}
> Perhaps, to allow the user to know how to switch in and out:
> {code}
> gremlin> :remote console
> ==>Exited remote console - all scripts will now be evaluated locally. 
> - type ':remote console' to evaluate all scripts on Gremlin Server - 
> [localhost/127.0.0.1:8182]
> {code}
> Also, notify the user if they are entering into a new session each time, or 
> an existing one (is the latter even possible? Or are sessions flushed with 
> each :remote console out?)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to