postman-cli-completion 1.43.0 → 1.44.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.43.0)
1
+ # Bash completion for Postman CLI (postman v1.44.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
@@ -344,31 +344,17 @@ _postman_workspace() {
344
344
 
345
345
  _postman_workspace_prepare() {
346
346
  if [[ "$cur" == -* ]]; then
347
- COMPREPLY=( $(compgen -W "--collections-dir --environments-dir --verbose -h --help" -- "$cur") )
347
+ COMPREPLY=( $(compgen -W "--verbose -h --help" -- "$cur") )
348
348
  return 0
349
349
  fi
350
- case "$prev" in
351
- --collections-dir)
352
- COMPREPLY=( $(compgen -d -- "$cur") )
353
- return 0 ;;
354
- --environments-dir)
355
- COMPREPLY=( $(compgen -d -- "$cur") )
356
- return 0 ;;
357
- esac
358
350
  }
359
351
 
360
352
  _postman_workspace_push() {
361
353
  if [[ "$cur" == -* ]]; then
362
- COMPREPLY=( $(compgen -W "--collections-dir --environments-dir --no-prepare -y --yes --verbose --report-events -h --help" -- "$cur") )
354
+ COMPREPLY=( $(compgen -W "--no-prepare -y --yes --push-strategy --verbose --report-events -h --help" -- "$cur") )
363
355
  return 0
364
356
  fi
365
357
  case "$prev" in
366
- --collections-dir)
367
- COMPREPLY=( $(compgen -d -- "$cur") )
368
- return 0 ;;
369
- --environments-dir)
370
- COMPREPLY=( $(compgen -d -- "$cur") )
371
- return 0 ;;
372
358
  esac
373
359
  }
374
360
 
@@ -1,4 +1,4 @@
1
- # Fish completion for Postman CLI (postman v1.43.0)
1
+ # Fish completion for Postman CLI (postman v1.44.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
@@ -187,18 +187,15 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
187
187
 
188
188
  # ---------- workspace ----------
189
189
  complete -c postman -n '__postman_using_subcommand workspace prepare push' -a prepare -d 'Prepare local collections and environments for push by validating and regenerating IDs if needed.'
190
- complete -c postman -n '__postman_using_subcommand workspace prepare push' -a push -d 'Push local collection, environment, specification, mock, and simulation changes to Postman workspace.'
190
+ complete -c postman -n '__postman_using_subcommand workspace prepare push' -a push -d 'Push local workspace entities (collections, environments, specifications, and more) to Postman workspace.'
191
191
  complete -c postman -n '__fish_seen_subcommand_from workspace' -s h -l help -d 'display help for command'
192
192
  # ---------- workspace prepare ----------
193
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from prepare' -l collections-dir -d 'Path to the collections directory (default: "postman/collections")' -x
194
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from prepare' -l environments-dir -d 'Path to the environments directory (default: "postman/environments")' -x
195
193
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from prepare' -l verbose -d 'Show detailed logging'
196
194
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from prepare' -s h -l help -d 'display help for command'
197
195
  # ---------- workspace push ----------
198
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l collections-dir -d 'Path to the collections directory (default: "postman/collections")' -x
199
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l environments-dir -d 'Path to the environments directory (default: "postman/environments")' -x
200
196
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l no-prepare -d 'Skip ID validation and auto-fix before pushing'
201
197
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -s y -l yes -d 'Skip all confirmation prompts'
198
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l push-strategy -d 'Push strategy. "force-sync": mirror the whole workspace — also DELETE cloud entities that have no local counterpart (destructive). Defaults to "default" (create/update only).' -x
202
199
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l verbose -d 'Show detailed logging'
203
200
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l report-events -d 'Send workspace push events to Postman'
204
201
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -s h -l help -d 'display help for command'
@@ -1,6 +1,6 @@
1
1
  #compdef postman
2
2
  compdef _postman postman
3
- # Zsh completion for Postman CLI (postman v1.43.0)
3
+ # Zsh completion for Postman CLI (postman v1.44.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
@@ -379,25 +379,22 @@ _postman_workspace_commands() {
379
379
  local -a sub
380
380
  sub=(
381
381
  'prepare:Prepare local collections and environments for push by validating and regenerating IDs if needed.'
382
- 'push:Push local collection, environment, specification, mock, and simulation changes to Postman workspace.'
382
+ 'push:Push local workspace entities (collections, environments, specifications, and more) to Postman workspace.'
383
383
  )
384
384
  _describe -t commands 'workspace command' sub
385
385
  }
386
386
 
387
387
  _postman_workspace_prepare() {
388
388
  _arguments \
389
- '--collections-dir[Path to the collections directory (default\: "postman/collections")]:path:_files -/' \
390
- '--environments-dir[Path to the environments directory (default\: "postman/environments")]:path:_files -/' \
391
389
  '--verbose[Show detailed logging]' \
392
390
  '(-h --help)'{-h,--help}'[display help for command]'
393
391
  }
394
392
 
395
393
  _postman_workspace_push() {
396
394
  _arguments \
397
- '--collections-dir[Path to the collections directory (default\: "postman/collections")]:path:_files -/' \
398
- '--environments-dir[Path to the environments directory (default\: "postman/environments")]:path:_files -/' \
399
395
  '--no-prepare[Skip ID validation and auto-fix before pushing]' \
400
396
  '(-y --yes)'{-y,--yes}'[Skip all confirmation prompts]' \
397
+ '--push-strategy[Push strategy. "force-sync"\: mirror the whole workspace — also DELETE cloud entities that have no local counterpart (destructive). Defaults to "default" (create/update only).]:strategy' \
401
398
  '--verbose[Show detailed logging]' \
402
399
  '--report-events[Send workspace push events to Postman]' \
403
400
  '(-h --help)'{-h,--help}'[display help for command]'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli-completion",
3
- "version": "1.43.0",
3
+ "version": "1.44.0",
4
4
  "description": "Shell completions for the Postman CLI (zsh, bash, fish)",
5
5
  "type": "module",
6
6
  "bin": {