[
https://issues.jboss.org/browse/AS7-2664?page=com.atlassian.jira.plugin.s...
]
Dave Ryan commented on AS7-2664:
--------------------------------
There would be a difficulty here in using the Tab completion to open the optional
arguments, such as adding a "(" character. For many of the existing operations,
the operation name can be filled with Tab completion, but another operation contains the
same string of words. For example:
bq. [standalone@localhost:9999 subsystem=datasources] :read-resource
If you then hit Tab, you get the following:
bq. read-resource read-resource-description
The read-resource operation, however, also has some optional arguments. If you open the
"(" bracket:
bq. [standalone@localhost:9999 subsystem=datasources] :read-resource(
And then hit Tab to show the options:
bq. include-runtime= proxies= recursive=
This would make it difficult to differentiate between the user's intention to fill the
name of the operation, or add arguments. Jim, what would you think about having a
{{--help}} wrapper, as raised in [
AS-1758|https://issues.jboss.org/browse/AS7-1758]? This
would allow the user to use the existing tab compeltion to fill out the operation name,
and then use the {{operation-name --help}} option to effectively shortcut to running the
{{read-operation-description(name=NameOfOperation)}}.
The advantage I see here is a nice compromise between the existing Tab completion, and
being able to query the use of optional arguments without interupting the workflow of the
existing operation (in other words, not having to undo the Tab completion of the operation
name, and retype the read-operation-description, read it, and then type out the original
operation again). Thoughts?
Tab Completion help, found an example where = are added to the tab
completion, it would be nice if commands would be post pended with either = or : or ( as
appropaite
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: AS7-2664
URL:
https://issues.jboss.org/browse/AS7-2664
Project: Application Server 7
Issue Type: Feature Request
Components: CLI
Reporter: Jim Tyrrell
Assignee: Alexey Loubyansky
Labels: eap6-ux
Attachments: Screenshot-7.png
More help hinting at the format of commands, found this one by accident in the attached
screen shot that had = signs which makes it very nice, so far had not noticed the tabs
adding in syntax help like that before.
--
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