Sure, wizards could make sense in certain circumstances, as you state where subsequent options depend on earlier ones given. But let's avoid a blanket "wizard everything!" that usually comes from not analyzing needs, and ends up bloating the code and wearing out the team. Updating the JIRA for precise tasks for which a wizard would be most helpful for you would be a good first step -- possibly having one JIRA per wizard request better.

Glen

On 08/13/2011 07:55 AM, bonomat wrote:
Hi Glen,

I agree with you, there is no wizard in the Linux command shell, but it is
possible to simulate them via scripts, e.g. look at the adduser command,
and you are right again, when you say that it has a high potential of having
bugs and could distract the developers from core functionality.
But, the reason why I could need some kind of a wizard, is that I have to
make decisions depending on the entered arguments,
for example, when I want to instantiate a new service, then let the first
argument be the type of the service, and depending on that service-type, has
the user to specify a different amount of further arguments, do you know
what I mean?

But it is not really required to create a wizard in Karaf, maybe there is a
"simple" way to get a user input while executing the doExectue()-method in a
command?

kind regards,Philipp


--
View this message in context: 
http://karaf.922171.n3.nabble.com/Extend-the-karaf-commands-by-a-wizard-tp3223630p3251396.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


--
Glen Mazza
Talend - http://www.talend.com/ai
Blog - http://www.jroller.com/gmazza
Twitter - glenmazza


Reply via email to