karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendy Irawan (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-1238) Utility to generate bash script with autocompletion
Date Tue, 28 Feb 2012 08:47:48 GMT
Utility to generate bash script with autocompletion

                 Key: KARAF-1238
                 URL: https://issues.apache.org/jira/browse/KARAF-1238
             Project: Karaf
          Issue Type: New Feature
          Components: karaf-shell
    Affects Versions: 2.2.5
         Environment: Linux and Mac OS X (similar feature can be developed on Windows via
PowerShell, and it's also usable by Cygwin)
            Reporter: Hendy Irawan

A tool, or a GoGo shell command that can iterate all the currently available commands, and
generate a bash script with autocompletion of options (and for a set of specially annotated

The resulting behavior is similar to how "git" tool behaves in Ubuntu.

The usage of resulting is like this:

SCRIPT_NAME [-h|--host=PORT] [-p|--port=PORT] [-u|--user=USER] [-w|--password=PASSWORD] [-b|--batch]

SCRIPT_NAME is specified during bash script generation.

If the "-h" parameter is not specified, it will create a Karaf instance, execute the command(s)
and exit. If specified, it will connect an already running Karaf instance via SSH.

If the "-b" parameter is specified, it will also process commands via stdin after running
the commands passed via args.

If the "-u" parameter is specified, it will execute the command as the specified Karaf user.

This will take some effort to realize. But I appreciate if anyone who deems this feature useful
add their vote or provide comments whether you are or against it. :-)

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


View raw message