diff --git a/completions/bash/postman.bash b/completions/bash/postman.bash index 1b3c51b..352c97d 100644 --- a/completions/bash/postman.bash +++ b/completions/bash/postman.bash @@ -1,4 +1,4 @@ -# Bash completion for Postman CLI (postman v1.48.0) +# Bash completion for Postman CLI (postman v1.49.0) # Auto-generated by scripts/generate.mjs — DO NOT EDIT # Source: spec/commands.json # https://github.com/yokawasa/postman-cli-completion @@ -444,7 +444,7 @@ _postman_performance() { _postman_performance_run() { if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W "-e --environment -g --globals --vu-count -d --duration -p --load-profile --data-file --postman-api-key --pass-if -h --help" -- "$cur") ) + COMPREPLY=( $(compgen -W "-e --environment -g --globals --vu-count -d --duration -p --load-profile --data-file --dataset-id --dataset-view-id --dataset-distribution --postman-api-key --pass-if -h --help" -- "$cur") ) return 0 fi case "$prev" in @@ -519,7 +519,7 @@ _postman_flows_deploy() { _postman_flows_run() { if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W "-i --input -f --input-file -s --scenario -e --environment --working-dir --verbose --no-truncate --output --reporters -x --suppress-exit-code --workspace --verbose --debug --json -h --help" -- "$cur") ) + COMPREPLY=( $(compgen -W "-i --input -f --input-file -s --scenario --iteration-data-dataset --iteration-data-view -m --map-column -e --environment --working-dir --no-insecure-file-read --verbose --no-truncate --output --reporters -x --suppress-exit-code --workspace --verbose --debug --json -h --help" -- "$cur") ) return 0 fi case "$prev" in @@ -529,6 +529,9 @@ _postman_flows_run() { -f|--input-file) _postman_filematch '!*.@(json)' "$cur" return 0 ;; + --iteration-data-dataset) + _postman_filematch '!*.@(json|csv)' "$cur" + return 0 ;; -e|--environment) _postman_filematch '!*.@(json)' "$cur" return 0 ;; @@ -1066,7 +1069,7 @@ _postman_webhook() { if [[ "$cur" == -* ]]; then COMPREPLY=( $(compgen -W "-h --help" -- "$cur") ) else - COMPREPLY=( $(compgen -W "create start pause list delete status requests forward" -- "$cur") ) + COMPREPLY=( $(compgen -W "create start pause list delete status requests scripts forward" -- "$cur") ) fi return 0 fi @@ -1078,6 +1081,7 @@ _postman_webhook() { delete) _postman_webhook_delete ;; status) _postman_webhook_status ;; requests) _postman_webhook_requests ;; + scripts) _postman_webhook_scripts ;; forward) _postman_webhook_forward ;; esac } @@ -1184,7 +1188,7 @@ _postman_webhook_requests_list() { _postman_webhook_requests_describe() { if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W "-w --workspace --api-key -h --help" -- "$cur") ) + COMPREPLY=( $(compgen -W "-w --workspace --api-key --verbose -h --help" -- "$cur") ) return 0 fi case "$prev" in @@ -1206,6 +1210,32 @@ _postman_webhook_requests_replay() { esac } +_postman_webhook_scripts() { + if [[ -z "$subcmd" ]]; then + if [[ "$cur" == -* ]]; then + COMPREPLY=( $(compgen -W "-h --help" -- "$cur") ) + else + COMPREPLY=( $(compgen -W "set" -- "$cur") ) + fi + return 0 + fi + case "$subcmd" in + set) _postman_webhook_scripts_set ;; + esac +} + +_postman_webhook_scripts_set() { + if [[ "$cur" == -* ]]; then + COMPREPLY=( $(compgen -W "--event -w --workspace --api-key -h --help" -- "$cur") ) + return 0 + fi + case "$prev" in + --api-key) + _postman_filematch '!*.@(pem|crt|key)' "$cur" + return 0 ;; + esac +} + _postman_webhook_forward() { if [[ "$cur" == -* ]]; then COMPREPLY=( $(compgen -W "-w --workspace --api-key -h --help" -- "$cur") ) diff --git a/completions/fish/postman.fish b/completions/fish/postman.fish index 97af974..b5d510b 100644 --- a/completions/fish/postman.fish +++ b/completions/fish/postman.fish @@ -1,4 +1,4 @@ -# Fish completion for Postman CLI (postman v1.48.0) +# Fish completion for Postman CLI (postman v1.49.0) # Auto-generated by scripts/generate.mjs — DO NOT EDIT # Source: spec/commands.json # https://github.com/yokawasa/postman-cli-completion @@ -247,6 +247,9 @@ complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s d -l duration -d 'Duration of the performance test in minutes (default: 1)' -x complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s p -l load-profile -d 'Load profile type: fixed, ramp-up, spike, peak (default: "ramp-up")' -x complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l data-file -d 'Path to a JSON or CSV data file to use with the collection' -r +complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l dataset-id -d 'Use a Postman Dataset as iteration data (with --dataset-view-id)' -x +complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l dataset-view-id -d 'Dataset view to execute for iteration data (requires --dataset-id)' -x +complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l dataset-distribution -d 'How rows map to VUs: round-robin (default), fixed, random' -x complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l postman-api-key -d 'API Key used to load the resources from the Postman API (Only supported in the US region, use \'postman login --region\' to authenticate instead)' -x complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l pass-if -d 'Pass condition in format: function(metric, value). Functions: less_than, greater_than, less_than_eq, greater_than_eq. Metrics: avg, p90, p95, p99, error_rate, rps. Example: less_than(p95, 500) or less_than(error_rate, 5)' -x complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command' @@ -295,8 +298,12 @@ complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subco complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -s i -l input -d 'Set flow inputs as key=value pairs (e.g. --input foo=bar --input baz=qux) (default: [])' -r complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -s f -l input-file -d 'Set flow inputs from JSON files (e.g. --input-file ./inputs.json --input-file ./config.json) (default: [])' -r complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -s s -l scenario -d 'Use a pre-built scenario as flow inputs (by scenario name). Can be combined with --input and --input-file to override values.' -x +complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l iteration-data-dataset -d '[BETA] Run the flow once per row of a dataset view. Accepts a local .dataset.yaml path or a cloud dataset id (cloud requires login). Requires --iteration-data-view. Dataset columns feed the flow inputs (see --map-column).' -r +complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l iteration-data-view -d '[BETA] Name or id of the view (within --iteration-data-dataset) whose rows drive the run.' -x +complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -s m -l map-column -d '[BETA] Bind a flow input to a dataset column (e.g. -m isActive=active). Repeatable. Inputs whose name matches a column bind automatically. (default: [])' -x complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -s e -l environment -d 'Specify a path to a Postman Environment file (JSON or YAML)' -r complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l working-dir -d 'Specify the path to the working directory' -x +complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l no-insecure-file-read -d 'Prevent reading dataset files situated outside of the working directory (applies to --iteration-data-dataset)' complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l verbose -d 'Show detailed information of flow run and each request (method, URL, assertions)' complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l no-truncate -d 'Show full output without truncating long values' complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l output -d 'Save execution result to a file (supported: json)' -x @@ -595,14 +602,15 @@ complete -c postman -n '__fish_seen_subcommand_from search; and __fish_seen_subc complete -c postman -n '__fish_seen_subcommand_from search; and __fish_seen_subcommand_from documents' -s h -l help -d 'display help for command' # ---------- webhook ---------- -complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests forward' -a create -d 'Create a new webhook and print its public URL.' -complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests forward' -a start -d 'Activate a webhook so it can receive requests.' -complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests forward' -a pause -d 'Pause a webhook so it no longer accepts requests.' -complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests forward' -a list -d 'List all webhooks in a workspace.' -complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests forward' -a delete -d 'Permanently delete a webhook.' -complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests forward' -a status -d 'Show details for a webhook.' -complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests forward' -a requests -d 'List, inspect, and replay requests received by a webhook.' -complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests forward' -a forward -d 'Forward incoming webhook requests to a local port.' +complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests scripts forward' -a create -d 'Create a new webhook and print its public URL.' +complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests scripts forward' -a start -d 'Activate a webhook so it can receive requests.' +complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests scripts forward' -a pause -d 'Pause a webhook so it no longer accepts requests.' +complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests scripts forward' -a list -d 'List all webhooks in a workspace.' +complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests scripts forward' -a delete -d 'Permanently delete a webhook.' +complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests scripts forward' -a status -d 'Show details for a webhook.' +complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests scripts forward' -a requests -d 'List, inspect, and replay requests received by a webhook.' +complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests scripts forward' -a scripts -d 'Create or update scripts executed by a webhook.' +complete -c postman -n '__postman_using_subcommand webhook create start pause list delete status requests scripts forward' -a forward -d 'Forward incoming webhook requests to a local port.' complete -c postman -n '__fish_seen_subcommand_from webhook' -s h -l help -d 'display help for command' # ---------- webhook create ---------- complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from create' -s t -l title -d 'Name for the webhook (default: "CLI Webhook")' -x @@ -642,11 +650,20 @@ complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_sub # ---------- webhook requests describe ---------- complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from requests; and __fish_seen_subcommand_from describe' -s w -l workspace -d 'Postman workspace ID (falls back to .postman/resources.yaml or .postman/config.json)' -x complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from requests; and __fish_seen_subcommand_from describe' -l api-key -d 'Postman API key' -r +complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from requests; and __fish_seen_subcommand_from describe' -l verbose -d 'Show script execution logs' complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from requests; and __fish_seen_subcommand_from describe' -s h -l help -d 'display help for command' # ---------- webhook requests replay ---------- complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from requests; and __fish_seen_subcommand_from replay' -s w -l workspace -d 'Postman workspace ID (falls back to .postman/resources.yaml or .postman/config.json)' -x complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from requests; and __fish_seen_subcommand_from replay' -l api-key -d 'Postman API key' -r complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from requests; and __fish_seen_subcommand_from replay' -s h -l help -d 'display help for command' +# ---------- webhook scripts ---------- +complete -c postman -n '__postman_using_subcommand scripts set' -a set -d 'Create or update a webhook script from a JavaScript or TypeScript file.' +complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from scripts' -s h -l help -d 'display help for command' +# ---------- webhook scripts set ---------- +complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from scripts; and __fish_seen_subcommand_from set' -l event -d 'Script event: onEvent or onResponse' -x +complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from scripts; and __fish_seen_subcommand_from set' -s w -l workspace -d 'Postman workspace ID (falls back to .postman/resources.yaml or .postman/config.json)' -x +complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from scripts; and __fish_seen_subcommand_from set' -l api-key -d 'Postman API key' -r +complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from scripts; and __fish_seen_subcommand_from set' -s h -l help -d 'display help for command' # ---------- webhook forward ---------- complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from forward' -s w -l workspace -d 'Postman workspace ID' -x complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from forward' -l api-key -d 'Postman API key' -r diff --git a/completions/zsh/_postman b/completions/zsh/_postman index 3a4f28c..2c54a42 100644 --- a/completions/zsh/_postman +++ b/completions/zsh/_postman @@ -1,6 +1,6 @@ #compdef postman compdef _postman postman -# Zsh completion for Postman CLI (postman v1.48.0) +# Zsh completion for Postman CLI (postman v1.49.0) # Auto-generated by scripts/generate.mjs — DO NOT EDIT # Source: spec/commands.json # https://github.com/yokawasa/postman-cli-completion @@ -525,6 +525,9 @@ _postman_performance_run() { '(-d --duration)'{-d,--duration}'[Duration of the performance test in minutes (default\: 1)]:minutes' \ '(-p --load-profile)'{-p,--load-profile}'[Load profile type\: fixed, ramp-up, spike, peak (default\: "ramp-up")]:profile' \ '--data-file[Path to a JSON or CSV data file to use with the collection]:path:_files -g "*.json"' \ + '--dataset-id[Use a Postman Dataset as iteration data (with --dataset-view-id)]:id' \ + '--dataset-view-id[Dataset view to execute for iteration data (requires --dataset-id)]:id' \ + '--dataset-distribution[How rows map to VUs\: round-robin (default), fixed, random]:strategy' \ '--postman-api-key[API Key used to load the resources from the Postman API (Only supported in the US region, use '\''postman login --region'\'' to authenticate instead)]:apiKey' \ '--pass-if[Pass condition in format\: function(metric, value). Functions\: less_than, greater_than, less_than_eq, greater_than_eq. Metrics\: avg, p90, p95, p99, error_rate, rps. Example\: less_than(p95, 500) or less_than(error_rate, 5)]:condition' \ '(-h --help)'{-h,--help}'[display help for command]' \ @@ -613,8 +616,12 @@ _postman_flows_run() { '(-i --input)'{-i,--input}'[Set flow inputs as key=value pairs (e.g. --input foo=bar --input baz=qux) (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \ '(-f --input-file)'{-f,--input-file}'[Set flow inputs from JSON files (e.g. --input-file ./inputs.json --input-file ./config.json) (default\: \[\])]:path.json:_files -g "*.json"' \ '(-s --scenario)'{-s,--scenario}'[Use a pre-built scenario as flow inputs (by scenario name). Can be combined with --input and --input-file to override values.]:name' \ + '--iteration-data-dataset[\[BETA\] Run the flow once per row of a dataset view. Accepts a local .dataset.yaml path or a cloud dataset id (cloud requires login). Requires --iteration-data-view. Dataset columns feed the flow inputs (see --map-column).]:pathOrId:_files -g "*.(json|csv)"' \ + '--iteration-data-view[\[BETA\] Name or id of the view (within --iteration-data-dataset) whose rows drive the run.]:nameOrId' \ + '(-m --map-column)'{-m,--map-column}'[\[BETA\] Bind a flow input to a dataset column (e.g. -m isActive=active). Repeatable. Inputs whose name matches a column bind automatically. (default\: \[\])]:input=column' \ '(-e --environment)'{-e,--environment}'[Specify a path to a Postman Environment file (JSON or YAML)]:path:_files -g "*.json"' \ '--working-dir[Specify the path to the working directory]:path:_files -/' \ + '--no-insecure-file-read[Prevent reading dataset files situated outside of the working directory (applies to --iteration-data-dataset)]' \ '--verbose[Show detailed information of flow run and each request (method, URL, assertions)]' \ '--no-truncate[Show full output without truncating long values]' \ '--output[Save execution result to a file (supported\: json)]:format' \ @@ -1337,6 +1344,7 @@ _postman_webhook() { delete) _postman_webhook_delete ;; status) _postman_webhook_status ;; requests) _postman_webhook_requests ;; + scripts) _postman_webhook_scripts ;; forward) _postman_webhook_forward ;; esac ;; @@ -1353,6 +1361,7 @@ _postman_webhook_commands() { 'delete:Permanently delete a webhook.' 'status:Show details for a webhook.' 'requests:List, inspect, and replay requests received by a webhook.' + 'scripts:Create or update scripts executed by a webhook.' 'forward:Forward incoming webhook requests to a local port.' ) _describe -t commands 'webhook command' sub @@ -1446,6 +1455,7 @@ _postman_webhook_requests_describe() { _arguments \ '(-w --workspace)'{-w,--workspace}'[Postman workspace ID (falls back to .postman/resources.yaml or .postman/config.json)]:workspaceId' \ '--api-key[Postman API key]:key:_files -g "*.(pem|crt|key)"' \ + '--verbose[Show script execution logs]' \ '(-h --help)'{-h,--help}'[display help for command]' \ '*:requestId:' } @@ -1458,6 +1468,39 @@ _postman_webhook_requests_replay() { '*:requestId:' } +_postman_webhook_scripts() { + local context state state_descr line + typeset -A opt_args + _arguments -C \ + '(-h --help)'{-h,--help}'[display help for command]' \ + '1: :_postman_webhook_scripts_commands' \ + '*::arg:->args' + case $state in + args) + case $words[1] in + set) _postman_webhook_scripts_set ;; + esac + ;; + esac +} + +_postman_webhook_scripts_commands() { + local -a sub + sub=( + 'set:Create or update a webhook script from a JavaScript or TypeScript file.' + ) + _describe -t commands 'scripts command' sub +} + +_postman_webhook_scripts_set() { + _arguments \ + '--event[Script event\: onEvent or onResponse]:event' \ + '(-w --workspace)'{-w,--workspace}'[Postman workspace ID (falls back to .postman/resources.yaml or .postman/config.json)]:workspaceId' \ + '--api-key[Postman API key]:key:_files -g "*.(pem|crt|key)"' \ + '(-h --help)'{-h,--help}'[display help for command]' \ + '*:scriptPath:' +} + _postman_webhook_forward() { _arguments \ '(-w --workspace)'{-w,--workspace}'[Postman workspace ID]:workspaceId' \ diff --git a/spec/commands.json b/spec/commands.json index 2b4afc5..540e703 100644 --- a/spec/commands.json +++ b/spec/commands.json @@ -1,6 +1,6 @@ { - "postmanCliVersion": "1.48.0", - "introspectedAt": "2026-08-21T01:42:19Z", + "postmanCliVersion": "1.49.0", + "introspectedAt": "2026-08-22T01:36:27Z", "global": { "flags": [ { @@ -1136,6 +1136,24 @@ ], "description": "Path to a JSON or CSV data file to use with the collection" }, + { + "long": "--dataset-id", + "valueType": "string", + "valueName": "id", + "description": "Use a Postman Dataset as iteration data (with --dataset-view-id)" + }, + { + "long": "--dataset-view-id", + "valueType": "string", + "valueName": "id", + "description": "Dataset view to execute for iteration data (requires --dataset-id)" + }, + { + "long": "--dataset-distribution", + "valueType": "string", + "valueName": "strategy", + "description": "How rows map to VUs: round-robin (default), fixed, random" + }, { "long": "--postman-api-key", "valueType": "string", @@ -1410,6 +1428,29 @@ "valueName": "name", "description": "Use a pre-built scenario as flow inputs (by scenario name). Can be combined with --input and --input-file to override values." }, + { + "long": "--iteration-data-dataset", + "valueType": "file", + "valueName": "pathOrId", + "patterns": [ + "*.json", + "*.csv" + ], + "description": "[BETA] Run the flow once per row of a dataset view. Accepts a local .dataset.yaml path or a cloud dataset id (cloud requires login). Requires --iteration-data-view. Dataset columns feed the flow inputs (see --map-column)." + }, + { + "long": "--iteration-data-view", + "valueType": "string", + "valueName": "nameOrId", + "description": "[BETA] Name or id of the view (within --iteration-data-dataset) whose rows drive the run." + }, + { + "long": "--map-column", + "short": "-m", + "valueType": "string", + "valueName": "input=column", + "description": "[BETA] Bind a flow input to a dataset column (e.g. -m isActive=active). Repeatable. Inputs whose name matches a column bind automatically. (default: [])" + }, { "long": "--environment", "short": "-e", @@ -1426,6 +1467,10 @@ "valueName": "path", "description": "Specify the path to the working directory" }, + { + "long": "--no-insecure-file-read", + "description": "Prevent reading dataset files situated outside of the working directory (applies to --iteration-data-dataset)" + }, { "long": "--verbose", "description": "Show detailed information of flow run and each request (method, URL, assertions)" @@ -3243,6 +3288,10 @@ ], "description": "Postman API key" }, + { + "long": "--verbose", + "description": "Show script execution logs" + }, { "long": "--help", "short": "-h", @@ -3292,6 +3341,67 @@ } ] }, + { + "name": "scripts", + "aliases": [], + "description": "Create or update scripts executed by a webhook.", + "positionals": [], + "flags": [ + { + "long": "--help", + "short": "-h", + "description": "display help for command" + } + ], + "subcommands": [ + { + "name": "set", + "aliases": [], + "description": "Create or update a webhook script from a JavaScript or TypeScript file.", + "positionals": [ + { + "name": "webhookId", + "valueType": "string" + }, + { + "name": "scriptPath", + "valueType": "string" + } + ], + "flags": [ + { + "long": "--event", + "valueType": "string", + "valueName": "event", + "description": "Script event: onEvent or onResponse" + }, + { + "long": "--workspace", + "short": "-w", + "valueType": "string", + "valueName": "workspaceId", + "description": "Postman workspace ID (falls back to .postman/resources.yaml or .postman/config.json)" + }, + { + "long": "--api-key", + "valueType": "file", + "valueName": "key", + "patterns": [ + "*.pem", + "*.crt", + "*.key" + ], + "description": "Postman API key" + }, + { + "long": "--help", + "short": "-h", + "description": "display help for command" + } + ] + } + ] + }, { "name": "forward", "aliases": [],