[jboss-jira] [JBoss JIRA] (WFLY-2857) ability to initialize cli env var to a result of a command/operation

Alexey Loubyansky (JIRA) issues at jboss.org
Mon Feb 3 09:44:28 EST 2014


Alexey Loubyansky created WFLY-2857:
---------------------------------------

             Summary: ability to initialize cli env var to a result of a command/operation
                 Key: WFLY-2857
                 URL: https://issues.jboss.org/browse/WFLY-2857
             Project: WildFly
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: CLI
            Reporter: Alexey Loubyansky
            Assignee: Alexey Loubyansky


It would be useful to be able to initialize an environment variable to a result of a command or an operation, e.g. (following the linux style)

set value=`:read-attribute(name=release-version)`

or

set value=$(:read-attribute(name=release-version))

and

echo $value
8.0.0.Final-SNAPSHOT

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list