[
https://issues.jboss.org/browse/FORGE-422?page=com.atlassian.jira.plugin....
]
Jan Papousek commented on FORGE-422:
------------------------------------
Maybe a stupid question, but where can I find the version providing the
"evaluate" option? I've tried to download 1.0.3-SNAPSHOT (from JBoss
repository), but it doesn't work.
{code}
[jpapouse@dhcp-27-156 tmp]$ forge -e "echo hi jan"
Using Forge at /opt/forge-1.0.3-SNAPSHOT
_____
| ___|__ _ __ __ _ ___
| |_ / _ \| `__/ _` |/ _ \ \\
| _| (_) | | | (_| | __/ //
|_| \___/|_| \__, |\___|
|___/
[no project] tmp $
{code}
creating a new option "evaluate"
--------------------------------
Key: FORGE-422
URL:
https://issues.jboss.org/browse/FORGE-422
Project: Forge
Issue Type: Feature Request
Affects Versions: 1.0.0.Beta5
Reporter: Jan Papousek
Assignee: Lincoln Baxter III
Fix For: 1.0.3.Final
I would be nice to add an option (*--evaluate* or *-e* for short) for evaluating commands
without going into the forge console.
Example:
{code}
forge -e "run /path/to/script.fsh"
{code}
It's hard to write bash scripts using forge without this option.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira