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
Copy file name to clipboardExpand all lines: index.d.ts
+4
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,15 @@ declare namespace meow {
52
52
53
53
/**
54
54
Automatically show the help text when the `--help` flag is present. Useful to set this value to `false` when a CLI manages child CLIs with their own help text.
55
+
56
+
This option is only considered when there is only one argument in `process.argv`.
55
57
*/
56
58
readonlyautoHelp?: boolean;
57
59
58
60
/**
59
61
Automatically show the version text when the `--version` flag is present. Useful to set this value to `false` when a CLI manages child CLIs with their own version text.
62
+
63
+
This option is only considered when there is only one argument in `process.argv`.
Copy file name to clipboardExpand all lines: readme.md
+4
Original file line number
Diff line number
Diff line change
@@ -148,13 +148,17 @@ Default: `true`
148
148
149
149
Automatically show the help text when the `--help` flag is present. Useful to set this value to `false` when a CLI manages child CLIs with their own help text.
150
150
151
+
This option is only considered when there is only one argument in `process.argv`.
152
+
151
153
##### autoVersion
152
154
153
155
Type: `boolean`<br>
154
156
Default: `true`
155
157
156
158
Automatically show the version text when the `--version` flag is present. Useful to set this value to `false` when a CLI manages child CLIs with their own version text.
157
159
160
+
This option is only considered when there is only one argument in `process.argv`.
0 commit comments