Closed GregSithole closed 8 months ago
flags have a property helpValue
that can be set:
https://github.com/oclif/config/blob/master/src/command.ts#L114
helpValue
will change what's on the right side of the =
, but won't hide the =
: https://github.com/oclif/plugin-help/blob/master/src/command.ts#L135-L140
@childish-sambino is right, regardless of whether we set the value to an empty string, the =
would still appear... I think there needs to be an additional option for the flag, something like displayHelpValue
to show help value if you wanted.
Not indicating that a flag takes are argument is confusing, how would this be useful?
@RasPhilCo Hmmm yeah you right on that it would be confusing. Okay, I think what we can fix is the =
sign. I think that should be an empty space... So instead of having -q, --query=<query>
, we can instead have -q, --query <query>
Cool! I will address this in the help rewrite.
Cool thanks man!
Hi Guys
I wanted to find out if there is a way to remove the helpValue or at least keep it hidden. So currently it has the following format:
But what I want is: