On Thu, Aug 6, 2020 at 8:54 AM Michael Carter <[email protected]> wrote:
> how I can hook a formatter into it?  Is there custom hooks anywhere into the 
> "Generate" button?

No, `workflow-cps` currently produces a single line only. I suppose it
could be made to generate indented multiline content if you checked a
box requesting that. What you _can_ do is ensure that default values
are omitted, so the size of the command is proportional to what the
user actually customized:

https://www.jenkins.io/doc/developer/plugin-development/pipeline-integration/#handling-default-values

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2iRGaFT3_JhZceF2q35mYUbTDxezVR9XCSceO8Z9btCw%40mail.gmail.com.

Reply via email to