postman-cli 1.31.3 → 1.33.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.
Files changed (2) hide show
  1. package/man/postman.1 +295 -16
  2. package/package.json +6 -6
package/man/postman.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH POSTMAN 1 "2026-03-01" "v1.31.3" "Postman CLI Manual"
1
+ .TH POSTMAN 1 "2026-03-12" "v1.33.0" "Postman CLI Manual"
2
2
  .SH NAME
3
3
  postman \- Command\-line companion utility for Postman
4
4
  .SH SYNOPSIS
@@ -60,9 +60,23 @@ Run and test your Postman collections directly from the command line.
60
60
 
61
61
  .B Subcommands:
62
62
  .TP
63
+ .B collection migrate
64
+ Migrate a v2.1 collection to the v3 format
65
+ .TP
63
66
  .B collection run
64
67
  Initiate a Postman collection run from a given ID or path.
65
68
 
69
+ .SS "collection migrate"
70
+ Migrate a v2.1 collection to the v3 format
71
+
72
+ .B Usage:
73
+ [options] <path>
74
+
75
+ .B Options:
76
+ .TP
77
+ .B \-o, \-\-output <dir>
78
+ Output directory (default: ./<collection\-name>)
79
+
66
80
  .SS "collection run"
67
81
  Initiate a Postman collection run from a given ID or path.
68
82
 
@@ -147,9 +161,6 @@ Prevents Postman CLI from showing output to CLI
147
161
  .B \-\-disable\-unicode
148
162
  Forces Unicode compliant symbols to be replaced by their plain text equivalents
149
163
  .TP
150
- .B \-\-color <value>
151
- Enable/Disable colored output (auto|on|off) (default: auto)
152
- .TP
153
164
  .B \-\-delay\-request [n]
154
165
  Specify the extent of delay between requests (milliseconds) (default: 0)
155
166
  .TP
@@ -490,44 +501,312 @@ Examples:
490
501
 
491
502
 
492
503
  .SS "flows"
493
- Run Postman Flows from the command line.
504
+ Manage and interact with flows.
494
505
 
495
506
  .B Usage:
496
507
  [options] [command]
497
508
 
498
509
  .B Subcommands:
499
510
  .TP
511
+ .B flows list
512
+ List all flows
513
+ .TP
514
+ .B flows trigger
515
+ Trigger a deployed flow
516
+ .TP
517
+ .B flows deploy
518
+ Deploy a flow (required to trigger it)
519
+ .TP
500
520
  .B flows run
501
- Run a single flow by local path (e.g. ./path/to/flow.postman_flow.json)
521
+ Run a single flow from a file (e.g. ./path/to/flow.json)
522
+ .TP
523
+ .B flows update
524
+ Update settings for a deployed flow
525
+ .TP
526
+ .B flows list-runs
527
+ List run history for a deployed flow
528
+ .TP
529
+ .B flows get-run
530
+ Analyze a specific flow run
502
531
 
503
- .SS "flows run"
504
- Run a single flow by local path (e.g. ./path/to/flow.postman_flow.json)
532
+ .SS "flows list"
533
+ List all flows
505
534
 
506
535
  .B Usage:
507
- <path> [options]
536
+ [options]
508
537
 
509
538
  .B Options:
510
539
  .TP
511
- .B \-x, \-\-suppress\-exit\-code
512
- Specify whether or not to override the default exit code for the current run
540
+ .B \-w, \-\-workspace <workspaceId>
541
+ Specify the workspace ID to list flows from
542
+ .TP
543
+ .B \-p, \-\-paginate
544
+ Paginates the list of flows
545
+ .TP
546
+ .B \-f, \-\-filter <pattern>
547
+ Filter flows by name. Pattern may be a regex, or a name prefix.
548
+ .TP
549
+ .B \-s, \-\-sort <criteria>
550
+ Sort flows by criteria: "name" or "updated" (default: updated) (default: updated)
513
551
  .TP
514
552
  .B \-\-verbose
515
- Show detailed information of flow run and each request (method, URL, assertions)
553
+ Verbose output
554
+ .TP
555
+ .B \-\-debug
556
+ Debug output
557
+ .TP
558
+ .B \-\-json
559
+ JSON output
560
+
561
+ .TP Examples:
562
+
563
+ Examples:
564
+ postman flows list \-\-workspace 12345\-67890\-abcdef
565
+ postman flows list \-\-workspace 12345\-67890\-abcdef \-\-filter "My"
566
+ postman flows list \-\-workspace 12345\-67890\-abcdef \-\-filter "^Test.*" \-\-paginate
567
+ postman flows list \-\-workspace 12345\-67890\-abcdef \-\-sort name
568
+ postman flows list \-\-workspace 12345\-67890\-abcdef \-\-sort updated \-\-filter "API"
569
+
570
+
571
+
572
+ .SS "flows trigger"
573
+ Trigger a deployed flow
574
+
575
+ .B Usage:
576
+ <flowId> [options]
577
+
578
+ .B Options:
579
+ .TP
580
+ .B \-i, \-\-input <key=value>
581
+ Set key=value pairs in the trigger payload (e.g. \-\-input foo=bar \-\-input baz=qux) (default: )
516
582
  .TP
517
- .B \-\-input <key=value>
583
+ .B \-f, \-\-input\-file <path.json>
584
+ Set payload values from JSON files (e.g. \-\-input\-file ./inputs.json \-\-input\-file ./config.json) (default: )
585
+ .TP
586
+ .B \-q, \-\-query <key=value>
587
+ Set query parameters as key=value pairs (e.g. \-\-query foo=bar \-\-query baz=qux) (default: )
588
+ .TP
589
+ .B \-\-headers <key=value>
590
+ Set custom headers as key=value pairs (e.g. \-\-headers X\-API\-Key=12345 \-\-headers User\-Agent=MyApp) (default: )
591
+ .TP
592
+ .B \-n, \-\-dry\-run
593
+ Show the flow requestURL and payload that would be sent without making the actual request (default: false)
594
+ .TP
595
+ .B \-\-show\-secrets
596
+ Show actual authentication tokens in dry\-run output (otherwise secrets are masked) (default: false)
597
+ .TP
598
+ .B \-r, \-\-result
599
+ Show only the response body (default: false)
600
+ .TP
601
+ .B \-\-verbose
602
+ Verbose output
603
+ .TP
604
+ .B \-\-debug
605
+ Debug output
606
+ .TP
607
+ .B \-\-json
608
+ JSON output
609
+
610
+ .TP Examples:
611
+
612
+ Examples:
613
+ postman flows trigger 12345\-67890\-abcdef
614
+ postman flows trigger 12345\-67890\-abcdef \-i name=John \-i age=30
615
+ postman flows trigger 12345\-67890\-abcdef \-\-input\-file ./inputs.json
616
+ postman flows trigger 12345\-67890\-abcdef \-f ./inputs.json \-i override=value
617
+ postman flows trigger 12345\-67890\-abcdef \-\-headers X\-API\-Key=12345 \-\-headers User\-Agent=MyApp
618
+ postman flows trigger 12345\-67890\-abcdef \-\-query version=v2 \-q debug=true
619
+ postman flows trigger 12345\-67890\-abcdef \-\-result
620
+ postman flows trigger 12345\-67890\-abcdef \-\-dry\-run
621
+ postman flows trigger 12345\-67890\-abcdef \-\-dry\-run \-\-show\-secrets
622
+
623
+
624
+
625
+ .SS "flows deploy"
626
+ Deploy a flow (required to trigger it)
627
+
628
+ .B Usage:
629
+ <flowId> [options]
630
+
631
+ .B Options:
632
+ .TP
633
+ .B \-p, \-\-path <path>
634
+ Specify the URL path for the trigger
635
+ .TP
636
+ .B \-t, \-\-timeout <timeout>
637
+ Specify the HTTP session timeout (5000ms to 60000ms) (default: 10000ms)
638
+ .TP
639
+ .B \-a, \-\-auth
640
+ Enable authentication for the trigger (default: false)
641
+ .TP
642
+ .B \-\-verbose
643
+ Verbose output
644
+ .TP
645
+ .B \-\-debug
646
+ Debug output
647
+ .TP
648
+ .B \-\-json
649
+ JSON output
650
+
651
+ .TP Examples:
652
+
653
+ Examples:
654
+ postman flows deploy 12345\-67890\-abcdef \-\-path /my\-trigger
655
+ postman flows deploy 12345\-67890\-abcdef \-\-path /my\-trigger \-\-auth
656
+ postman flows deploy 12345\-67890\-abcdef \-\-path /my\-trigger \-\-timeout 5000ms
657
+
658
+
659
+
660
+ .SS "flows run"
661
+ Run a single flow from a file (e.g. ./path/to/flow.json)
662
+
663
+ .B Usage:
664
+ <path> [options]
665
+
666
+ .B Options:
667
+ .TP
668
+ .B \-i, \-\-input <key=value>
518
669
  Set flow inputs as key=value pairs (e.g. \-\-input foo=bar \-\-input baz=qux) (default: )
519
670
  .TP
520
- .B \-\-input\-file <path.json>
671
+ .B \-f, \-\-input\-file <path.json>
521
672
  Set flow inputs from JSON files (e.g. \-\-input\-file ./inputs.json \-\-input\-file ./config.json) (default: )
522
673
  .TP
523
- .B \-\-scenario <name>
674
+ .B \-s, \-\-scenario <name>
524
675
  Use a pre\-built scenario as flow inputs (by scenario name). Can be combined with \-\-input and \-\-input\-file to override values.
525
676
  .TP
677
+ .B \-e, \-\-environment <path>
678
+ Specify a path to a Postman Environment file (JSON or YAML)
679
+ .TP
526
680
  .B \-\-working\-dir <path>
527
681
  Specify the path to the working directory
682
+ .TP
683
+ .B \-\-verbose
684
+ Show detailed information of flow run and each request (method, URL, assertions)
685
+ .TP
686
+ .B \-x, \-\-suppress\-exit\-code
687
+ Specify whether or not to override the default exit code for the current run
688
+ .TP
689
+ .B \-\-verbose
690
+ Verbose output
691
+ .TP
692
+ .B \-\-debug
693
+ Debug output
694
+ .TP
695
+ .B \-\-json
696
+ JSON output
697
+
698
+ .TP Examples:
699
+
700
+ Example:
701
+ postman flows run ./path/to/flow.json
702
+ postman flows run ./path/to/flow.json \-i name=John \-i age=30
703
+ postman flows run ./path/to/flow.json \-\-input\-file ./inputs.json
704
+ postman flows run ./path/to/flow.json \-\-scenario production \-\-verbose
705
+
706
+
707
+
708
+ .SS "flows update"
709
+ Update settings for a deployed flow
710
+
711
+ .B Usage:
712
+ <flowId> [options]
713
+
714
+ .B Options:
715
+ .TP
716
+ .B \-t, \-\-trigger <on|off>
717
+ Enable or disable the flow trigger
718
+ .TP
719
+ .B \-a, \-\-auth <on|off>
720
+ Enable or disable authentication for the flow trigger
721
+ .TP
722
+ .B \-\-verbose
723
+ Verbose output
724
+ .TP
725
+ .B \-\-debug
726
+ Debug output
727
+ .TP
728
+ .B \-\-json
729
+ JSON output
730
+
731
+ .TP Examples:
732
+
733
+ Examples:
734
+ postman flows update 12345\-67890\-abcdef \-\-trigger on
735
+ postman flows update 12345\-67890\-abcdef \-\-trigger off
736
+ postman flows update 12345\-67890\-abcdef \-\-auth on
737
+ postman flows update 12345\-67890\-abcdef \-\-auth off
738
+
739
+
740
+
741
+ .SS "flows list\-runs"
742
+ List run history for a deployed flow
743
+
744
+ .B Usage:
745
+ [options]
746
+
747
+ .B Options:
748
+ .TP
749
+ .B \-w, \-\-workspace <workspaceId>
750
+ Specify the workspace ID
751
+ .TP
752
+ .B \-f, \-\-flow <flowId>
753
+ Filter sessions by flow ID
754
+ .TP
755
+ .B \-r, \-\-range <range>
756
+ Time range to list runs (e.g. 30m, 2h, 3d) (default: 1h)
757
+ .TP
758
+ .B \-\-verbose
759
+ Verbose output
760
+ .TP
761
+ .B \-\-debug
762
+ Debug output
763
+ .TP
764
+ .B \-\-json
765
+ JSON output
528
766
 
