@autifyhq/autify-cli 0.67.0 → 0.68.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.
package/README.md CHANGED
@@ -81,7 +81,7 @@ EXAMPLES
81
81
  $ autify connect access-point create --name NAME --web-workspace-id ID
82
82
  ```
83
83
 
84
- _See code: [src/commands/connect/access-point/create.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/connect/access-point/create.ts)_
84
+ _See code: [src/commands/connect/access-point/create.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/connect/access-point/create.ts)_
85
85
 
86
86
  ## `autify connect access-point set`
87
87
 
@@ -107,7 +107,7 @@ EXAMPLES
107
107
  $ autify connect access-point set --name=NAME < key.txt
108
108
  ```
109
109
 
110
- _See code: [src/commands/connect/access-point/set.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/connect/access-point/set.ts)_
110
+ _See code: [src/commands/connect/access-point/set.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/connect/access-point/set.ts)_
111
111
 
112
112
  ## `autify connect client install [VERSION]`
113
113
 
@@ -137,7 +137,7 @@ EXAMPLES
137
137
  $ autify connect client install stable
138
138
  ```
139
139
 
140
- _See code: [src/commands/connect/client/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/connect/client/install.ts)_
140
+ _See code: [src/commands/connect/client/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/connect/client/install.ts)_
141
141
 
142
142
  ## `autify connect client start`
143
143
 
@@ -171,7 +171,7 @@ EXAMPLES
171
171
  $ autify connect client start --web-workspace-id 000
172
172
  ```
173
173
 
174
- _See code: [src/commands/connect/client/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/connect/client/start.ts)_
174
+ _See code: [src/commands/connect/client/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/connect/client/start.ts)_
175
175
 
176
176
  ## `autify help [COMMAND]`
177
177
 
@@ -212,7 +212,7 @@ EXAMPLES
212
212
  $ autify mobile api describe-test-result
213
213
  ```
214
214
 
215
- _See code: [src/commands/mobile/api/describe-test-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/api/describe-test-result.ts)_
215
+ _See code: [src/commands/mobile/api/describe-test-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/api/describe-test-result.ts)_
216
216
 
217
217
  ## `autify mobile api list-test-results`
218
218
 
@@ -236,7 +236,7 @@ EXAMPLES
236
236
  $ autify mobile api list-test-results
237
237
  ```
238
238
 
239
- _See code: [src/commands/mobile/api/list-test-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/api/list-test-results.ts)_
239
+ _See code: [src/commands/mobile/api/list-test-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/api/list-test-results.ts)_
240
240
 
241
241
  ## `autify mobile api run-test-plan`
242
242
 
@@ -258,7 +258,7 @@ EXAMPLES
258
258
  $ autify mobile api run-test-plan
259
259
  ```
260
260
 
261
- _See code: [src/commands/mobile/api/run-test-plan.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/api/run-test-plan.ts)_
261
+ _See code: [src/commands/mobile/api/run-test-plan.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/api/run-test-plan.ts)_
262
262
 
263
263
  ## `autify mobile api upload-build`
264
264
 
@@ -279,7 +279,7 @@ EXAMPLES
279
279
  $ autify mobile api upload-build
280
280
  ```
281
281
 
282
- _See code: [src/commands/mobile/api/upload-build.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/api/upload-build.ts)_
282
+ _See code: [src/commands/mobile/api/upload-build.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/api/upload-build.ts)_
283
283
 
284
284
  ## `autify mobile auth login`
285
285
 
@@ -302,7 +302,7 @@ EXAMPLES
302
302
  $ autify mobile auth login < token.txt
303
303
  ```
304
304
 
305
- _See code: [src/commands/mobile/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/auth/login.ts)_
305
+ _See code: [src/commands/mobile/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/auth/login.ts)_
306
306
 
307
307
  ## `autify mobile build upload BUILD-PATH`
308
308
 
@@ -336,7 +336,7 @@ EXAMPLES
336
336
  $ autify mobile build upload --workspace-id AAA ./my.app --json
337
337
  ```
338
338
 
339
- _See code: [src/commands/mobile/build/upload.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/build/upload.ts)_
339
+ _See code: [src/commands/mobile/build/upload.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/build/upload.ts)_
340
340
 
341
341
  ## `autify mobile link doctor`
342
342
 
@@ -344,7 +344,10 @@ Check MobileLink configuration
344
344
 
345
345
  ```
346
346
  USAGE
347
- $ autify mobile link doctor
347
+ $ autify mobile link doctor [--extra-arguments <value>]
348
+
349
+ FLAGS
350
+ --extra-arguments=<value> Extra args for Autify Connect Client e.g. "--tunnel-proxy http://proxy"
348
351
 
349
352
  DESCRIPTION
350
353
  Check MobileLink configuration
@@ -355,7 +358,7 @@ EXAMPLES
355
358
  $ autify mobile link doctor
356
359
  ```
357
360
 
358
- _See code: [src/commands/mobile/link/doctor.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/link/doctor.ts)_
361
+ _See code: [src/commands/mobile/link/doctor.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/link/doctor.ts)_
359
362
 
360
363
  ## `autify mobile link exec [THINGS]`
361
364
 
@@ -374,7 +377,7 @@ EXAMPLES
374
377
  $ autify mobile link exec ABC XYZ
375
378
  ```
376
379
 
377
- _See code: [src/commands/mobile/link/exec.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/link/exec.ts)_
380
+ _See code: [src/commands/mobile/link/exec.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/link/exec.ts)_
378
381
 
379
382
  ## `autify mobile link install`
380
383
 
@@ -393,7 +396,7 @@ EXAMPLES
393
396
  $ autify mobile link install
394
397
  ```
395
398
 
396
- _See code: [src/commands/mobile/link/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/link/install.ts)_
399
+ _See code: [src/commands/mobile/link/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/link/install.ts)_
397
400
 
398
401
  ## `autify mobile link setup`
399
402
 
@@ -412,7 +415,7 @@ EXAMPLES
412
415
  $ autify mobile link setup
413
416
  ```
414
417
 
415
- _See code: [src/commands/mobile/link/setup.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/link/setup.ts)_
418
+ _See code: [src/commands/mobile/link/setup.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/link/setup.ts)_
416
419
 
417
420
  ## `autify mobile link start [WORKSPACEID]`
418
421
 
@@ -420,11 +423,14 @@ Start MobileLink session
420
423
 
421
424
  ```
422
425
  USAGE
423
- $ autify mobile link start [WORKSPACEID...]
426
+ $ autify mobile link start [WORKSPACEID...] [--extra-arguments <value>]
424
427
 
425
428
  ARGUMENTS
426
429
  [WORKSPACEID...] Specify the target version of Autify Connect Client.
427
430
 
431
+ FLAGS
432
+ --extra-arguments=<value> Extra args for Autify Connect Client e.g. "--tunnel-proxy http://proxy"
433
+
428
434
  DESCRIPTION
429
435
  Start MobileLink session
430
436
 
@@ -434,7 +440,7 @@ EXAMPLES
434
440
  $ autify mobile link start ABC XYZ
435
441
  ```
436
442
 
437
- _See code: [src/commands/mobile/link/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/link/start.ts)_
443
+ _See code: [src/commands/mobile/link/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/link/start.ts)_
438
444
 
439
445
  ## `autify mobile test run TEST-PLAN-URL`
440
446
 
@@ -475,7 +481,7 @@ EXAMPLES
475
481
  --timeout 600
476
482
  ```
477
483
 
478
- _See code: [src/commands/mobile/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/test/run.ts)_
484
+ _See code: [src/commands/mobile/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/test/run.ts)_
479
485
 
480
486
  ## `autify mobile test wait TEST-RESULT-URL`
481
487
 
@@ -499,7 +505,7 @@ EXAMPLES
499
505
  $ autify mobile test wait https://mobile-app.autify.com/projects/AAA/results/BBB
500
506
  ```
501
507
 
502
- _See code: [src/commands/mobile/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/mobile/test/wait.ts)_
508
+ _See code: [src/commands/mobile/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/mobile/test/wait.ts)_
503
509
 
504
510
  ## `autify update [CHANNEL]`
505
511
 
@@ -560,7 +566,7 @@ EXAMPLES
560
566
  $ autify web api create-access-point
561
567
  ```
562
568
 
563
- _See code: [src/commands/web/api/create-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/create-access-point.ts)_
569
+ _See code: [src/commands/web/api/create-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/create-access-point.ts)_
564
570
 
565
571
  ## `autify web api create-test-plan-variable`
566
572
 
@@ -583,7 +589,7 @@ EXAMPLES
583
589
  $ autify web api create-test-plan-variable
584
590
  ```
585
591
 
586
- _See code: [src/commands/web/api/create-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/create-test-plan-variable.ts)_
592
+ _See code: [src/commands/web/api/create-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/create-test-plan-variable.ts)_
587
593
 
588
594
  ## `autify web api create-url-replacement`
589
595
 
@@ -606,7 +612,7 @@ EXAMPLES
606
612
  $ autify web api create-url-replacement
607
613
  ```
608
614
 
609
- _See code: [src/commands/web/api/create-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/create-url-replacement.ts)_
615
+ _See code: [src/commands/web/api/create-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/create-url-replacement.ts)_
610
616
 
611
617
  ## `autify web api delete-access-point`
612
618
 
@@ -629,7 +635,7 @@ EXAMPLES
629
635
  $ autify web api delete-access-point
630
636
  ```
631
637
 
632
- _See code: [src/commands/web/api/delete-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/delete-access-point.ts)_
638
+ _See code: [src/commands/web/api/delete-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/delete-access-point.ts)_
633
639
 
634
640
  ## `autify web api delete-test-plan-variable`
635
641
 
@@ -651,7 +657,7 @@ EXAMPLES
651
657
  $ autify web api delete-test-plan-variable
652
658
  ```
653
659
 
654
- _See code: [src/commands/web/api/delete-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/delete-test-plan-variable.ts)_
660
+ _See code: [src/commands/web/api/delete-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/delete-test-plan-variable.ts)_
655
661
 
656
662
  ## `autify web api delete-url-replacement`
657
663
 
@@ -673,7 +679,7 @@ EXAMPLES
673
679
  $ autify web api delete-url-replacement
674
680
  ```
675
681
 
676
- _See code: [src/commands/web/api/delete-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/delete-url-replacement.ts)_
682
+ _See code: [src/commands/web/api/delete-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/delete-url-replacement.ts)_
677
683
 
678
684
  ## `autify web api describe-result`
679
685
 
@@ -695,7 +701,7 @@ EXAMPLES
695
701
  $ autify web api describe-result
696
702
  ```
697
703
 
698
- _See code: [src/commands/web/api/describe-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/describe-result.ts)_
704
+ _See code: [src/commands/web/api/describe-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/describe-result.ts)_
699
705
 
700
706
  ## `autify web api describe-scenario`
701
707
 
@@ -716,7 +722,7 @@ EXAMPLES
716
722
  $ autify web api describe-scenario
717
723
  ```
718
724
 
719
- _See code: [src/commands/web/api/describe-scenario.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/describe-scenario.ts)_
725
+ _See code: [src/commands/web/api/describe-scenario.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/describe-scenario.ts)_
720
726
 
721
727
  ## `autify web api execute-scenarios`
722
728
 
@@ -744,7 +750,7 @@ EXAMPLES
744
750
  $ autify web api execute-scenarios
745
751
  ```
746
752
 
747
- _See code: [src/commands/web/api/execute-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/execute-scenarios.ts)_
753
+ _See code: [src/commands/web/api/execute-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/execute-scenarios.ts)_
748
754
 
749
755
  ## `autify web api execute-schedule`
750
756
 
@@ -767,7 +773,7 @@ EXAMPLES
767
773
  $ autify web api execute-schedule
768
774
  ```
769
775
 
770
- _See code: [src/commands/web/api/execute-schedule.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/execute-schedule.ts)_
776
+ _See code: [src/commands/web/api/execute-schedule.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/execute-schedule.ts)_
771
777
 
772
778
  ## `autify web api get-credit-usage`
773
779
 
@@ -799,7 +805,7 @@ EXAMPLES
799
805
  $ autify web api get-credit-usage
800
806
  ```
801
807
 
802
- _See code: [src/commands/web/api/get-credit-usage.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/get-credit-usage.ts)_
808
+ _See code: [src/commands/web/api/get-credit-usage.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/get-credit-usage.ts)_
803
809
 
804
810
  ## `autify web api get-project-info`
805
811
 
