Hi, You may need take [1] & [2] as example
[1]https://svn.apache.org/repos/asf/karaf/branches/karaf-2.3.x/features/command/src/main/java/org/apache/karaf/features/command/AddUrlCommand.java [2]https://svn.apache.org/repos/asf/karaf/branches/karaf-2.3.x/admin/command/src/main/java/org/apache/karaf/admin/command/CreateCommand.java ------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-1-8, at 上午12:26, Ioan Eugen Stan wrote: > Hello, > > Could you please tell me how can I write multi-valued commands in > Activiti Karaf? We need to supply a list of packages to our > 'create-pool' command [1]. > I've tried with colon separated '--packages nginx,puppet' in our > implementation [1] but without luck. From the examples I found I don't > seem to figure out what I'm doing wrong. > > Cheers, > > [1] > https://github.com/axemblr/axemblr-provisionr/blob/master/karaf/commands/src/main/java/com/axemblr/provisionr/commands/CreatePoolCommand.java > > -- > Ioan Eugen Stan / CTO / http://axemblr.com
