postman-cli-completion 1.45.0 → 1.46.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.46.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
|
|
@@ -913,7 +913,7 @@ _postman_search() {
|
|
|
913
913
|
if [[ "$cur" == -* ]]; then
|
|
914
914
|
COMPREPLY=( $(compgen -W "--ownership -n --limit --cursor -o --output --filter --filter-json -h --help" -- "$cur") )
|
|
915
915
|
else
|
|
916
|
-
COMPREPLY=( $(compgen -W "requests collections workspaces flows specs mocks environments" -- "$cur") )
|
|
916
|
+
COMPREPLY=( $(compgen -W "requests collections workspaces flows specs mocks environments documents" -- "$cur") )
|
|
917
917
|
fi
|
|
918
918
|
return 0
|
|
919
919
|
fi
|
|
@@ -925,6 +925,7 @@ _postman_search() {
|
|
|
925
925
|
specs) _postman_search_specs ;;
|
|
926
926
|
mocks) _postman_search_mocks ;;
|
|
927
927
|
environments) _postman_search_environments ;;
|
|
928
|
+
documents) _postman_search_documents ;;
|
|
928
929
|
esac
|
|
929
930
|
}
|
|
930
931
|
|
|
@@ -977,6 +978,13 @@ _postman_search_environments() {
|
|
|
977
978
|
fi
|
|
978
979
|
}
|
|
979
980
|
|
|
981
|
+
_postman_search_documents() {
|
|
982
|
+
if [[ "$cur" == -* ]]; then
|
|
983
|
+
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
984
|
+
return 0
|
|
985
|
+
fi
|
|
986
|
+
}
|
|
987
|
+
|
|
980
988
|
_postman_webhook() {
|
|
981
989
|
if [[ -z "$subcmd" ]]; then
|
|
982
990
|
if [[ "$cur" == -* ]]; then
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Fish completion for Postman CLI (postman v1.
|
|
1
|
+
# Fish completion for Postman CLI (postman v1.46.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
|
|
@@ -112,7 +112,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
112
112
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l cookie-jar -d 'Specify the path to a custom cookie jar (serialized tough-cookie JSON)' -r
|
|
113
113
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l export-cookie-jar -d 'Exports the cookie jar to a file after completing the run' -r
|
|
114
114
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l verbose -d 'Show detailed information of collection run and each request sent'
|
|
115
|
-
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l mock -d 'Start a mock server from manifest (.json) file' -r
|
|
115
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l mock -d 'Start a mock server from manifest (.json, .yaml or .yml) file' -r
|
|
116
116
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l simulate -d 'Start mock servers with fault-injection scenarios from a .sim.yaml file' -r
|
|
117
117
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l report-events -d 'Send run results and analytics to Postman'
|
|
118
118
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
|
|
@@ -216,7 +216,7 @@ complete -c postman -n '__fish_seen_subcommand_from performance' -s h -l help -d
|
|
|
216
216
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s e -l environment -d 'Specify an Id to a Postman Environment' -x
|
|
217
217
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s g -l globals -d 'Specify an Id to a Postman Globals' -x
|
|
218
218
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l vu-count -d 'Number of virtual users (default: 20)' -x
|
|
219
|
-
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:
|
|
219
|
+
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
|
|
220
220
|
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
|
|
221
221
|
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
|
|
222
222
|
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
|
|
@@ -426,7 +426,7 @@ complete -c postman -n '__fish_seen_subcommand_from sdk; and __fish_seen_subcomm
|
|
|
426
426
|
complete -c postman -n '__fish_seen_subcommand_from sdk; and __fish_seen_subcommand_from connections; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
|
|
427
427
|
|
|
428
428
|
# ---------- mock ----------
|
|
429
|
-
complete -c postman -n '__postman_using_subcommand mock run' -a run -d 'Start a local mock server given a manifest file.'
|
|
429
|
+
complete -c postman -n '__postman_using_subcommand mock run' -a run -d 'Start a local mock server given a manifest file (JSON or YAML).'
|
|
430
430
|
complete -c postman -n '__fish_seen_subcommand_from mock' -s h -l help -d 'display help for command'
|
|
431
431
|
# ---------- mock run ----------
|
|
432
432
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s e -l environment -d 'Path to an environment file (JSON or YAML) for pm.environment' -r
|
|
@@ -523,13 +523,14 @@ complete -c postman -n '__fish_seen_subcommand_from context; and __fish_seen_sub
|
|
|
523
523
|
complete -c postman -n '__fish_seen_subcommand_from context; and __fish_seen_subcommand_from environment; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
|
|
524
524
|
|
|
525
525
|
# ---------- search ----------
|
|
526
|
-
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments' -a requests -d 'Search for requests by name or keyword.'
|
|
527
|
-
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments' -a collections -d 'Search for collections by name or keyword.'
|
|
528
|
-
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments' -a workspaces -d 'Search for workspaces by name or keyword.'
|
|
529
|
-
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments' -a flows -d 'Search for flows by name or keyword.'
|
|
530
|
-
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments' -a specs -d 'Search for API specs by name or keyword.'
|
|
531
|
-
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments' -a mocks -d 'Search for mocks by name or keyword.'
|
|
532
|
-
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments' -a environments -d 'Search for environments by name or keyword.'
|
|
526
|
+
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a requests -d 'Search for requests by name or keyword.'
|
|
527
|
+
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a collections -d 'Search for collections by name or keyword.'
|
|
528
|
+
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a workspaces -d 'Search for workspaces by name or keyword.'
|
|
529
|
+
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a flows -d 'Search for flows by name or keyword.'
|
|
530
|
+
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a specs -d 'Search for API specs by name or keyword.'
|
|
531
|
+
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a mocks -d 'Search for mocks by name or keyword.'
|
|
532
|
+
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a environments -d 'Search for environments by name or keyword.'
|
|
533
|
+
complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a documents -d 'Search for documents by name or keyword.'
|
|
533
534
|
complete -c postman -n '__fish_seen_subcommand_from search' -l ownership -d 'Ownership: organization (or org), external, all (default: "organization")' -x
|
|
534
535
|
complete -c postman -n '__fish_seen_subcommand_from search' -s n -l limit -d 'Max results per page. Max allowed limit: 25 (default: 10)' -x
|
|
535
536
|
complete -c postman -n '__fish_seen_subcommand_from search' -l cursor -d 'Cursor for pagination' -x
|
|
@@ -551,6 +552,8 @@ complete -c postman -n '__fish_seen_subcommand_from search; and __fish_seen_subc
|
|
|
551
552
|
complete -c postman -n '__fish_seen_subcommand_from search; and __fish_seen_subcommand_from mocks' -s h -l help -d 'display help for command'
|
|
552
553
|
# ---------- search environments ----------
|
|
553
554
|
complete -c postman -n '__fish_seen_subcommand_from search; and __fish_seen_subcommand_from environments' -s h -l help -d 'display help for command'
|
|
555
|
+
# ---------- search documents ----------
|
|
556
|
+
complete -c postman -n '__fish_seen_subcommand_from search; and __fish_seen_subcommand_from documents' -s h -l help -d 'display help for command'
|
|
554
557
|
|
|
555
558
|
# ---------- webhook ----------
|
|
556
559
|
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.'
|
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.46.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
|
|
@@ -179,7 +179,7 @@ _postman_collection_run() {
|
|
|
179
179
|
'--cookie-jar[Specify the path to a custom cookie jar (serialized tough-cookie JSON)]:path:_files -g "*.json"' \
|
|
180
180
|
'--export-cookie-jar[Exports the cookie jar to a file after completing the run]:path:_files -g "*.json"' \
|
|
181
181
|
'--verbose[Show detailed information of collection run and each request sent]' \
|
|
182
|
-
'--mock[Start a mock server from manifest (.json) file]:path:_files -g "*.json"' \
|
|
182
|
+
'--mock[Start a mock server from manifest (.json, .yaml or .yml) file]:path:_files -g "*.json"' \
|
|
183
183
|
'--simulate[Start mock servers with fault-injection scenarios from a .sim.yaml file]:path:_files -g "*.(sim.yaml|yaml|yml)"' \
|
|
184
184
|
'--report-events[Send run results and analytics to Postman]' \
|
|
185
185
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
@@ -442,7 +442,7 @@ _postman_performance_run() {
|
|
|
442
442
|
'(-e --environment)'{-e,--environment}'[Specify an Id to a Postman Environment]:id' \
|
|
443
443
|
'(-g --globals)'{-g,--globals}'[Specify an Id to a Postman Globals]:id' \
|
|
444
444
|
'--vu-count[Number of virtual users (default\: 20)]:count' \
|
|
445
|
-
'(-d --duration)'{-d,--duration}'[Duration of the performance test in minutes (default\:
|
|
445
|
+
'(-d --duration)'{-d,--duration}'[Duration of the performance test in minutes (default\: 1)]:minutes' \
|
|
446
446
|
'(-p --load-profile)'{-p,--load-profile}'[Load profile type\: fixed, ramp-up, spike, peak (default\: "ramp-up")]:profile' \
|
|
447
447
|
'--data-file[Path to a JSON or CSV data file to use with the collection]:path:_files -g "*.json"' \
|
|
448
448
|
'--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' \
|
|
@@ -802,7 +802,7 @@ _postman_mock() {
|
|
|
802
802
|
_postman_mock_commands() {
|
|
803
803
|
local -a sub
|
|
804
804
|
sub=(
|
|
805
|
-
'run:Start a local mock server given a manifest file.'
|
|
805
|
+
'run:Start a local mock server given a manifest file (JSON or YAML).'
|
|
806
806
|
)
|
|
807
807
|
_describe -t commands 'mock command' sub
|
|
808
808
|
}
|
|
@@ -1155,6 +1155,7 @@ _postman_search() {
|
|
|
1155
1155
|
specs) _postman_search_specs ;;
|
|
1156
1156
|
mocks) _postman_search_mocks ;;
|
|
1157
1157
|
environments) _postman_search_environments ;;
|
|
1158
|
+
documents) _postman_search_documents ;;
|
|
1158
1159
|
esac
|
|
1159
1160
|
;;
|
|
1160
1161
|
esac
|
|
@@ -1170,6 +1171,7 @@ _postman_search_commands() {
|
|
|
1170
1171
|
'specs:Search for API specs by name or keyword.'
|
|
1171
1172
|
'mocks:Search for mocks by name or keyword.'
|
|
1172
1173
|
'environments:Search for environments by name or keyword.'
|
|
1174
|
+
'documents:Search for documents by name or keyword.'
|
|
1173
1175
|
)
|
|
1174
1176
|
_describe -t commands 'search command' sub
|
|
1175
1177
|
}
|
|
@@ -1216,6 +1218,12 @@ _postman_search_environments() {
|
|
|
1216
1218
|
'*:query:'
|
|
1217
1219
|
}
|
|
1218
1220
|
|
|
1221
|
+
_postman_search_documents() {
|
|
1222
|
+
_arguments \
|
|
1223
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1224
|
+
'*:query:'
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1219
1227
|
_postman_webhook() {
|
|
1220
1228
|
local context state state_descr line
|
|
1221
1229
|
typeset -A opt_args
|