We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a030e7 commit 1817a6dCopy full SHA for 1817a6d
1 file changed
packages/plugin-help/src/renderer.ts
@@ -203,14 +203,15 @@ export class HelpRenderer {
203
const items = command.parameters.map((parameter) => {
204
const key = typeof parameter === "string" ? parameter : parameter.key;
205
const type = typeof parameter === "string" ? undefined : parameter.type;
206
+ const formattedType = type
207
+ ? this._formatters.formatTypeValue(type)
208
+ : "string";
209
const description =
210
typeof parameter === "string" ? undefined : parameter.description;
211
- return [
- yc.bold(key),
- type ? this._formatters.formatTypeValue(type) : "string",
212
- description,
213
- ].filter(isTruthy);
+ return [yc.bold(key), yc.dim(formattedType), description].filter(
+ isTruthy,
214
+ );
215
});
216
217
return {
0 commit comments