You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Gagarkin (Jira)" <ji...@apache.org> on 2022/12/07 09:27:00 UTC

[jira] [Assigned] (IGNITE-18221) Filter non-repitable options in interactive suggestions

     [ https://issues.apache.org/jira/browse/IGNITE-18221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Gagarkin reassigned IGNITE-18221:
--------------------------------------

    Assignee: Ivan Gagarkin

> 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
>            Assignee: Ivan Gagarkin
>            Priority: Major
>              Labels: ignite-3
>
> '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)