[
https://issues.apache.org/jira/browse/TINKERPOP-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette updated TINKERPOP-1056:
----------------------------------------
Component/s: (was: server)
console
> 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: console
> Affects Versions: 3.1.0-incubating
> Reporter: stephen mallette
> Priority: Trivial
>
> 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
(v7.6.14#76016)