forest-cli 5.27.0 → 5.27.1
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/dist/commands/layout/apply.d.ts.map +1 -1
- package/dist/commands/layout/apply.js +7 -2
- package/dist/commands/start.d.ts +2 -0
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +33 -14
- package/dist/services/exit-code-error.d.ts +5 -0
- package/dist/services/exit-code-error.d.ts.map +1 -0
- package/dist/services/exit-code-error.js +11 -0
- package/dist/services/layout/failed-part.d.ts +4 -0
- package/dist/services/layout/failed-part.d.ts.map +1 -0
- package/dist/services/layout/failed-part.js +13 -0
- package/dist/services/process-runner.d.ts +3 -1
- package/dist/services/process-runner.d.ts.map +1 -1
- package/dist/services/process-runner.js +26 -8
- package/oclif.manifest.json +314 -314
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -523,194 +523,6 @@
|
|
|
523
523
|
"user.js"
|
|
524
524
|
]
|
|
525
525
|
},
|
|
526
|
-
"layout:apply": {
|
|
527
|
-
"aliases": [],
|
|
528
|
-
"args": {
|
|
529
|
-
"file": {
|
|
530
|
-
"description": "Layout file to apply (e.g. forest-layout.json).",
|
|
531
|
-
"name": "file",
|
|
532
|
-
"required": true
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"description": "Apply a forest-layout.json to an environment (pushes JSON-Patch changes).",
|
|
536
|
-
"flags": {
|
|
537
|
-
"env": {
|
|
538
|
-
"char": "e",
|
|
539
|
-
"description": "Environment to apply to (name or id). Prompted if omitted.",
|
|
540
|
-
"name": "env",
|
|
541
|
-
"hasDynamicHelp": false,
|
|
542
|
-
"multiple": false,
|
|
543
|
-
"type": "option"
|
|
544
|
-
},
|
|
545
|
-
"team": {
|
|
546
|
-
"char": "t",
|
|
547
|
-
"description": "Team to apply to (name or id). Prompted if omitted.",
|
|
548
|
-
"name": "team",
|
|
549
|
-
"hasDynamicHelp": false,
|
|
550
|
-
"multiple": false,
|
|
551
|
-
"type": "option"
|
|
552
|
-
},
|
|
553
|
-
"projectId": {
|
|
554
|
-
"char": "p",
|
|
555
|
-
"description": "Id of the project (resolved/prompted when omitted).",
|
|
556
|
-
"name": "projectId",
|
|
557
|
-
"hasDynamicHelp": false,
|
|
558
|
-
"multiple": false,
|
|
559
|
-
"type": "option"
|
|
560
|
-
},
|
|
561
|
-
"force": {
|
|
562
|
-
"char": "f",
|
|
563
|
-
"description": "Skip the confirmation prompt.",
|
|
564
|
-
"name": "force",
|
|
565
|
-
"allowNo": false,
|
|
566
|
-
"type": "boolean"
|
|
567
|
-
},
|
|
568
|
-
"with-workflows": {
|
|
569
|
-
"description": "Also upload workflow BPMN sidecars (workflows/<id>.bpmn) to the target env — the round-trip counterpart of `pull --with-workflows`.",
|
|
570
|
-
"name": "with-workflows",
|
|
571
|
-
"allowNo": false,
|
|
572
|
-
"type": "boolean"
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
"hasDynamicHelp": false,
|
|
576
|
-
"hiddenAliases": [],
|
|
577
|
-
"id": "layout:apply",
|
|
578
|
-
"pluginAlias": "forest-cli",
|
|
579
|
-
"pluginName": "forest-cli",
|
|
580
|
-
"pluginType": "core",
|
|
581
|
-
"strict": true,
|
|
582
|
-
"isESM": false,
|
|
583
|
-
"relativePath": [
|
|
584
|
-
"dist",
|
|
585
|
-
"commands",
|
|
586
|
-
"layout",
|
|
587
|
-
"apply.js"
|
|
588
|
-
]
|
|
589
|
-
},
|
|
590
|
-
"layout:patch": {
|
|
591
|
-
"aliases": [],
|
|
592
|
-
"args": {
|
|
593
|
-
"file": {
|
|
594
|
-
"description": "JSON patch file to apply. Use \"-\" or omit to read from stdin.",
|
|
595
|
-
"name": "file",
|
|
596
|
-
"required": false
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
"description": "Patch the layout directly (single PATCH per domain, like the front — no pull/apply).",
|
|
600
|
-
"flags": {
|
|
601
|
-
"dry-run": {
|
|
602
|
-
"description": "Print operations without sending them.",
|
|
603
|
-
"name": "dry-run",
|
|
604
|
-
"allowNo": false,
|
|
605
|
-
"type": "boolean"
|
|
606
|
-
},
|
|
607
|
-
"env": {
|
|
608
|
-
"char": "e",
|
|
609
|
-
"description": "Environment name or id.",
|
|
610
|
-
"name": "env",
|
|
611
|
-
"hasDynamicHelp": false,
|
|
612
|
-
"multiple": false,
|
|
613
|
-
"type": "option"
|
|
614
|
-
},
|
|
615
|
-
"force": {
|
|
616
|
-
"char": "f",
|
|
617
|
-
"description": "Skip the confirmation prompt (required when reading from stdin).",
|
|
618
|
-
"name": "force",
|
|
619
|
-
"allowNo": false,
|
|
620
|
-
"type": "boolean"
|
|
621
|
-
},
|
|
622
|
-
"projectId": {
|
|
623
|
-
"char": "p",
|
|
624
|
-
"description": "Project id.",
|
|
625
|
-
"name": "projectId",
|
|
626
|
-
"hasDynamicHelp": false,
|
|
627
|
-
"multiple": false,
|
|
628
|
-
"type": "option"
|
|
629
|
-
},
|
|
630
|
-
"team": {
|
|
631
|
-
"char": "t",
|
|
632
|
-
"description": "Team name or id.",
|
|
633
|
-
"name": "team",
|
|
634
|
-
"hasDynamicHelp": false,
|
|
635
|
-
"multiple": false,
|
|
636
|
-
"type": "option"
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
"hasDynamicHelp": false,
|
|
640
|
-
"hiddenAliases": [],
|
|
641
|
-
"id": "layout:patch",
|
|
642
|
-
"pluginAlias": "forest-cli",
|
|
643
|
-
"pluginName": "forest-cli",
|
|
644
|
-
"pluginType": "core",
|
|
645
|
-
"strict": true,
|
|
646
|
-
"isESM": false,
|
|
647
|
-
"relativePath": [
|
|
648
|
-
"dist",
|
|
649
|
-
"commands",
|
|
650
|
-
"layout",
|
|
651
|
-
"patch.js"
|
|
652
|
-
]
|
|
653
|
-
},
|
|
654
|
-
"layout:pull": {
|
|
655
|
-
"aliases": [],
|
|
656
|
-
"args": {},
|
|
657
|
-
"description": "Pull the layout (rendering) of an environment into a forest-layout.json file.",
|
|
658
|
-
"flags": {
|
|
659
|
-
"env": {
|
|
660
|
-
"char": "e",
|
|
661
|
-
"description": "Environment to pull from (name or id). Prompted if omitted.",
|
|
662
|
-
"name": "env",
|
|
663
|
-
"hasDynamicHelp": false,
|
|
664
|
-
"multiple": false,
|
|
665
|
-
"type": "option"
|
|
666
|
-
},
|
|
667
|
-
"team": {
|
|
668
|
-
"char": "t",
|
|
669
|
-
"description": "Team whose layout to pull (name or id). Prompted if omitted.",
|
|
670
|
-
"name": "team",
|
|
671
|
-
"hasDynamicHelp": false,
|
|
672
|
-
"multiple": false,
|
|
673
|
-
"type": "option"
|
|
674
|
-
},
|
|
675
|
-
"projectId": {
|
|
676
|
-
"char": "p",
|
|
677
|
-
"description": "Id of the project (resolved automatically when you only have one).",
|
|
678
|
-
"name": "projectId",
|
|
679
|
-
"hasDynamicHelp": false,
|
|
680
|
-
"multiple": false,
|
|
681
|
-
"type": "option"
|
|
682
|
-
},
|
|
683
|
-
"out": {
|
|
684
|
-
"char": "o",
|
|
685
|
-
"description": "Output file path (default: forest-layout.json).",
|
|
686
|
-
"name": "out",
|
|
687
|
-
"default": "forest-layout.json",
|
|
688
|
-
"hasDynamicHelp": false,
|
|
689
|
-
"multiple": false,
|
|
690
|
-
"type": "option"
|
|
691
|
-
},
|
|
692
|
-
"with-workflows": {
|
|
693
|
-
"description": "Also download each workflow's BPMN into sidecar files (workflows/<id>.bpmn) for round-trip.",
|
|
694
|
-
"name": "with-workflows",
|
|
695
|
-
"allowNo": false,
|
|
696
|
-
"type": "boolean"
|
|
697
|
-
}
|
|
698
|
-
},
|
|
699
|
-
"hasDynamicHelp": false,
|
|
700
|
-
"hiddenAliases": [],
|
|
701
|
-
"id": "layout:pull",
|
|
702
|
-
"pluginAlias": "forest-cli",
|
|
703
|
-
"pluginName": "forest-cli",
|
|
704
|
-
"pluginType": "core",
|
|
705
|
-
"strict": true,
|
|
706
|
-
"isESM": false,
|
|
707
|
-
"relativePath": [
|
|
708
|
-
"dist",
|
|
709
|
-
"commands",
|
|
710
|
-
"layout",
|
|
711
|
-
"pull.js"
|
|
712
|
-
]
|
|
713
|
-
},
|
|
714
526
|
"environments:create": {
|
|
715
527
|
"aliases": [],
|
|
716
528
|
"args": {},
|
|
@@ -921,28 +733,216 @@
|
|
|
921
733
|
"multiple": false,
|
|
922
734
|
"type": "option"
|
|
923
735
|
},
|
|
924
|
-
"name": {
|
|
925
|
-
"char": "n",
|
|
926
|
-
"description": "To update the environment name.",
|
|
927
|
-
"name": "name",
|
|
928
|
-
"required": false,
|
|
736
|
+
"name": {
|
|
737
|
+
"char": "n",
|
|
738
|
+
"description": "To update the environment name.",
|
|
739
|
+
"name": "name",
|
|
740
|
+
"required": false,
|
|
741
|
+
"hasDynamicHelp": false,
|
|
742
|
+
"multiple": false,
|
|
743
|
+
"type": "option"
|
|
744
|
+
},
|
|
745
|
+
"url": {
|
|
746
|
+
"char": "u",
|
|
747
|
+
"description": "To update the application URL.",
|
|
748
|
+
"name": "url",
|
|
749
|
+
"required": false,
|
|
750
|
+
"hasDynamicHelp": false,
|
|
751
|
+
"multiple": false,
|
|
752
|
+
"type": "option"
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
"hasDynamicHelp": false,
|
|
756
|
+
"hiddenAliases": [],
|
|
757
|
+
"id": "environments:update",
|
|
758
|
+
"pluginAlias": "forest-cli",
|
|
759
|
+
"pluginName": "forest-cli",
|
|
760
|
+
"pluginType": "core",
|
|
761
|
+
"strict": true,
|
|
762
|
+
"isESM": false,
|
|
763
|
+
"relativePath": [
|
|
764
|
+
"dist",
|
|
765
|
+
"commands",
|
|
766
|
+
"environments",
|
|
767
|
+
"update.js"
|
|
768
|
+
]
|
|
769
|
+
},
|
|
770
|
+
"layout:apply": {
|
|
771
|
+
"aliases": [],
|
|
772
|
+
"args": {
|
|
773
|
+
"file": {
|
|
774
|
+
"description": "Layout file to apply (e.g. forest-layout.json).",
|
|
775
|
+
"name": "file",
|
|
776
|
+
"required": true
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"description": "Apply a forest-layout.json to an environment (pushes JSON-Patch changes).",
|
|
780
|
+
"flags": {
|
|
781
|
+
"env": {
|
|
782
|
+
"char": "e",
|
|
783
|
+
"description": "Environment to apply to (name or id). Prompted if omitted.",
|
|
784
|
+
"name": "env",
|
|
785
|
+
"hasDynamicHelp": false,
|
|
786
|
+
"multiple": false,
|
|
787
|
+
"type": "option"
|
|
788
|
+
},
|
|
789
|
+
"team": {
|
|
790
|
+
"char": "t",
|
|
791
|
+
"description": "Team to apply to (name or id). Prompted if omitted.",
|
|
792
|
+
"name": "team",
|
|
793
|
+
"hasDynamicHelp": false,
|
|
794
|
+
"multiple": false,
|
|
795
|
+
"type": "option"
|
|
796
|
+
},
|
|
797
|
+
"projectId": {
|
|
798
|
+
"char": "p",
|
|
799
|
+
"description": "Id of the project (resolved/prompted when omitted).",
|
|
800
|
+
"name": "projectId",
|
|
801
|
+
"hasDynamicHelp": false,
|
|
802
|
+
"multiple": false,
|
|
803
|
+
"type": "option"
|
|
804
|
+
},
|
|
805
|
+
"force": {
|
|
806
|
+
"char": "f",
|
|
807
|
+
"description": "Skip the confirmation prompt.",
|
|
808
|
+
"name": "force",
|
|
809
|
+
"allowNo": false,
|
|
810
|
+
"type": "boolean"
|
|
811
|
+
},
|
|
812
|
+
"with-workflows": {
|
|
813
|
+
"description": "Also upload workflow BPMN sidecars (workflows/<id>.bpmn) to the target env — the round-trip counterpart of `pull --with-workflows`.",
|
|
814
|
+
"name": "with-workflows",
|
|
815
|
+
"allowNo": false,
|
|
816
|
+
"type": "boolean"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"hasDynamicHelp": false,
|
|
820
|
+
"hiddenAliases": [],
|
|
821
|
+
"id": "layout:apply",
|
|
822
|
+
"pluginAlias": "forest-cli",
|
|
823
|
+
"pluginName": "forest-cli",
|
|
824
|
+
"pluginType": "core",
|
|
825
|
+
"strict": true,
|
|
826
|
+
"isESM": false,
|
|
827
|
+
"relativePath": [
|
|
828
|
+
"dist",
|
|
829
|
+
"commands",
|
|
830
|
+
"layout",
|
|
831
|
+
"apply.js"
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
"layout:patch": {
|
|
835
|
+
"aliases": [],
|
|
836
|
+
"args": {
|
|
837
|
+
"file": {
|
|
838
|
+
"description": "JSON patch file to apply. Use \"-\" or omit to read from stdin.",
|
|
839
|
+
"name": "file",
|
|
840
|
+
"required": false
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
"description": "Patch the layout directly (single PATCH per domain, like the front — no pull/apply).",
|
|
844
|
+
"flags": {
|
|
845
|
+
"dry-run": {
|
|
846
|
+
"description": "Print operations without sending them.",
|
|
847
|
+
"name": "dry-run",
|
|
848
|
+
"allowNo": false,
|
|
849
|
+
"type": "boolean"
|
|
850
|
+
},
|
|
851
|
+
"env": {
|
|
852
|
+
"char": "e",
|
|
853
|
+
"description": "Environment name or id.",
|
|
854
|
+
"name": "env",
|
|
855
|
+
"hasDynamicHelp": false,
|
|
856
|
+
"multiple": false,
|
|
857
|
+
"type": "option"
|
|
858
|
+
},
|
|
859
|
+
"force": {
|
|
860
|
+
"char": "f",
|
|
861
|
+
"description": "Skip the confirmation prompt (required when reading from stdin).",
|
|
862
|
+
"name": "force",
|
|
863
|
+
"allowNo": false,
|
|
864
|
+
"type": "boolean"
|
|
865
|
+
},
|
|
866
|
+
"projectId": {
|
|
867
|
+
"char": "p",
|
|
868
|
+
"description": "Project id.",
|
|
869
|
+
"name": "projectId",
|
|
870
|
+
"hasDynamicHelp": false,
|
|
871
|
+
"multiple": false,
|
|
872
|
+
"type": "option"
|
|
873
|
+
},
|
|
874
|
+
"team": {
|
|
875
|
+
"char": "t",
|
|
876
|
+
"description": "Team name or id.",
|
|
877
|
+
"name": "team",
|
|
878
|
+
"hasDynamicHelp": false,
|
|
879
|
+
"multiple": false,
|
|
880
|
+
"type": "option"
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
"hasDynamicHelp": false,
|
|
884
|
+
"hiddenAliases": [],
|
|
885
|
+
"id": "layout:patch",
|
|
886
|
+
"pluginAlias": "forest-cli",
|
|
887
|
+
"pluginName": "forest-cli",
|
|
888
|
+
"pluginType": "core",
|
|
889
|
+
"strict": true,
|
|
890
|
+
"isESM": false,
|
|
891
|
+
"relativePath": [
|
|
892
|
+
"dist",
|
|
893
|
+
"commands",
|
|
894
|
+
"layout",
|
|
895
|
+
"patch.js"
|
|
896
|
+
]
|
|
897
|
+
},
|
|
898
|
+
"layout:pull": {
|
|
899
|
+
"aliases": [],
|
|
900
|
+
"args": {},
|
|
901
|
+
"description": "Pull the layout (rendering) of an environment into a forest-layout.json file.",
|
|
902
|
+
"flags": {
|
|
903
|
+
"env": {
|
|
904
|
+
"char": "e",
|
|
905
|
+
"description": "Environment to pull from (name or id). Prompted if omitted.",
|
|
906
|
+
"name": "env",
|
|
907
|
+
"hasDynamicHelp": false,
|
|
908
|
+
"multiple": false,
|
|
909
|
+
"type": "option"
|
|
910
|
+
},
|
|
911
|
+
"team": {
|
|
912
|
+
"char": "t",
|
|
913
|
+
"description": "Team whose layout to pull (name or id). Prompted if omitted.",
|
|
914
|
+
"name": "team",
|
|
915
|
+
"hasDynamicHelp": false,
|
|
916
|
+
"multiple": false,
|
|
917
|
+
"type": "option"
|
|
918
|
+
},
|
|
919
|
+
"projectId": {
|
|
920
|
+
"char": "p",
|
|
921
|
+
"description": "Id of the project (resolved automatically when you only have one).",
|
|
922
|
+
"name": "projectId",
|
|
929
923
|
"hasDynamicHelp": false,
|
|
930
924
|
"multiple": false,
|
|
931
925
|
"type": "option"
|
|
932
926
|
},
|
|
933
|
-
"
|
|
934
|
-
"char": "
|
|
935
|
-
"description": "
|
|
936
|
-
"name": "
|
|
937
|
-
"
|
|
927
|
+
"out": {
|
|
928
|
+
"char": "o",
|
|
929
|
+
"description": "Output file path (default: forest-layout.json).",
|
|
930
|
+
"name": "out",
|
|
931
|
+
"default": "forest-layout.json",
|
|
938
932
|
"hasDynamicHelp": false,
|
|
939
933
|
"multiple": false,
|
|
940
934
|
"type": "option"
|
|
935
|
+
},
|
|
936
|
+
"with-workflows": {
|
|
937
|
+
"description": "Also download each workflow's BPMN into sidecar files (workflows/<id>.bpmn) for round-trip.",
|
|
938
|
+
"name": "with-workflows",
|
|
939
|
+
"allowNo": false,
|
|
940
|
+
"type": "boolean"
|
|
941
941
|
}
|
|
942
942
|
},
|
|
943
943
|
"hasDynamicHelp": false,
|
|
944
944
|
"hiddenAliases": [],
|
|
945
|
-
"id": "
|
|
945
|
+
"id": "layout:pull",
|
|
946
946
|
"pluginAlias": "forest-cli",
|
|
947
947
|
"pluginName": "forest-cli",
|
|
948
948
|
"pluginType": "core",
|
|
@@ -951,8 +951,8 @@
|
|
|
951
951
|
"relativePath": [
|
|
952
952
|
"dist",
|
|
953
953
|
"commands",
|
|
954
|
-
"
|
|
955
|
-
"
|
|
954
|
+
"layout",
|
|
955
|
+
"pull.js"
|
|
956
956
|
]
|
|
957
957
|
},
|
|
958
958
|
"projects:create": {
|
|
@@ -1315,118 +1315,6 @@
|
|
|
1315
1315
|
"get.js"
|
|
1316
1316
|
]
|
|
1317
1317
|
},
|
|
1318
|
-
"schema:apply": {
|
|
1319
|
-
"aliases": [],
|
|
1320
|
-
"args": {},
|
|
1321
|
-
"description": "Apply the current schema of your repository to the specified environment (using your \".forestadmin-schema.json\" file).",
|
|
1322
|
-
"flags": {
|
|
1323
|
-
"secret": {
|
|
1324
|
-
"char": "s",
|
|
1325
|
-
"description": "Environment secret of the project (FOREST_ENV_SECRET).",
|
|
1326
|
-
"name": "secret",
|
|
1327
|
-
"required": false,
|
|
1328
|
-
"hasDynamicHelp": false,
|
|
1329
|
-
"multiple": false,
|
|
1330
|
-
"type": "option"
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1333
|
-
"hasDynamicHelp": false,
|
|
1334
|
-
"hiddenAliases": [],
|
|
1335
|
-
"id": "schema:apply",
|
|
1336
|
-
"pluginAlias": "forest-cli",
|
|
1337
|
-
"pluginName": "forest-cli",
|
|
1338
|
-
"pluginType": "core",
|
|
1339
|
-
"strict": true,
|
|
1340
|
-
"isESM": false,
|
|
1341
|
-
"relativePath": [
|
|
1342
|
-
"dist",
|
|
1343
|
-
"commands",
|
|
1344
|
-
"schema",
|
|
1345
|
-
"apply.js"
|
|
1346
|
-
]
|
|
1347
|
-
},
|
|
1348
|
-
"schema:diff": {
|
|
1349
|
-
"aliases": [],
|
|
1350
|
-
"args": {
|
|
1351
|
-
"environmentIdFrom": {
|
|
1352
|
-
"description": "ID of an environment to compare.",
|
|
1353
|
-
"name": "environmentIdFrom",
|
|
1354
|
-
"required": true
|
|
1355
|
-
},
|
|
1356
|
-
"environmentIdTo": {
|
|
1357
|
-
"description": "ID of an environment to compare.",
|
|
1358
|
-
"name": "environmentIdTo",
|
|
1359
|
-
"required": true
|
|
1360
|
-
}
|
|
1361
|
-
},
|
|
1362
|
-
"description": "Allow to compare two environment schemas",
|
|
1363
|
-
"flags": {
|
|
1364
|
-
"help": {
|
|
1365
|
-
"description": "Display usage information.",
|
|
1366
|
-
"name": "help",
|
|
1367
|
-
"allowNo": false,
|
|
1368
|
-
"type": "boolean"
|
|
1369
|
-
}
|
|
1370
|
-
},
|
|
1371
|
-
"hasDynamicHelp": false,
|
|
1372
|
-
"hiddenAliases": [],
|
|
1373
|
-
"id": "schema:diff",
|
|
1374
|
-
"pluginAlias": "forest-cli",
|
|
1375
|
-
"pluginName": "forest-cli",
|
|
1376
|
-
"pluginType": "core",
|
|
1377
|
-
"strict": true,
|
|
1378
|
-
"isESM": false,
|
|
1379
|
-
"relativePath": [
|
|
1380
|
-
"dist",
|
|
1381
|
-
"commands",
|
|
1382
|
-
"schema",
|
|
1383
|
-
"diff.js"
|
|
1384
|
-
]
|
|
1385
|
-
},
|
|
1386
|
-
"schema:update": {
|
|
1387
|
-
"aliases": [],
|
|
1388
|
-
"args": {},
|
|
1389
|
-
"description": "Refresh your schema by generating files that do not currently exist.",
|
|
1390
|
-
"flags": {
|
|
1391
|
-
"config": {
|
|
1392
|
-
"char": "c",
|
|
1393
|
-
"dependsOn": [],
|
|
1394
|
-
"description": "Database configuration file to use.",
|
|
1395
|
-
"exclusive": [],
|
|
1396
|
-
"name": "config",
|
|
1397
|
-
"required": false,
|
|
1398
|
-
"default": "config/databases.js",
|
|
1399
|
-
"hasDynamicHelp": false,
|
|
1400
|
-
"multiple": false,
|
|
1401
|
-
"type": "option"
|
|
1402
|
-
},
|
|
1403
|
-
"outputDirectory": {
|
|
1404
|
-
"char": "o",
|
|
1405
|
-
"dependsOn": [],
|
|
1406
|
-
"description": "Output directory where to generate new files.",
|
|
1407
|
-
"exclusive": [],
|
|
1408
|
-
"name": "outputDirectory",
|
|
1409
|
-
"required": false,
|
|
1410
|
-
"hasDynamicHelp": false,
|
|
1411
|
-
"multiple": false,
|
|
1412
|
-
"type": "option"
|
|
1413
|
-
}
|
|
1414
|
-
},
|
|
1415
|
-
"hasDynamicHelp": false,
|
|
1416
|
-
"hiddenAliases": [],
|
|
1417
|
-
"id": "schema:update",
|
|
1418
|
-
"pluginAlias": "forest-cli",
|
|
1419
|
-
"pluginName": "forest-cli",
|
|
1420
|
-
"pluginType": "core",
|
|
1421
|
-
"strict": true,
|
|
1422
|
-
"isESM": false,
|
|
1423
|
-
"relativePath": [
|
|
1424
|
-
"dist",
|
|
1425
|
-
"commands",
|
|
1426
|
-
"schema",
|
|
1427
|
-
"update.js"
|
|
1428
|
-
]
|
|
1429
|
-
},
|
|
1430
1318
|
"roles:apply": {
|
|
1431
1319
|
"aliases": [],
|
|
1432
1320
|
"args": {
|
|
@@ -1687,6 +1575,118 @@
|
|
|
1687
1575
|
"update.js"
|
|
1688
1576
|
]
|
|
1689
1577
|
},
|
|
1578
|
+
"schema:apply": {
|
|
1579
|
+
"aliases": [],
|
|
1580
|
+
"args": {},
|
|
1581
|
+
"description": "Apply the current schema of your repository to the specified environment (using your \".forestadmin-schema.json\" file).",
|
|
1582
|
+
"flags": {
|
|
1583
|
+
"secret": {
|
|
1584
|
+
"char": "s",
|
|
1585
|
+
"description": "Environment secret of the project (FOREST_ENV_SECRET).",
|
|
1586
|
+
"name": "secret",
|
|
1587
|
+
"required": false,
|
|
1588
|
+
"hasDynamicHelp": false,
|
|
1589
|
+
"multiple": false,
|
|
1590
|
+
"type": "option"
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
"hasDynamicHelp": false,
|
|
1594
|
+
"hiddenAliases": [],
|
|
1595
|
+
"id": "schema:apply",
|
|
1596
|
+
"pluginAlias": "forest-cli",
|
|
1597
|
+
"pluginName": "forest-cli",
|
|
1598
|
+
"pluginType": "core",
|
|
1599
|
+
"strict": true,
|
|
1600
|
+
"isESM": false,
|
|
1601
|
+
"relativePath": [
|
|
1602
|
+
"dist",
|
|
1603
|
+
"commands",
|
|
1604
|
+
"schema",
|
|
1605
|
+
"apply.js"
|
|
1606
|
+
]
|
|
1607
|
+
},
|
|
1608
|
+
"schema:diff": {
|
|
1609
|
+
"aliases": [],
|
|
1610
|
+
"args": {
|
|
1611
|
+
"environmentIdFrom": {
|
|
1612
|
+
"description": "ID of an environment to compare.",
|
|
1613
|
+
"name": "environmentIdFrom",
|
|
1614
|
+
"required": true
|
|
1615
|
+
},
|
|
1616
|
+
"environmentIdTo": {
|
|
1617
|
+
"description": "ID of an environment to compare.",
|
|
1618
|
+
"name": "environmentIdTo",
|
|
1619
|
+
"required": true
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
"description": "Allow to compare two environment schemas",
|
|
1623
|
+
"flags": {
|
|
1624
|
+
"help": {
|
|
1625
|
+
"description": "Display usage information.",
|
|
1626
|
+
"name": "help",
|
|
1627
|
+
"allowNo": false,
|
|
1628
|
+
"type": "boolean"
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
"hasDynamicHelp": false,
|
|
1632
|
+
"hiddenAliases": [],
|
|
1633
|
+
"id": "schema:diff",
|
|
1634
|
+
"pluginAlias": "forest-cli",
|
|
1635
|
+
"pluginName": "forest-cli",
|
|
1636
|
+
"pluginType": "core",
|
|
1637
|
+
"strict": true,
|
|
1638
|
+
"isESM": false,
|
|
1639
|
+
"relativePath": [
|
|
1640
|
+
"dist",
|
|
1641
|
+
"commands",
|
|
1642
|
+
"schema",
|
|
1643
|
+
"diff.js"
|
|
1644
|
+
]
|
|
1645
|
+
},
|
|
1646
|
+
"schema:update": {
|
|
1647
|
+
"aliases": [],
|
|
1648
|
+
"args": {},
|
|
1649
|
+
"description": "Refresh your schema by generating files that do not currently exist.",
|
|
1650
|
+
"flags": {
|
|
1651
|
+
"config": {
|
|
1652
|
+
"char": "c",
|
|
1653
|
+
"dependsOn": [],
|
|
1654
|
+
"description": "Database configuration file to use.",
|
|
1655
|
+
"exclusive": [],
|
|
1656
|
+
"name": "config",
|
|
1657
|
+
"required": false,
|
|
1658
|
+
"default": "config/databases.js",
|
|
1659
|
+
"hasDynamicHelp": false,
|
|
1660
|
+
"multiple": false,
|
|
1661
|
+
"type": "option"
|
|
1662
|
+
},
|
|
1663
|
+
"outputDirectory": {
|
|
1664
|
+
"char": "o",
|
|
1665
|
+
"dependsOn": [],
|
|
1666
|
+
"description": "Output directory where to generate new files.",
|
|
1667
|
+
"exclusive": [],
|
|
1668
|
+
"name": "outputDirectory",
|
|
1669
|
+
"required": false,
|
|
1670
|
+
"hasDynamicHelp": false,
|
|
1671
|
+
"multiple": false,
|
|
1672
|
+
"type": "option"
|
|
1673
|
+
}
|
|
1674
|
+
},
|
|
1675
|
+
"hasDynamicHelp": false,
|
|
1676
|
+
"hiddenAliases": [],
|
|
1677
|
+
"id": "schema:update",
|
|
1678
|
+
"pluginAlias": "forest-cli",
|
|
1679
|
+
"pluginName": "forest-cli",
|
|
1680
|
+
"pluginType": "core",
|
|
1681
|
+
"strict": true,
|
|
1682
|
+
"isESM": false,
|
|
1683
|
+
"relativePath": [
|
|
1684
|
+
"dist",
|
|
1685
|
+
"commands",
|
|
1686
|
+
"schema",
|
|
1687
|
+
"update.js"
|
|
1688
|
+
]
|
|
1689
|
+
},
|
|
1690
1690
|
"teams:copy-layout": {
|
|
1691
1691
|
"aliases": [],
|
|
1692
1692
|
"args": {},
|
|
@@ -3924,5 +3924,5 @@
|
|
|
3924
3924
|
]
|
|
3925
3925
|
}
|
|
3926
3926
|
},
|
|
3927
|
-
"version": "5.27.
|
|
3927
|
+
"version": "5.27.1"
|
|
3928
3928
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forest-cli",
|
|
3
3
|
"description": "The Lumberjacks' toolbelt is the Forest CLI which makes easy to manage your back office application directly from the terminal.",
|
|
4
|
-
"version": "5.27.
|
|
4
|
+
"version": "5.27.1",
|
|
5
5
|
"author": "Sandro Munda",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Arnaud Valensi <arnaud.valensi@gmail.com>",
|