2008/5/9, Benjamin Bentmann <
benjamin.bentmann@...>:
> Vincent Siveton wrote:
>
>
> > IIRC the main reason to have toLines() in the generated class is to
> > control the ouput, ie getting user configuration like max buffer or
> > indentation and providing the specific output.
> >
>
> You mean to support something like this:
>
> mvn foo:help -Dindent=4 -Dmax=120
>
> Do I understand correctly? But is this really of practical interest?
Yep exactly
User prompts could be customized (ie other 80 char width) so I think
it could be a reasonable use case.
> I could imagine that plugin developers would like to control these settings
> when *generating* their help goal but will end-users ever care to control
> the formatting when *invoking* the help goal? Just wondering.
Actually, end users could control the output with -Ddetail parameter,
so why not the formatting ?
Cheers,
Vincent
>
> Benjamin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
dev-unsubscribe@...
> For additional commands, e-mail:
dev-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...