Ah, I see. In this case, the default should be "new-uiteste"

> Em 06/05/2014, às 19:07, Daniel Cunha <notifications@github.com> escreveu:
> 
> In addons/impl/src/main/java/org/jboss/forge/addon/addons/ui/NewUICommandWizard.java:
> 
> > +      if (Strings.isNullOrEmpty(value))
> > +      {
> > +         throw new IllegalArgumentException("It isn't possible to parse a null value");
> > +      }
> > +
> > +      if (Character.isUpperCase(value.charAt(0)))
> > +      {
> > +         value = value.replace(value.charAt(0), Character.toLowerCase(value.charAt(0)));
> > +      }
> > +
> > +      for (int index = 0; index < value.length(); index++)
> > +      {
> > +         char charValue = value.charAt(index);
> > +         if (Character.isUpperCase(charValue))
> > +         {
> > +            builder.append("-").append(Character.toLowerCase(charValue));
> @gastaldi Ok, but your example.. How do I apply ? Because between UI and Command doesn't exist a lowercase previously. Command was removed, not exist Command into commandName when I not specified the commandName parameter or when ends with Command. In you example it's easy, my method return: new-ui
> 
> But when I have for example, this parameter: NewUITesteCommand.. What my method should return? new-ui-teste, new-uitest or new-u-i-test. Append "-" only if a lowercase was previously found not a better form, this example doesn't pass. [I hope that you understand this text]
> 
> —
> Reply to this email directly or view it on GitHub.