@@ -819,7 +825,7 @@ EXAMPLES
819
825
  $ autify web api get-project-info
820
826
  ```
821
827
 
822
- _See code: [src/commands/web/api/get-project-info.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/get-project-info.ts)_
828
+ _See code: [src/commands/web/api/get-project-info.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/get-project-info.ts)_
823
829
 
824
830
  ## `autify web api list-access-points`
825
831
 
@@ -840,7 +846,7 @@ EXAMPLES
840
846
  $ autify web api list-access-points
841
847
  ```
842
848
 
843
- _See code: [src/commands/web/api/list-access-points.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/list-access-points.ts)_
849
+ _See code: [src/commands/web/api/list-access-points.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/list-access-points.ts)_
844
850
 
845
851
  ## `autify web api list-capabilities`
846
852
 
@@ -867,7 +873,7 @@ EXAMPLES
867
873
  $ autify web api list-capabilities
868
874
  ```
869
875
 
870
- _See code: [src/commands/web/api/list-capabilities.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/list-capabilities.ts)_
876
+ _See code: [src/commands/web/api/list-capabilities.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/list-capabilities.ts)_
871
877
 
872
878
  ## `autify web api list-results`
873
879
 
@@ -890,7 +896,7 @@ EXAMPLES
890
896
  $ autify web api list-results
891
897
  ```
892
898
 
893
- _See code: [src/commands/web/api/list-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/list-results.ts)_
899
+ _See code: [src/commands/web/api/list-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/list-results.ts)_
894
900
 
895
901
  ## `autify web api list-scenarios`
896
902
 
@@ -911,7 +917,7 @@ EXAMPLES
911
917
  $ autify web api list-scenarios
912
918
  ```
913
919
 
914
- _See code: [src/commands/web/api/list-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/list-scenarios.ts)_
920
+ _See code: [src/commands/web/api/list-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/list-scenarios.ts)_
915
921
 
916
922
  ## `autify web api list-test-plan-variable`
917
923
 
@@ -932,7 +938,7 @@ EXAMPLES
932
938
  $ autify web api list-test-plan-variable
933
939
  ```
934
940
 
935
- _See code: [src/commands/web/api/list-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/list-test-plan-variable.ts)_
941
+ _See code: [src/commands/web/api/list-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/list-test-plan-variable.ts)_
936
942
 
937
943
  ## `autify web api list-url-replacements`
938
944
 
@@ -953,7 +959,7 @@ EXAMPLES
953
959
  $ autify web api list-url-replacements
954
960
  ```
955
961
 
956
- _See code: [src/commands/web/api/list-url-replacements.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/list-url-replacements.ts)_
962
+ _See code: [src/commands/web/api/list-url-replacements.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/list-url-replacements.ts)_
957
963
 
958
964
  ## `autify web api update-test-plan-variable`
959
965
 
@@ -979,7 +985,7 @@ EXAMPLES
979
985
  $ autify web api update-test-plan-variable
980
986
  ```
981
987
 
982
- _See code: [src/commands/web/api/update-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/update-test-plan-variable.ts)_
988
+ _See code: [src/commands/web/api/update-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/update-test-plan-variable.ts)_
983
989
 
984
990
  ## `autify web api update-url-replacement`
985
991
 
@@ -1005,7 +1011,7 @@ EXAMPLES
1005
1011
  $ autify web api update-url-replacement
1006
1012
  ```
1007
1013
 
1008
- _See code: [src/commands/web/api/update-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/api/update-url-replacement.ts)_
1014
+ _See code: [src/commands/web/api/update-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/api/update-url-replacement.ts)_
1009
1015
 
1010
1016
  ## `autify web auth login`
1011
1017
 
@@ -1028,7 +1034,7 @@ EXAMPLES
1028
1034
  $ autify web auth login < token.txt
1029
1035
  ```
1030
1036
 
1031
- _See code: [src/commands/web/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/auth/login.ts)_
1037
+ _See code: [src/commands/web/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/auth/login.ts)_
1032
1038
 
1033
1039
  ## `autify web test run SCENARIO-OR-TEST-PLAN-URL`
1034
1040
 
@@ -1109,7 +1115,7 @@ EXAMPLES
1109
1115
  $ autify web test run https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client
1110
1116
  ```
1111
1117
 
1112
- _See code: [src/commands/web/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/test/run.ts)_
1118
+ _See code: [src/commands/web/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/test/run.ts)_
1113
1119
 
1114
1120
  ## `autify web test wait TEST-RESULT-URL`
1115
1121
 
@@ -1133,5 +1139,5 @@ EXAMPLES
1133
1139
  $ autify web test wait https://app.autify.com/projects/0000/results/0000
1134
1140
  ```
1135
1141
 
1136
- _See code: [src/commands/web/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.67.0/src/commands/web/test/wait.ts)_
1142
+ _See code: [src/commands/web/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.68.0/src/commands/web/test/wait.ts)_
1137
1143
  <!-- commandsstop -->
@@ -7,9 +7,25 @@
7
7
  * 2. System proxy settings (Windows registry, macOS networksetup, etc.)
8
8
  */
9
9
  export declare function getProxyUrl(): Promise<string | null>;
10
+ export type ProxyFromExtraArgs = {
11
+ tunnelProxyUrl?: string;
12
+ rejectUnauthorized?: boolean;
13
+ };
14
+ /**
15
+ * Parse --tunnel-proxy and --experimental-no-ssl-verify from extra-arguments.
16
+ * Matches mobilelink's parseExtraArguments for consistency.
17
+ */
18
+ export declare function parseProxyFromExtraArguments(extraArguments: string | undefined): ProxyFromExtraArgs;
19
+ export type InitializeProxyOptions = {
20
+ id?: string;
21
+ argv?: string[];
22
+ };
10
23
  /**
11
24
  * Initialize global proxy dispatcher for all fetch requests
12
25
  * This should be called once at the start of any operation that uses fetch
13
26
  * After calling this, all fetch() calls will automatically use the configured proxy
27
+ *
28
+ * For mobile link commands, also reads --extra-arguments for --tunnel-proxy and
29
+ * --experimental-no-ssl-verify (highest priority when present).
14
30
  */
15
- export declare function initializeProxy(): Promise<void>;
31
+ export declare function initializeProxy(options?: InitializeProxyOptions): Promise<void>;
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getProxyUrl = getProxyUrl;
4
+ exports.parseProxyFromExtraArguments = parseProxyFromExtraArguments;
4
5
  exports.initializeProxy = initializeProxy;
5
6
  /* eslint-disable unicorn/filename-case */
7
+ const shell_quote_1 = require("shell-quote");
6
8
  const os_proxy_config_1 = require("os-proxy-config");
7
9
  const undici_1 = require("undici");
8
10
  /**
@@ -31,20 +33,83 @@ async function getProxyUrl() {
31
33
  }
32
34
  return null;
33
35
  }
36
+ /**
37
+ * Parse --tunnel-proxy and --experimental-no-ssl-verify from extra-arguments.
38
+ * Matches mobilelink's parseExtraArguments for consistency.
39
+ */
40
+ function parseProxyFromExtraArguments(extraArguments) {
41
+ const out = {};
42
+ if (!(extraArguments === null || extraArguments === void 0 ? void 0 : extraArguments.trim()))
43
+ return out;
44
+ const parsed = (0, shell_quote_1.parse)(extraArguments).filter((entry) => typeof entry === "string");
45
+ for (let i = 0; i < parsed.length;) {
46
+ if (parsed[i] === "--tunnel-proxy" && i + 1 < parsed.length) {
47
+ out.tunnelProxyUrl = parsed[i + 1];
48
+ i += 2;
49
+ }
50
+ else if (parsed[i] === "--experimental-no-ssl-verify") {
51
+ out.rejectUnauthorized = false;
52
+ i += 1;
53
+ }
54
+ else {
55
+ i += 1;
56
+ }
57
+ }
58
+ return out;
59
+ }
60
+ /**
61
+ * Extract --extra-arguments value from argv (for mobile link commands).
62
+ */
63
+ function getExtraArgumentsFromArgv(argv) {
64
+ for (let i = 0; i < argv.length; i++) {
65
+ const arg = argv[i];
66
+ if (arg === "--extra-arguments" && i + 1 < argv.length) {
67
+ return argv[i + 1];
68
+ }
69
+ if (arg.startsWith("--extra-arguments=")) {
70
+ return arg.slice("--extra-arguments=".length);
71
+ }
72
+ }
73
+ return undefined;
74
+ }
75
+ function isMobileLinkCommand(id) {
76
+ return id.includes("mobile") && id.includes("link");
77
+ }
34
78
  // Track if proxy dispatcher has been initialized
35
79
  let proxyInitialized = false;
36
80
  /**
37
81
  * Initialize global proxy dispatcher for all fetch requests
38
82
  * This should be called once at the start of any operation that uses fetch
39
83
  * After calling this, all fetch() calls will automatically use the configured proxy
84
+ *
85
+ * For mobile link commands, also reads --extra-arguments for --tunnel-proxy and
86
+ * --experimental-no-ssl-verify (highest priority when present).
40
87
  */
41
- async function initializeProxy() {
88
+ async function initializeProxy(options) {
42
89
  if (proxyInitialized) {
43
90
  return;
44
91
  }
45
- const proxyUrl = await getProxyUrl();
92
+ let proxyUrl = null;
93
+ let rejectUnauthorized;
94
+ if ((options === null || options === void 0 ? void 0 : options.id) && isMobileLinkCommand(options.id) && options.argv) {
95
+ const extraArgs = getExtraArgumentsFromArgv(options.argv);
96
+ const { tunnelProxyUrl, rejectUnauthorized: ru } = parseProxyFromExtraArguments(extraArgs);
97
+ if (tunnelProxyUrl)
98
+ proxyUrl = tunnelProxyUrl;
99
+ if (ru === false)
100
+ rejectUnauthorized = false;
101
+ }
102
+ if (!proxyUrl) {
103
+ proxyUrl = await getProxyUrl();
104
+ }
46
105
  if (proxyUrl) {
47
- (0, undici_1.setGlobalDispatcher)(new undici_1.ProxyAgent(proxyUrl));
106
+ const agentOptions = {
107
+ uri: proxyUrl,
108
+ };
109
+ if (rejectUnauthorized === false) {
110
+ agentOptions.requestTls = { rejectUnauthorized: false };
111
+ }
112
+ (0, undici_1.setGlobalDispatcher)(new undici_1.ProxyAgent(agentOptions));
48
113
  }
49
114
  proxyInitialized = true;
50
115
  }
@@ -17,6 +17,7 @@ export declare class StateMachineTimeoutError extends Errors.CLIError {
17
17
  type MobileLinkManagerOptions = Readonly<{
18
18
  configDir: string;
19
19
  cacheDir: string;
20
+ extraArguments?: string;
20
21
  }>;
21
22
  export declare class MobileLinkManager {
22
23
  private readonly options;
@@ -41,7 +41,11 @@ class MobileLinkManager {
41
41
  this.exec(["link", "setup"], this.integrationVariables);
42
42
  }
43
43
  async doctor() {
44
- this.exec(["link", "doctor"], this.integrationVariables);
44
+ const argv = ["link", "doctor"];
45
+ if (this.options.extraArguments) {
46
+ argv.push("--extra-arguments", this.options.extraArguments);
47
+ }
48
+ this.exec(argv, this.integrationVariables);
45
49
  }
46
50
  async onceReady() {
47
51
  this.logger.debug("onceReady");
@@ -138,6 +142,9 @@ class MobileLinkManager {
138
142
  const argv = ["link", "start"];
139
143
  if (workspaceId)
140
144
  argv.push(workspaceId);
145
+ if (this.options.extraArguments) {
146
+ argv.push("--extra-arguments", this.options.extraArguments);
147
+ }
141
148
  this.spawn(argv, this.integrationVariables, false);
142
149
  if (this.childProcess) {
143
150
  this.childProcess.on("exit", (code, signal) => {
@@ -2,5 +2,8 @@ import { Command } from "@oclif/core";
2
2
  export default class MobileLinkDoctor extends Command {
3
3
  static description: string;
4
4
  static examples: string[];
5
+ static flags: {
6
+ "extra-arguments": import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
7
+ };
5
8
  run(): Promise<void>;
6
9
  }
@@ -4,10 +4,12 @@ const core_1 = require("@oclif/core");
4
4
  const MobileLinkManager_1 = require("../../../autify/mobile/mobilelink/mobile-link-manager/MobileLinkManager");
5
5
  class MobileLinkDoctor extends core_1.Command {
6
6
  async run() {
7
+ const { flags } = await this.parse(MobileLinkDoctor);
7
8
  const { configDir, cacheDir } = this.config;
8
9
  const mobileLinkManager = new MobileLinkManager_1.MobileLinkManager({
9
10
  configDir,
10
11
  cacheDir,
12
+ extraArguments: flags["extra-arguments"],
11
13
  });
12
14
  await mobileLinkManager.doctor();
13
15
  }
@@ -16,4 +18,9 @@ MobileLinkDoctor.description = "Check MobileLink configuration";
16
18
  MobileLinkDoctor.examples = [
17
19
  "Check MobileLink configuration:\n<%= config.bin %> <%= command.id %>",
18
20
  ];
21
+ MobileLinkDoctor.flags = {
22
+ "extra-arguments": core_1.Flags.string({
23
+ description: 'Extra args for Autify Connect Client e.g. "--tunnel-proxy http://proxy"',
24
+ }),
25
+ };
19
26
  exports.default = MobileLinkDoctor;
@@ -2,7 +2,9 @@ import { Command } from "@oclif/core";
2
2
  export default class MobileLinkStart extends Command {
3
3
  static description: string;
4
4
  static examples: string[];
5
- static flags: {};
5
+ static flags: {
6
+ "extra-arguments": import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
7
+ };
6
8
  static args: {
7
9
  workspaceId: import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
8
10
  };
@@ -5,11 +5,12 @@ const MobileLinkManager_1 = require("../../../autify/mobile/mobilelink/mobile-li
5
5
  class MobileLinkStart extends core_1.Command {
6
6
  async run() {
7
7
  var _a;
8
- const { args } = await this.parse(MobileLinkStart);
8
+ const { args, flags } = await this.parse(MobileLinkStart);
9
9
  const { configDir, cacheDir } = this.config;
10
10
  const mobileLinkManager = new MobileLinkManager_1.MobileLinkManager({
11
11
  configDir,
12
12
  cacheDir,
13
+ extraArguments: flags["extra-arguments"],
13
14
  });
14
15
  this.log("Starting MobileLink...");
15
16
  await mobileLinkManager.start(args.workspaceId);
@@ -27,7 +28,11 @@ MobileLinkStart.description = "Start MobileLink session";
27
28
  MobileLinkStart.examples = [
28
29
  "Pass subcommand arguments to mobilelink:\n<%= config.bin %> <%= command.id %> ABC XYZ",
29
30
  ];
30
- MobileLinkStart.flags = {};
31
+ MobileLinkStart.flags = {
32
+ "extra-arguments": core_1.Flags.string({
33
+ description: 'Extra args for Autify Connect Client e.g. "--tunnel-proxy http://proxy"',
34
+ }),
35
+ };
31
36
  MobileLinkStart.args = {
32
37
  workspaceId: core_1.Args.string({
33
38
  description: "Specify the target version of Autify Connect Client.",
@@ -5,6 +5,9 @@ import { Hook } from "@oclif/core";
5
5
  * This ensures that any command using fetch() will automatically respect
6
6
  * HTTP_PROXY/HTTPS_PROXY environment variables and system proxy settings.
7
7
  *
8
+ * For mobile link commands, also reads --extra-arguments for --tunnel-proxy
9
+ * and --experimental-no-ssl-verify (highest priority when present).
10
+ *
8
11
  * The initialization is idempotent and lightweight - it only checks proxy
9
12
  * configuration once per command invocation.
10
13
  */
@@ -7,10 +7,16 @@ const getProxySettings_1 = require("../../autify/getProxySettings");
7
7
  * This ensures that any command using fetch() will automatically respect
8
8
  * HTTP_PROXY/HTTPS_PROXY environment variables and system proxy settings.
9
9
  *
10
+ * For mobile link commands, also reads --extra-arguments for --tunnel-proxy
11
+ * and --experimental-no-ssl-verify (highest priority when present).
12
+ *
10
13
  * The initialization is idempotent and lightweight - it only checks proxy
11
14
  * configuration once per command invocation.
12
15
  */
13
- const hook = async function () {
14
- await (0, getProxySettings_1.initializeProxy)();
16
+ const hook = async function (options) {
17
+ await (0, getProxySettings_1.initializeProxy)({
18
+ id: options.id,
19
+ argv: options.argv,
20
+ });
15
21
  };
16
22
  exports.default = hook;
@@ -436,7 +436,15 @@
436
436
  "examples": [
437
437
  "Check MobileLink configuration:\n<%= config.bin %> <%= command.id %>"
438
438
  ],
439
- "flags": {},
439
+ "flags": {
440
+ "extra-arguments": {
441
+ "description": "Extra args for Autify Connect Client e.g. \"--tunnel-proxy http://proxy\"",
442
+ "name": "extra-arguments",
443
+ "hasDynamicHelp": false,
444
+ "multiple": false,
445
+ "type": "option"
446
+ }
447
+ },
440
448
  "hasDynamicHelp": false,
441
449
  "hiddenAliases": [],
442
450
  "id": "mobile:link:doctor",
@@ -545,7 +553,15 @@
545
553
  "examples": [
546
554
  "Pass subcommand arguments to mobilelink:\n<%= config.bin %> <%= command.id %> ABC XYZ"
547
555
  ],
548
- "flags": {},
556
+ "flags": {
557
+ "extra-arguments": {
558
+ "description": "Extra args for Autify Connect Client e.g. \"--tunnel-proxy http://proxy\"",
559
+ "name": "extra-arguments",
560
+ "hasDynamicHelp": false,
561
+ "multiple": false,
562
+ "type": "option"
563
+ }
564
+ },
549
565
  "hasDynamicHelp": false,
550
566
  "hiddenAliases": [],
551
567
  "id": "mobile:link:start",
@@ -703,6 +719,32 @@
703
719
  "wait.js"
704
720
  ]
705
721
  },
722
+ "web:auth:login": {
723
+ "aliases": [],
724
+ "args": {},
725
+ "description": "Login to Autify for Web",
726
+ "examples": [
727
+ "Start interactive setup:\n<%= config.bin %> <%= command.id %>",
728
+ "Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
729
+ ],
730
+ "flags": {},
731
+ "hasDynamicHelp": false,
732
+ "hiddenAliases": [],
733
+ "id": "web:auth:login",
734
+ "pluginAlias": "@autifyhq/autify-cli",
735
+ "pluginName": "@autifyhq/autify-cli",
736
+ "pluginType": "core",
737
+ "strict": true,
738
+ "enableJsonFlag": false,
739
+ "isESM": false,
740
+ "relativePath": [
741
+ "dist",
742
+ "commands",
743
+ "web",
744
+ "auth",
745
+ "login.js"
746
+ ]
747
+ },
706
748
  "web:api:create-access-point": {
707
749
  "aliases": [],
708
750
  "args": {},
@@ -1623,32 +1665,6 @@
1623
1665
  "update-url-replacement.js"
1624
1666
  ]
1625
1667
  },
1626
- "web:auth:login": {
1627
- "aliases": [],
1628
- "args": {},
1629
- "description": "Login to Autify for Web",
1630
- "examples": [
1631
- "Start interactive setup:\n<%= config.bin %> <%= command.id %>",
1632
- "Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
1633
- ],
1634
- "flags": {},
1635
- "hasDynamicHelp": false,
1636
- "hiddenAliases": [],
1637
- "id": "web:auth:login",
1638
- "pluginAlias": "@autifyhq/autify-cli",
1639
- "pluginName": "@autifyhq/autify-cli",
1640
- "pluginType": "core",
1641
- "strict": true,
1642
- "enableJsonFlag": false,
1643
- "isESM": false,
1644
- "relativePath": [
1645
- "dist",
1646
- "commands",
1647
- "web",
1648
- "auth",
1649
- "login.js"
1650
- ]
1651
- },
1652
1668
  "web:test:run": {
1653
1669
  "aliases": [],
1654
1670
  "args": {
@@ -1879,5 +1895,5 @@
1879
1895
  ]
1880
1896
  }
1881
1897
  },
1882
- "version": "0.67.0"
1898
+ "version": "0.68.0"
1883
1899
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autifyhq/autify-cli",
3
- "version": "0.67.0",
3
+ "version": "0.68.0",
4
4
  "description": "Autify Command Line Interface (CLI)",
5
5
  "author": "Autify",
6
6
  "bin": {