postman-cli-completion 1.74.0 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Bash completion for Postman CLI (postman v1.
|
|
1
|
+
# Bash completion for Postman CLI (postman v1.75.0)
|
|
2
2
|
# Auto-generated by scripts/generate.mjs — DO NOT EDIT
|
|
3
3
|
# Source: spec/commands.json
|
|
4
4
|
# https://github.com/yokawasa/postman-cli-completion
|
|
@@ -1219,7 +1219,7 @@ _postman_mock_generate() {
|
|
|
1219
1219
|
|
|
1220
1220
|
_postman_mock_run() {
|
|
1221
1221
|
if [[ "$cur" == -* ]]; then
|
|
1222
|
-
COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --api-key -w --workspace --no-history --output --dataset -h --help" -- "$cur") )
|
|
1222
|
+
COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --api-key -w --workspace --no-history --output --verbose --dataset -h --help" -- "$cur") )
|
|
1223
1223
|
return 0
|
|
1224
1224
|
fi
|
|
1225
1225
|
case "$prev" in
|
|
@@ -1943,7 +1943,7 @@ _postman_workspace() {
|
|
|
1943
1943
|
if [[ "$cur" == -* ]]; then
|
|
1944
1944
|
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
1945
1945
|
else
|
|
1946
|
-
COMPREPLY=( $(compgen -W "list prepare push lint get create delete pull connect-git disconnect-git diff" -- "$cur") )
|
|
1946
|
+
COMPREPLY=( $(compgen -W "list prepare push lint get activity create delete pull connect-git disconnect-git diff" -- "$cur") )
|
|
1947
1947
|
fi
|
|
1948
1948
|
return 0
|
|
1949
1949
|
fi
|
|
@@ -1953,6 +1953,7 @@ _postman_workspace() {
|
|
|
1953
1953
|
push) _postman_workspace_push ;;
|
|
1954
1954
|
lint) _postman_workspace_lint ;;
|
|
1955
1955
|
get) _postman_workspace_get ;;
|
|
1956
|
+
activity) _postman_workspace_activity ;;
|
|
1956
1957
|
create) _postman_workspace_create ;;
|
|
1957
1958
|
delete) _postman_workspace_delete ;;
|
|
1958
1959
|
pull) _postman_workspace_pull ;;
|
|
@@ -2005,6 +2006,15 @@ _postman_workspace_get() {
|
|
|
2005
2006
|
esac
|
|
2006
2007
|
}
|
|
2007
2008
|
|
|
2009
|
+
_postman_workspace_activity() {
|
|
2010
|
+
if [[ "$cur" == -* ]]; then
|
|
2011
|
+
COMPREPLY=( $(compgen -W "--type --contributor --cursor --limit --markdown --json --timeout -h --help" -- "$cur") )
|
|
2012
|
+
return 0
|
|
2013
|
+
fi
|
|
2014
|
+
case "$prev" in
|
|
2015
|
+
esac
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2008
2018
|
_postman_workspace_create() {
|
|
2009
2019
|
if [[ "$cur" == -* ]]; then
|
|
2010
2020
|
COMPREPLY=( $(compgen -W "--visibility --name --summary --team-id --team-role --path --no-connect --force --json -h --help" -- "$cur") )
|
|
@@ -2509,7 +2519,7 @@ _postman_application_init() {
|
|
|
2509
2519
|
|
|
2510
2520
|
_postman_application_test() {
|
|
2511
2521
|
if [[ "$cur" == -* ]]; then
|
|
2512
|
-
COMPREPLY=( $(compgen -W "--target --target-collection --target-environment --command --deployed-version --network-log --capture-only --output --force --report-events --no-report-events --verbose -h --help" -- "$cur") )
|
|
2522
|
+
COMPREPLY=( $(compgen -W "--target --target-collection --target-environment --command --deployed-version --network-log --capture-only --output --force --report-events --no-report-events --generate-collection -y --yes --verbose -h --help" -- "$cur") )
|
|
2513
2523
|
return 0
|
|
2514
2524
|
fi
|
|
2515
2525
|
case "$prev" in
|
|
@@ -2530,7 +2540,7 @@ _postman_application_test() {
|
|
|
2530
2540
|
|
|
2531
2541
|
_postman_application_setup_capture() {
|
|
2532
2542
|
if [[ "$cur" == -* ]]; then
|
|
2533
|
-
COMPREPLY=( $(compgen -W "--config -h --help" -- "$cur") )
|
|
2543
|
+
COMPREPLY=( $(compgen -W "--config -y --yes --dry-run -h --help" -- "$cur") )
|
|
2534
2544
|
return 0
|
|
2535
2545
|
fi
|
|
2536
2546
|
case "$prev" in
|
|
@@ -2791,7 +2801,7 @@ _postman_simulation_get() {
|
|
|
2791
2801
|
|
|
2792
2802
|
_postman_simulation_run() {
|
|
2793
2803
|
if [[ "$cur" == -* ]]; then
|
|
2794
|
-
COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --dataset -w --workspace --simulation --api-key --no-history --output --proxy --proxy-port --scenario --session --log-format --log-body --doctor -h --help" -- "$cur") )
|
|
2804
|
+
COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --dataset -w --workspace --simulation --api-key --no-history --output --verbose --proxy --proxy-port --scenario --session --log-format --log-body --doctor -h --help" -- "$cur") )
|
|
2795
2805
|
return 0
|
|
2796
2806
|
fi
|
|
2797
2807
|
case "$prev" in
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Fish completion for Postman CLI (postman v1.
|
|
1
|
+
# Fish completion for Postman CLI (postman v1.75.0)
|
|
2
2
|
# Auto-generated by scripts/generate.mjs — DO NOT EDIT
|
|
3
3
|
# Source: spec/commands.json
|
|
4
4
|
# https://github.com/yokawasa/postman-cli-completion
|
|
@@ -783,6 +783,7 @@ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcom
|
|
|
783
783
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s w -l workspace -d 'Workspace that owns the run, for recording its start history. Auto-resolved for a Postman cloud id; required to record history for a path.' -x
|
|
784
784
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l no-history -d 'Do not record this run in the mock\'s start history.'
|
|
785
785
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l output -d 'Live output format: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default: "auto")' -x
|
|
786
|
+
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l verbose -d 'Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.'
|
|
786
787
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l dataset -d 'Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to the mock\'s handlers as pm.datasets(<id>). (default: [])' -r
|
|
787
788
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
|
|
788
789
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -r -k -a '(__fish_complete_suffix .json)'
|
|
@@ -1226,17 +1227,18 @@ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcom
|
|
|
1226
1227
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
|
|
1227
1228
|
|
|
1228
1229
|
# ---------- workspace ----------
|
|
1229
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a list -d 'List all available Postman Workspaces'
|
|
1230
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a prepare -d 'Prepare local collections and environments for push by validating and regenerating IDs if needed.'
|
|
1231
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
|
|
1232
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a lint -d 'Lint the current local Postman workspace: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
|
|
1233
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a get -d 'Read a workspace\'s metadata, and optionally the ids of what it holds.'
|
|
1234
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a
|
|
1235
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a
|
|
1236
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a
|
|
1237
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a
|
|
1238
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a
|
|
1239
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a
|
|
1230
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a list -d 'List all available Postman Workspaces'
|
|
1231
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a prepare -d 'Prepare local collections and environments for push by validating and regenerating IDs if needed.'
|
|
1232
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
|
|
1233
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a lint -d 'Lint the current local Postman workspace: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
|
|
1234
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a get -d 'Read a workspace\'s metadata, and optionally the ids of what it holds.'
|
|
1235
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a activity -d 'Read a workspace\'s activity feed.'
|
|
1236
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a create -d 'Create a Postman workspace and bind it to this git repository.'
|
|
1237
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a delete -d 'Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
|
|
1238
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a pull -d 'Pull workspace entities from a Postman workspace into the local git-native folder.'
|
|
1239
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a connect-git -d 'Connect a Postman workspace to a local git repository.'
|
|
1240
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a disconnect-git -d 'Disconnect a Postman workspace from its local git repository.'
|
|
1241
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a diff -d 'Preview local-vs-cloud drift before pushing. Read-only: nothing is created, updated or deleted.'
|
|
1240
1242
|
complete -c postman -n '__fish_seen_subcommand_from workspace' -s h -l help -d 'display help for command'
|
|
1241
1243
|
# ---------- workspace list ----------
|
|
1242
1244
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from list' -s f -l filter -d 'Filter workspaces by name.' -x
|
|
@@ -1271,6 +1273,15 @@ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_s
|
|
|
1271
1273
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -l json -d 'Print the workspace as machine-readable JSON.'
|
|
1272
1274
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
|
|
1273
1275
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
|
|
1276
|
+
# ---------- workspace activity ----------
|
|
1277
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l type -d 'Comma-separated element types to filter on, e.g. "api,collection".' -x
|
|
1278
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l contributor -d 'Comma-separated user ids to filter on.' -x
|
|
1279
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l cursor -d 'Fetch the page of entries that follows this cursor.' -x
|
|
1280
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l limit -d 'Max entries to return.' -x
|
|
1281
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l markdown -d 'Ask the API for a human-readable description of each entry.'
|
|
1282
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l json -d 'Print the feed as machine-readable JSON.'
|
|
1283
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
|
|
1284
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -s h -l help -d 'display help for command'
|
|
1274
1285
|
# ---------- workspace create ----------
|
|
1275
1286
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -l visibility -d 'Required. One of: personal, private, team, public, partner.' -x
|
|
1276
1287
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -l name -d 'Workspace name (defaults to owner/repo from the git remote)' -x
|
|
@@ -1519,10 +1530,14 @@ complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen
|
|
|
1519
1530
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l force -d 'Deprecated: output directory is always overwritten on re-run (used with --capture-only)'
|
|
1520
1531
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l report-events -d 'Dispatch application test run results to the API Catalog and Application Inventory ingestion pipelines (on by default) (default: true)' -x
|
|
1521
1532
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l no-report-events -d 'Do not dispatch run results to the API Catalog and Application Inventory ingestion pipelines'
|
|
1533
|
+
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l generate-collection -d 'Capture traffic and generate a collection with tests from it, then test with it. Saved to postman.config.cjs only when the target lists no collections.'
|
|
1534
|
+
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -s y -l yes -d 'Do not prompt for collection, command, or capture-plugin setup: generate a collection from test traffic when none is configured, run `npx playwright test` when neither --command nor the config sets a command (Playwright projects only), and install/patch the capture plugin. Workspace setup is unchanged and may still prompt in an interactive terminal.'
|
|
1522
1535
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l verbose -d 'Show detailed per-request matching, sandbox errors, and debug information'
|
|
1523
1536
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -s h -l help -d 'display help for command'
|
|
1524
1537
|
# ---------- application setup-capture ----------
|
|
1525
1538
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from setup-capture' -l config -d 'Path to playwright.config.* to patch (default: auto-detect)' -r
|
|
1539
|
+
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from setup-capture' -s y -l yes -d 'Install and patch without asking for confirmation (required outside an interactive terminal)'
|
|
1540
|
+
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from setup-capture' -l dry-run -d 'Show the current capture setup and list what would be installed or patched, without changing files'
|
|
1526
1541
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from setup-capture' -s h -l help -d 'display help for command'
|
|
1527
1542
|
|
|
1528
1543
|
# ---------- dependency ----------
|
|
@@ -1673,6 +1688,7 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
|
|
|
1673
1688
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
|
|
1674
1689
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l no-history -d 'Do not record this run in the simulation\'s start history'
|
|
1675
1690
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l output -d 'Live output format: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default: "auto")' -x
|
|
1691
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l verbose -d 'Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.'
|
|
1676
1692
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy -d 'Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes. Requires a simulation.yaml (routing config), not a .sim.yaml.'
|
|
1677
1693
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy-port -d 'Port for the proxy server. Distinct from --port, which is the one-port run\'s own port. (default: 7001)' -x
|
|
1678
1694
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l scenario -d 'Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. (default: "default")' -x
|
package/completions/zsh/_postman
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#compdef postman
|
|
2
2
|
compdef _postman postman
|
|
3
|
-
# Zsh completion for Postman CLI (postman v1.
|
|
3
|
+
# Zsh completion for Postman CLI (postman v1.75.0)
|
|
4
4
|
# Auto-generated by scripts/generate.mjs — DO NOT EDIT
|
|
5
5
|
# Source: spec/commands.json
|
|
6
6
|
# https://github.com/yokawasa/postman-cli-completion
|
|
@@ -1473,6 +1473,7 @@ _postman_mock_run() {
|
|
|
1473
1473
|
'(-w --workspace)'{-w,--workspace}'[Workspace that owns the run, for recording its start history. Auto-resolved for a Postman cloud id; required to record history for a path.]:id' \
|
|
1474
1474
|
'--no-history[Do not record this run in the mock'\''s start history.]' \
|
|
1475
1475
|
'--output[Live output format\: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default\: "auto")]:format' \
|
|
1476
|
+
'--verbose[Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.]' \
|
|
1476
1477
|
'--dataset[Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to the mock'\''s handlers as pm.datasets(<id>). (default\: \[\])]:pathOrDir:_files -g "*.json"' \
|
|
1477
1478
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1478
1479
|
'*:mockIdOrPath:_files -g "*.json"'
|
|
@@ -2316,6 +2317,7 @@ _postman_workspace() {
|
|
|
2316
2317
|
push) _postman_workspace_push ;;
|
|
2317
2318
|
lint) _postman_workspace_lint ;;
|
|
2318
2319
|
get) _postman_workspace_get ;;
|
|
2320
|
+
activity) _postman_workspace_activity ;;
|
|
2319
2321
|
create) _postman_workspace_create ;;
|
|
2320
2322
|
delete) _postman_workspace_delete ;;
|
|
2321
2323
|
pull) _postman_workspace_pull ;;
|
|
@@ -2335,6 +2337,7 @@ _postman_workspace_commands() {
|
|
|
2335
2337
|
'push:Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
|
|
2336
2338
|
'lint:Lint the current local Postman workspace\: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
|
|
2337
2339
|
'get:Read a workspace'\''s metadata, and optionally the ids of what it holds.'
|
|
2340
|
+
'activity:Read a workspace'\''s activity feed.'
|
|
2338
2341
|
'create:Create a Postman workspace and bind it to this git repository.'
|
|
2339
2342
|
'delete:Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
|
|
2340
2343
|
'pull:Pull workspace entities from a Postman workspace into the local git-native folder.'
|
|
@@ -2394,6 +2397,19 @@ _postman_workspace_get() {
|
|
|
2394
2397
|
'*:id:'
|
|
2395
2398
|
}
|
|
2396
2399
|
|
|
2400
|
+
_postman_workspace_activity() {
|
|
2401
|
+
_arguments \
|
|
2402
|
+
'--type[Comma-separated element types to filter on, e.g. "api,collection".]:types' \
|
|
2403
|
+
'--contributor[Comma-separated user ids to filter on.]:ids' \
|
|
2404
|
+
'--cursor[Fetch the page of entries that follows this cursor.]:cursor' \
|
|
2405
|
+
'--limit[Max entries to return.]:n' \
|
|
2406
|
+
'--markdown[Ask the API for a human-readable description of each entry.]' \
|
|
2407
|
+
'--json[Print the feed as machine-readable JSON.]' \
|
|
2408
|
+
'--timeout[Milliseconds to wait for the API (default 30000).]:ms' \
|
|
2409
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
2410
|
+
'*:id:'
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2397
2413
|
_postman_workspace_create() {
|
|
2398
2414
|
_arguments \
|
|
2399
2415
|
'--visibility[Required. One of\: personal, private, team, public, partner.]:status' \
|
|
@@ -3027,6 +3043,8 @@ _postman_application_test() {
|
|
|
3027
3043
|
'--force[Deprecated\: output directory is always overwritten on re-run (used with --capture-only)]' \
|
|
3028
3044
|
'--report-events[Dispatch application test run results to the API Catalog and Application Inventory ingestion pipelines (on by default) (default\: true)]:boolean' \
|
|
3029
3045
|
'--no-report-events[Do not dispatch run results to the API Catalog and Application Inventory ingestion pipelines]' \
|
|
3046
|
+
'--generate-collection[Capture traffic and generate a collection with tests from it, then test with it. Saved to postman.config.cjs only when the target lists no collections.]' \
|
|
3047
|
+
'(-y --yes)'{-y,--yes}'[Do not prompt for collection, command, or capture-plugin setup\: generate a collection from test traffic when none is configured, run `npx playwright test` when neither --command nor the config sets a command (Playwright projects only), and install/patch the capture plugin. Workspace setup is unchanged and may still prompt in an interactive terminal.]' \
|
|
3030
3048
|
'--verbose[Show detailed per-request matching, sandbox errors, and debug information]' \
|
|
3031
3049
|
'(-h --help)'{-h,--help}'[display help for command]'
|
|
3032
3050
|
}
|
|
@@ -3034,6 +3052,8 @@ _postman_application_test() {
|
|
|
3034
3052
|
_postman_application_setup_capture() {
|
|
3035
3053
|
_arguments \
|
|
3036
3054
|
'--config[Path to playwright.config.* to patch (default\: auto-detect)]:path:_files -g "*.json"' \
|
|
3055
|
+
'(-y --yes)'{-y,--yes}'[Install and patch without asking for confirmation (required outside an interactive terminal)]' \
|
|
3056
|
+
'--dry-run[Show the current capture setup and list what would be installed or patched, without changing files]' \
|
|
3037
3057
|
'(-h --help)'{-h,--help}'[display help for command]'
|
|
3038
3058
|
}
|
|
3039
3059
|
|
|
@@ -3336,6 +3356,7 @@ _postman_simulation_run() {
|
|
|
3336
3356
|
'--api-key[Postman API key (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
|
|
3337
3357
|
'--no-history[Do not record this run in the simulation'\''s start history]' \
|
|
3338
3358
|
'--output[Live output format\: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default\: "auto")]:format' \
|
|
3359
|
+
'--verbose[Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.]' \
|
|
3339
3360
|
'--proxy[Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes. Requires a simulation.yaml (routing config), not a .sim.yaml.]' \
|
|
3340
3361
|
'--proxy-port[Port for the proxy server. Distinct from --port, which is the one-port run'\''s own port. (default\: 7001)]:n' \
|
|
3341
3362
|
'--scenario[Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. (default\: "default")]:name' \
|