You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/11/28 11:44:40 UTC

[jira] [Issue Comment Edited] (KARAF-960) Add information about available variables in the Karaf shell

    [ https://issues.apache.org/jira/browse/KARAF-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158337#comment-13158337 ] 

Guillaume Nodet edited comment on KARAF-960 at 11/28/11 10:43 AM:
------------------------------------------------------------------

The list of all commands can be retrieved using:

{code}
karaf@root> $.commands
bundles:addcommand
bundles:removecommand
bundles:eval
*:help
shell:history
shell:logout
shell:echo
....
{code}
                
      was (Author: gnt):
    The list of all commands can be retrieved using:


karaf@root> $.commands
bundles:addcommand
bundles:removecommand
bundles:eval
*:help
shell:history
shell:logout
shell:echo
....
{code}
                  
> Add information about available variables in the Karaf shell
> ------------------------------------------------------------
>
>                 Key: KARAF-960
>                 URL: https://issues.apache.org/jira/browse/KARAF-960
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-documentation
>    Affects Versions: 2.2.4, 3.0.0
>            Reporter: Gert Vanthienen
>
> It would be good to add information about the available variables ($.bundles, $.context, ...) and the closure syntax in the Karaf shell to the Karaf documentation.  A user on the ServiceMix mailing list was asking about more information on this topic (cfr. http://servicemix.396122.n5.nabble.com/karaf-shell-each-example-td3347514.html#a4919235) and it would make a nice addition to what's already available in http://karaf.apache.org/manual/latest-2.2.x/developers-guide/shell-syntax.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira