Commit 0a0f632
[POA-3798] Show error message when using ec2 setup on macos (#118)
New output:
```
❯ sudo POSTMAN_ENV=beta POSTMAN_API_KEY=PMAK-**** ./bin/postman-insights-agent ec2 setup --project svc_11PHSa7GenVKdVCZN9r4Ya --repro-mode
Password:
[INFO] Telemetry unavailable; no Amplitude key configured.
[INFO] This is caused by building from source rather than using an official build.
[INFO] Postman Insights Agent 0.0.0
[WARNING] Turning on the --repro-mode flag enables the Postman Insights Agent to send payload data to the Postman cloud.
The Postman Insights Agent will automatically redact values in a default list of sensitive fields, as well as any additionally specified fields.
It is your reponsibility to ensure that any additional sensitive fields are appropriately redacted.
For more information, please see: https://learning.postman.com/docs/insights/repro.
By enabling this flag you acknowledge that you have read this message and accompanying documentation, and that you both understand the risks and have appropriate permission to proceed.
Usage:
postman-insights-agent ec2 setup [flags]
Flags:
-f, --force If the service files already exist, overwrite them without asking for confirmation
-h, --help help for setup
Global Flags:
--filter string Used to match packets going to and coming from your API service.
--host-allow strings Allows only HTTP hosts matching regular expressions.
--host-exclusions strings Removes HTTP hosts matching regular expressions.
--interfaces strings List of network interfaces to listen on. Defaults to all interfaces on host.
--log-format string Set to 'color', 'plain' or 'json' to control the log format.
--path-allow strings Allows only HTTP paths matching regular expressions.
--path-exclusions strings Removes HTTP paths matching regular expressions.
--project string Your Insights Project ID
--proxy string The domain name, IP address, or URL of an HTTP proxy server to use
--rate-limit float Number of requests per minute to capture.
--repro-mode Enable repro mode to send request and response payloads to Postman.
[ERROR] This command is only supported on linux
```
---------
Co-authored-by: Mark Gritter <[email protected]>1 parent 11d4eb9 commit 0a0f632
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
| |||
0 commit comments