529
767
  .TP Examples:
530
- Eg. postman flows run ./path/to/flow.postman_flow.json
768
+
769
+ Examples:
770
+ postman flows list\-runs \-\-workspace 12345\-67890\-abcdef
771
+ postman flows list\-runs \-\-workspace 12345\-67890\-abcdef \-\-flow <flowId>
772
+ postman flows list\-runs \-\-workspace 12345\-67890\-abcdef \-\-range 30m
773
+ postman flows list\-runs \-\-workspace 12345\-67890\-abcdef \-\-range 3d
774
+
775
+
776
+
777
+ .SS "flows get\-run"
778
+ Analyze a specific flow run
779
+
780
+ .B Usage:
781
+ [options]
782
+
783
+ .B Options:
784
+ .TP
785
+ .B \-r, \-\-run\-id <runId>
786
+ Specify the run ID to analyze
787
+ .TP
788
+ .B \-l, \-\-logs
789
+ Show detailed event log (default: false)
790
+ .TP
791
+ .B \-\-filter <blockId>
792
+ Filter event log by block ID prefix (can be specified multiple times) (default: )
793
+ .TP
794
+ .B \-\-verbose
795
+ Verbose output
796
+ .TP
797
+ .B \-\-debug
798
+ Debug output
799
+ .TP
800
+ .B \-\-json
801
+ JSON output
802
+
803
+ .TP Examples:
804
+
805
+ Examples:
806
+ postman flows get\-run \-\-run\-id session\-abc123
807
+ postman flows get\-run \-\-run\-id session\-abc123 \-\-logs
808
+ postman flows get\-run \-\-run\-id session\-abc123 \-\-logs \-\-filter blockId1
809
+
531
810
 
532
811
 
533
812
  .SS "request"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli",
3
- "version": "1.31.3",
3
+ "version": "1.33.0",
4
4
  "description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
5
5
  "keywords": [
6
6
  "postman",
@@ -58,10 +58,10 @@
58
58
  "man/"
59
59
  ],
60
60
  "optionalDependencies": {
61
- "@postman/pm-bin-macos-arm64": "1.31.3",
62
- "@postman/pm-bin-macos-x64": "1.31.3",
63
- "@postman/pm-bin-linux-x64": "1.31.3",
64
- "@postman/pm-bin-linux-arm64": "1.31.3",
65
- "@postman/pm-bin-windows-x64": "1.31.3"
61
+ "@postman/pm-bin-macos-arm64": "1.33.0",
62
+ "@postman/pm-bin-macos-x64": "1.33.0",
63
+ "@postman/pm-bin-linux-x64": "1.33.0",
64
+ "@postman/pm-bin-linux-arm64": "1.33.0",
65
+ "@postman/pm-bin-windows-x64": "1.33.0"
66
66
  }
67
67
  }