You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main command is the one that runs when you supply no other commands.
@@ -172,13 +210,14 @@ you may override their defaults to modify the behavior.
172
210
|`printWidth`|`number`|`80`| The amount of characters to allow per line. Use `0` to disable wrapping. |
173
211
|`normalColors`|`string \| string[]`|`"dim"`| Colors to use on normal text (descriptions, usage example, etc.) |
174
212
|`highlightColors`|`string \| string[]`|`"yellow"`| Colors to use on highlighted text (command names, option names, binary name, etc) |
175
-
|`titleColors`|`string \| string[]`|`"white"`| Colors to use on title text ("Options", "Usage", etc) |
213
+
|`titleColors`|`string \| string[]`|`["bold", "white"]`| Colors to use on title text ("Options", "Usage", etc) |
176
214
|`subtitleColors`|`string \| string[]`|`["bold", "dim"]`| Colors to use on subtitle text (e.g. command titles for non-gloal options) |
215
+
|`bodyColors`|`string \| string[]`|`"white"`| Colors to use on special body text (header, footer) |
177
216
|`header`|`string`|| Additional content to display below the usage line, and above the rest. |
178
217
|`footer`|`string`|| Additional content to display below the commands and options, at the very bottom. |
179
218
|`commandNameSeparator`|`string`|`" \| "`| Separator for command name & its aliases. |
180
219
|`optionNameSeparator`|`string`|`"\|"`| Separator for option name & its aliases. |
181
-
|`useGlobalColumns`|`boolean`|`false`| Decides whether to align the columns of the option/command names and their descriptions globally or per table |
220
+
|`useGlobalColumns`|`boolean`|`true`| Decides whether to align the columns of the option/command names and their descriptions globally or per table |
182
221
|`usageExample`|`string`|`"[command] [option]"`| Default text to use as suffix for the `binName`, which will be used in the "Usage" line of the help text |
183
222
|`useColors`|`boolean`|`true`| When false, no colors will be output in the help. Good for non-supporting systems. |
0 commit comments