Better CLI command usage prompt #299
-
I was confused.
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 2 replies
-
if we are to follow similar pattern as RoR, i think, yeah, we need to adjust it. from RoR docs:
|
Beta Was this translation helpful? Give feedback.
-
In this specific case the CLI framework is saying, these are the options:
This is different from the command options. |
Beta Was this translation helpful? Give feedback.
-
I would be less confused if Usage line is like following.
|
Beta Was this translation helpful? Give feedback.
-
@tjyang, do we have something to do with that? or is this how clap works? |
Beta Was this translation helpful? Give feedback.
-
@kaplanelad . I will submit PR if I found there is method to alter default Usage line output. Closing this discussion for now. |
Beta Was this translation helpful? Give feedback.
-
@kaplanelad and @jondot I spent some time to learn more about clap-4.x and found the USAGE line is adjustable by using help_template Please review and let me know your comment.
|
Beta Was this translation helpful? Give feedback.
-
@tjyang can you please add what we have and what are you expected to be? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@tjyang got you. |
Beta Was this translation helpful? Give feedback.
I'm currently dedicated to enhancing and incorporating more valuable features into Loco.
I think it better to defer for now this suggestion to later