Skip to content

Commit 8955c1f

Browse files
committed
hiding flag because it is internal
1 parent 3a5f9e6 commit 8955c1f

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

packages/app/src/cli/commands/app/function/run.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export default class FunctionRun extends AppUnlinkedCommand {
3535
}),
3636
'invoked-by': Flags.string({
3737
char: 'b',
38+
hidden: true,
3839
description: 'The client that invoked this command.',
3940
env: 'SHOPIFY_FLAG_INVOKED_BY',
4041
}),

packages/cli/README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -381,20 +381,19 @@ Run a function locally for testing.
381381

382382
```
383383
USAGE
384-
$ shopify app function run [--client-id <value> | -c <value>] [-e <value>] [-i <value>] [-b <value>] [-j]
385-
[--no-color] [--path <value>] [--reset | ] [--verbose]
386-
387-
FLAGS
388-
-b, --invoked-by=<value> The client that invoked this command.
389-
-c, --config=<value> The name of the app configuration.
390-
-e, --export=<value> Name of the WebAssembly export to invoke.
391-
-i, --input=<value> The input JSON to pass to the function. If omitted, standard input is used.
392-
-j, --json Output the result as JSON.
393-
--client-id=<value> The Client ID of your app.
394-
--no-color Disable color output.
395-
--path=<value> The path to your function directory.
396-
--reset Reset all your settings.
397-
--verbose Increase the verbosity of the output.
384+
$ shopify app function run [--client-id <value> | -c <value>] [-e <value>] [-i <value>] [-j] [--no-color] [--path
385+
<value>] [--reset | ] [--verbose]
386+
387+
FLAGS
388+
-c, --config=<value> The name of the app configuration.
389+
-e, --export=<value> Name of the WebAssembly export to invoke.
390+
-i, --input=<value> The input JSON to pass to the function. If omitted, standard input is used.
391+
-j, --json Output the result as JSON.
392+
--client-id=<value> The Client ID of your app.
393+
--no-color Disable color output.
394+
--path=<value> The path to your function directory.
395+
--reset Reset all your settings.
396+
--verbose Increase the verbosity of the output.
398397
399398
DESCRIPTION
400399
Run a function locally for testing.

packages/cli/oclif.manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,7 @@
10961096
"description": "The client that invoked this command.",
10971097
"env": "SHOPIFY_FLAG_INVOKED_BY",
10981098
"hasDynamicHelp": false,
1099+
"hidden": true,
10991100
"multiple": false,
11001101
"name": "invoked-by",
11011102
"type": "option"

0 commit comments

Comments
 (0)