[
https://issues.jboss.org/browse/WFCORE-2283?page=com.atlassian.jira.plugi...
]
Jean-Francois Denise commented on WFCORE-2283:
----------------------------------------------
We have converged toward a solution.
[~weeks.c], in case you want to provide feedback, we have a
[
document|https://docs.google.com/document/d/1HuoJzr01XES1pbbvpoM2A7K_gVTg...]
with spec, examples and link to the repository.
Make 'required' attributes clearer when using tab completion
within CLI
-----------------------------------------------------------------------
Key: WFCORE-2283
URL:
https://issues.jboss.org/browse/WFCORE-2283
Project: WildFly Core
Issue Type: Feature Request
Components: CLI
Reporter: Darran Lofthouse
Assignee: Jean-Francois Denise
The following is some example output pressing tab to reveal the parameters of
'add': -
{{[standalone@localhost:9990 /] ./subsystem=elytron/key-store=localhost:add(
! alias-filter credential-reference path provider-name providers relative-to
required type }}
From this is it not clear which are actually required.
Suggestions to make it clearer: -
* Show required / optional in different colours.
* Add something to the required attributes e.g. '*'
* Add something to the optional requirements e.g. {optional_arg}
Maybe this can go one step further and take into account arguments already added by the
user, especially where attributes require another attribute or are an alternative.
Once an attribute is identified as being an alternative to another attribute maybe it
should be omitted altogether from the list or maybe also have something adding to it
!attr_name.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)