[
https://issues.apache.org/jira/browse/OAK-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amit Jain updated OAK-1845:
---------------------------
Fix Version/s: (was: 1.1)
1.1.0
> Add command to execute script
> -----------------------------
>
> Key: OAK-1845
> URL: https://issues.apache.org/jira/browse/OAK-1845
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: run
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Fix For: 1.1.0
>
>
> Add a command which can execute arbitrary script
> {noformat}
> > script /path/to/script
> > script -groovy println 'Hello'
> > script print("hello")
> > script <<EOT
> println(nodeStore.getRoot())
> EOT
> {noformat}
> For the last the script would be assumed to be javascript by default. Later
> we can enhance the Console to read multi line string use herestring
> The ConsoleSession can be exposed as bind variable and can be used by script
> to access the runtime
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)