-
-
Notifications
You must be signed in to change notification settings - Fork 2k
use column to format help output #1292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@josegonzalez you're welcome 😜 |
|
Does this break plugin help output? |
|
What do you mean? It works in my test env. EDIT: oh you mean external plugins. yes we needed a common field delimiter to make this work. |
|
What about a space character? And then somehow trim whitespace from the second column? |
|
There's white space throughout the entire line though.... |
|
Well won't column only take the first whitespace? Maybe something like |
|
if you take the following as an example, you have white space in the first section and whitespace in second section but I see no common way to delineate from line to line. |
|
Dammit. I guess this is a breaking change then |
|
I'll need to update docs to include this format too |
|
Closes #1347. |
|
This change should be BC, if the help command does not have the comma, it should just print as is: Input Output |
|
@jpscharf fair point. i'll update this |
e4ea2a7 to
ab8bc99
Compare
ab8bc99 to
f752d32
Compare
f752d32 to
36d607a
Compare
|
@josegonzalez tested with a different plugin and it still works. just looks unaligned as @jpscharf showed |
|
Are there any plugins with a comma in the definition already? |
|
That's a good question. Any suggestions on how to find this out? |
|
Install all the plugins and type "dokku help" :P |
|
Let me know how that goes.... |
|
lmao fine merge at will |
|
Honestly, if any already do, it's just the alignment that will be off. I don't think it's a big deal. |
use column to format help output
Example with plugin that has not updated its help output: