Skip to content

Commit

Permalink
Add CLI reference docs for --data-file flags for invoke and publish (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
greenie-msft committed May 21, 2021
1 parent 6fb3a79 commit cac33b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions daprdocs/content/en/reference/cli/dapr-invoke.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dapr invoke [flags]
| `--help`, `-h` | | | Print this help message |
| `--method`, `-m` | | | The method to invoke |
| `--data`, `-d` | | | The JSON serialized data string (optional) |
| `--data-file`, `-f` | | | A file containing the JSON serialized data (optional)
| `--verb`, `-v` | | `POST` | The HTTP verb to use |

## Examples
Expand Down
5 changes: 3 additions & 2 deletions daprdocs/content/en/reference/cli/dapr-publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ dapr publish [flags]

| Name | Environment Variable | Default | Description
| --- | --- | --- | --- |
| `--publish-app-id` | `-i`| | The ID that represents the app from which you are publishing
| `--pubsub` | `-p` | | The name of the pub/sub component
| `--publish-app-id`, `-i`| | The ID that represents the app from which you are publishing
| `--pubsub`, `-p` | | The name of the pub/sub component
| `--topic`, `-t` | | | The topic to be published to |
| `--data`, `-d` | | | The JSON serialized string (optional) |
| `--data-file`, `-f` | | | A file containing the JSON serialized data (optional) |
| `--help`, `-h` | | | Print this help message |


Expand Down

0 comments on commit cac33b5

Please sign in to comment.