How do people feel about the current way of writing help strings (multiple implictly joined strings with trailing spaces)?
I just opened a PR for a little string utility that would allow us to use multiline strings. It still requires newline gardening, but is still much easier to write/read.
Feedback welcome: https://github.com/pantsbuild/pants/pull/14783
❗ 1
h
hundreds-father-404
03/15/2022, 12:52 AM
cc @polite-garden-50641 I think?
b
bitter-ability-32190
03/15/2022, 1:01 AM
I think you might misunderstand, this isn't something that's "on" or "off". Just a new way of providing strings to
help
.I'll be checking as I migrate Pants options that the user-facing options don't change (significantly. Minor tweaks will be called out)
p
polite-garden-50641
03/15/2022, 1:03 AM
I got confused with a different thread (asset dependency inference) so I deleted the original msg.
✅ 1
As for anything to do with writing plugins, I only work on one(the Toolchain one)
I don't think my opinion is relevant here since this kind of change mostly affects the pants code base..
Which I hardly ever developed for..