[
https://issues.apache.org/jira/browse/KARAF-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré updated KARAF-3124:
----------------------------------------
Description:
Even if it's possible to access $session in the console to call set/get
methods, it's not obvious for the end users.
The shell:env command will:
* display all session variables with no argument is provided
* display the session variable value if a variable name is provided
* set the session variable value if a variable name and value are provided
was:
Even if it's possible to access $session in the console to call set/get
methods, it's not obvious for the end users.
Just wrapping with shell:get and shell:set commands simplifies the usage.
> Provide shell:env command
> -------------------------
>
> Key: KARAF-3124
> URL: https://issues.apache.org/jira/browse/KARAF-3124
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-shell
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.4.0, 4.0.0, 3.0.2, 2.3.6
>
>
> Even if it's possible to access $session in the console to call set/get
> methods, it's not obvious for the end users.
> The shell:env command will:
> * display all session variables with no argument is provided
> * display the session variable value if a variable name is provided
> * set the session variable value if a variable name and value are provided
--
This message was sent by Atlassian JIRA
(v6.2#6252)