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

Aleksandr reassigned IGNITE-22108:
----------------------------------

    Assignee: Aleksandr

> Rename options in CLI
> ---------------------
>
>                 Key: IGNITE-22108
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22108
>             Project: Ignite
>          Issue Type: Task
>          Components: cli
>            Reporter: Aleksandr
>            Assignee: Aleksandr
>            Priority: Major
>              Labels: ignite-3
>
> The original CLI IEP offers both long and short options for some commands, 
> for example
> --cluster-endpoint-url localhost:8080 and  
> -u localhost:8080
> The CLI is becoming more complex than it was before. We add new commands and 
> new options constantly. Now we can observe some confusions in short options 
> across some commands.
> The proposal for CLI short options is to define the following conventions:
> - Use exactly one letter for the short options.
> - Do not overwrite the one if it is already defined for some command.
> - Use short options only for commands that will probably be used frequently. 
> Proposed short options: 
> -n for node-name
> -h for help
> -v for verbose
> -u for user
> -p for password
> All other short options should be dropped.
> Also some common options might be shorten:
> - cluster-endpoint-url, node-url → url
> - cluster-config → config
> - cluster-config-file → config-file
> - script-file → file
> - cluster-name, node-name → name
> - meta-storage-node → ms-node



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to