Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1229

More Descriptive Messaging for :remote console

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.1.2-incubating
    • 3.1.3, 3.2.1
    • console
    • None

    Description

      When switching back and forth with :remote console, we have the following:

      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
      

      It will help users if we can add a little more to this output:

      gremlin> :remote console
      ==>Exited remote console - all scripts will now be evaluated locally
      

      Perhaps, to allow the user to know how to switch in and out:

      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]
      

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

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            shaunakdas88 Shaunak Das
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: