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

Vasanth kumar RJ commented on SQOOP-494:
----------------------------------------

I would like to suggest few things

For Show command, shall we have selection more than one options?

{code}
sqoop:000> show server
Usage: show server
-a,--all       Display all information
-h,--host      Display server host name
-p,--port      Display server port number
-w,--webapp    Display server web app name

Select [w/p/a/h]: hp
{code}

*Set server*

{code}
sqoop:000> set server
Usage: set server
-h,--host <host>         Host name to invoke server resources
-p,--port <port>         Port number to invoke server resources
-w,--webapp <webbapp>    Web app to invoke server resources
-q                       quit interactive

Select [w/p/h/q]: h
Host name to invoke server resources: localhost
Select [w/p/h/q]: p
Port number to invoke server resources: 8080
Select [w/p/h/q]: wq
Web app to invoke server resources: sqoop
{code}

Then, user should able to turn on/off interactive mode.

                
> Create client infrastructure to allow interactive selection of options of a 
> command.
> ------------------------------------------------------------------------------------
>
>                 Key: SQOOP-494
>                 URL: https://issues.apache.org/jira/browse/SQOOP-494
>             Project: Sqoop
>          Issue Type: Task
>            Reporter: Arvind Prabhakar
>            Assignee: Cheolsoo Park
>             Fix For: 2.0.0
>
>         Attachments: SQOOP-494.patch, SQOOP-494.patch, SQOOP-494.patch
>
>
> For example, if a command does not have full options specified, instead of 
> displaying full help, the shell could get into an interactive session to 
> gather the options one by one from the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to