2015-12-01 22:24 GMT+01:00 Christian Schneider <ch...@die-schneider.net>:
> I also like the karaf shell a lot. The main thing I dislike is that the > command or better Action class is not a singleton and so it is difficult to > provide as a service. > Unfortunately, there are not many ways to write command: * put arguments and options in fields, in which case you can't use singletons * have a method (or multiple) with options / arguments as method arguments : having lots of options can become problematic and not really easy to write or invoke * have a method with an Object[] argument to hold everything There are pros and cons for each, but there's no silver bullet. > Felix gogo is much nicer in this regard. With the current enhancements > from Guillaume it will be a lot nearer karaf in regard to features too. > I am currently helping to get this on the way. > > So I hope we can unite the two systems again or at least make it easy for > both to coexist in the same framework. > > Christian > > > Am 01.12.2015 um 20:02 schrieb Jean-Baptiste Onofré: > >> Honestly, I disagree about the Karaf commands: currently Karaf commands >> and shell are way more powerful and better than Felix gogo. >> >> Don't be too harsh and remember that, for lot of us, Karaf brings us in >> OSGi, shell, etc. I always remember where I come from ;) >> >> Regards >> JB >> >> >