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

Shorthand to remote a script in a file to Gremlin Server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 3.1.0-incubating
    • None
    • console
    • None

    Description

      You currently have to do this:

      gremlin> myScript = new File('my-script.groovy').getText('UTF-8')
      ==>x = 1
      y = 2
      addItUp(x,y)
      gremlin> :> @myScript
      ==>3
      

      to submit a file to the server. Would be nice if it was just:

      gremlin> :> ~my-script.groovy
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: