Replies: 2 comments
-
I think it depends on the tool. This Stackoverflow, for example, indicates that both styles are used in various contexts: https://unix.stackexchange.com/questions/573377/do-command-line-options-take-an-equals-sign-between-option-name-and-value |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this would be a nice addition but I think it should be configurable per command. Do you still want to work on it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🌈 (Not a pull request, but still)
Current Behaviour
Thor apps, such as
rails
display options that come with an argument with an equals sign.In the example below, that's
[--ruby=PATH]
Suggested Change
Use a space instead of the '=' in the help output, like this
Rationale
It seems to be common practice to not use the '=' sign, neither in practical usage, nor documentation.
Examples:
tailwindcss-rails
documentation at https://github.com/rails/tailwindcss-rails#installationNote
I'd be happy to work on & provide a corresponding PR, should I get the specs to pass.
Beta Was this translation helpful? Give feedback.
All reactions