« Return to Thread: Pretty Printing in Generated Help Goal

Re: Pretty Printing in Generated Help Goal

by Benjamin Bentmann :: Rate this Message:

Reply to Author | View in Thread

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?

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.


Benjamin


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: Pretty Printing in Generated Help Goal