You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr (Jira)" <ji...@apache.org> on 2022/11/22 09:50:00 UTC
[jira] [Created] (IGNITE-18221) Filter non-repitable options in interactive suggestions
Aleksandr created IGNITE-18221:
----------------------------------
Summary: Filter non-repitable options in interactive suggestions
Key: IGNITE-18221
URL: https://issues.apache.org/jira/browse/IGNITE-18221
Project: Ignite
Issue Type: Task
Components: cli
Reporter: Aleksandr
'cluster init --cluster-name mycluster <TAB>' will display --cluster-name as a suggested option. If fact, this option could be used only once, so we do not have to display suggestions with it anymore.
Look through all such options and add them to a special group like "non-repeatable options". I think 'Options' enum is a good place to put this info into.
Also, I suggest filtering not only non-repeatable options but short aliases, too. I don't think the user is happy to see --node-name and -n both at the same time. I think it is enough to display only long option names.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)