[ 
https://issues.apache.org/jira/browse/IGNITE-6064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630140#comment-16630140
 ] 

Artem Budnikov commented on IGNITE-6064:
----------------------------------------

I think we should also rework the way the script handles input options. Options 
should be passed in the form -optionName=optionValue. For example, the 
following command:

control.sh --cache list regexPattern [groups|seq] [nodeId]

could be modified as follows:

control.sh  --cache list -nameRegex=...  -type=groups|seq -nodeId=...

The options must be given semantically meaningful names.

 

 

 

> Rework control.sh script
> ------------------------
>
>                 Key: IGNITE-6064
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6064
>             Project: Ignite
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 2.0, 2.1
>            Reporter: Dmitriy Govorukhin
>            Priority: Blocker
>              Labels: usability
>
> Current behavior control.sh is not clear.
> 1. control.sh is a confusing name, need more suitable name.
> 2. Print help description if  incorrect command was entered
> 3. Do not print stacktrace if connection fail, add more informative message.
> 4. Print information about connection, like "Connecting to 
> [ip-address]:[port] etc."
> 5. Document the usage on a special page. Ping Denis Magda when it's time to 
> do that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to