You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/12/21 13:51:46 UTC

[jira] [Created] (TINKERPOP-1056) Shorthand to remote a script in a file to Gremlin Server

stephen mallette created TINKERPOP-1056:
-------------------------------------------

             Summary: Shorthand to remote a script in a file to Gremlin Server
                 Key: TINKERPOP-1056
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1056
             Project: TinkerPop
          Issue Type: Improvement
          Components: server
    Affects Versions: 3.1.0-incubating
            Reporter: stephen mallette
            Assignee: stephen mallette
            Priority: Minor
             Fix For: 3.1.1-incubating


You currently have to do this:

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

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

{code}
gremlin> :> ~my-script.groovy
{code}



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