@memberjunction/cli 6.1.0-edge.6 → 6.1.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/dist/commands/dev/workspace/index.d.ts +9 -0
- package/dist/commands/dev/workspace/index.d.ts.map +1 -1
- package/dist/commands/dev/workspace/index.js +82 -6
- package/dist/commands/dev/workspace/index.js.map +1 -1
- package/dist/lib/dev-workspace/build.d.ts +155 -18
- package/dist/lib/dev-workspace/build.d.ts.map +1 -1
- package/dist/lib/dev-workspace/build.js +522 -39
- package/dist/lib/dev-workspace/build.js.map +1 -1
- package/dist/lib/dev-workspace/detect.d.ts +14 -1
- package/dist/lib/dev-workspace/detect.d.ts.map +1 -1
- package/dist/lib/dev-workspace/detect.js +60 -3
- package/dist/lib/dev-workspace/detect.js.map +1 -1
- package/dist/lib/dev-workspace/doctor.d.ts +17 -1
- package/dist/lib/dev-workspace/doctor.d.ts.map +1 -1
- package/dist/lib/dev-workspace/doctor.js +92 -1
- package/dist/lib/dev-workspace/doctor.js.map +1 -1
- package/dist/lib/dev-workspace/types.d.ts +185 -2
- package/dist/lib/dev-workspace/types.d.ts.map +1 -1
- package/dist/lib/dev-workspace/usage.d.ts.map +1 -1
- package/dist/lib/dev-workspace/usage.js +5 -3
- package/dist/lib/dev-workspace/usage.js.map +1 -1
- package/oclif.manifest.json +1584 -1577
- package/package.json +22 -22
package/oclif.manifest.json
CHANGED
|
@@ -457,243 +457,46 @@
|
|
|
457
457
|
"usage.js"
|
|
458
458
|
]
|
|
459
459
|
},
|
|
460
|
-
"
|
|
461
|
-
"aliases": [],
|
|
462
|
-
"args": {},
|
|
463
|
-
"description": "Bumps MemberJunction dependency versions",
|
|
464
|
-
"examples": [
|
|
465
|
-
{
|
|
466
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
467
|
-
"description": "Bump all @memberjunction/* dependencies in the current directory's package.json to the CLI version"
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"command": "<%= config.bin %> <%= command.id %> -rdv",
|
|
471
|
-
"description": "Preview all recursive packages bumps without writing any changes."
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
"command": "<%= config.bin %> <%= command.id %> -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}",
|
|
475
|
-
"description": "Recursively bump all @memberjunction/* dependencies in all packages to version v2.10.0 and output only the paths containing the updated package.json files. Pipe the output to xargs to run npm install in each directory and update the package-lock.json files as well."
|
|
476
|
-
}
|
|
477
|
-
],
|
|
478
|
-
"flags": {
|
|
479
|
-
"verbose": {
|
|
480
|
-
"char": "v",
|
|
481
|
-
"description": "Enable additional logging",
|
|
482
|
-
"name": "verbose",
|
|
483
|
-
"allowNo": false,
|
|
484
|
-
"type": "boolean"
|
|
485
|
-
},
|
|
486
|
-
"recursive": {
|
|
487
|
-
"char": "r",
|
|
488
|
-
"description": "Bump version in current directory and all subdirectories",
|
|
489
|
-
"name": "recursive",
|
|
490
|
-
"allowNo": false,
|
|
491
|
-
"type": "boolean"
|
|
492
|
-
},
|
|
493
|
-
"tag": {
|
|
494
|
-
"char": "t",
|
|
495
|
-
"description": "Version tag to bump target for bump (e.g. v2.10.0), defaults to the CLI version",
|
|
496
|
-
"name": "tag",
|
|
497
|
-
"hasDynamicHelp": false,
|
|
498
|
-
"multiple": false,
|
|
499
|
-
"type": "option"
|
|
500
|
-
},
|
|
501
|
-
"quiet": {
|
|
502
|
-
"char": "q",
|
|
503
|
-
"description": "Only output paths for updated packages",
|
|
504
|
-
"name": "quiet",
|
|
505
|
-
"allowNo": false,
|
|
506
|
-
"type": "boolean"
|
|
507
|
-
},
|
|
508
|
-
"dry": {
|
|
509
|
-
"char": "d",
|
|
510
|
-
"description": "Dry run, do not write changes to package.json files",
|
|
511
|
-
"name": "dry",
|
|
512
|
-
"allowNo": false,
|
|
513
|
-
"type": "boolean"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
"hasDynamicHelp": false,
|
|
517
|
-
"hiddenAliases": [],
|
|
518
|
-
"id": "bump",
|
|
519
|
-
"pluginAlias": "@memberjunction/cli",
|
|
520
|
-
"pluginName": "@memberjunction/cli",
|
|
521
|
-
"pluginType": "core",
|
|
522
|
-
"strict": true,
|
|
523
|
-
"enableJsonFlag": false,
|
|
524
|
-
"isESM": true,
|
|
525
|
-
"relativePath": [
|
|
526
|
-
"dist",
|
|
527
|
-
"commands",
|
|
528
|
-
"bump",
|
|
529
|
-
"index.js"
|
|
530
|
-
]
|
|
531
|
-
},
|
|
532
|
-
"bump:usage": {
|
|
533
|
-
"aliases": [],
|
|
534
|
-
"args": {},
|
|
535
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj bump` command.",
|
|
536
|
-
"flags": {
|
|
537
|
-
"format": {
|
|
538
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
539
|
-
"name": "format",
|
|
540
|
-
"hasDynamicHelp": false,
|
|
541
|
-
"multiple": false,
|
|
542
|
-
"options": [
|
|
543
|
-
"text",
|
|
544
|
-
"json",
|
|
545
|
-
"md"
|
|
546
|
-
],
|
|
547
|
-
"type": "option"
|
|
548
|
-
}
|
|
549
|
-
},
|
|
550
|
-
"hasDynamicHelp": false,
|
|
551
|
-
"hiddenAliases": [],
|
|
552
|
-
"id": "bump:usage",
|
|
553
|
-
"pluginAlias": "@memberjunction/cli",
|
|
554
|
-
"pluginName": "@memberjunction/cli",
|
|
555
|
-
"pluginType": "core",
|
|
556
|
-
"strict": true,
|
|
557
|
-
"enableJsonFlag": false,
|
|
558
|
-
"isESM": true,
|
|
559
|
-
"relativePath": [
|
|
560
|
-
"dist",
|
|
561
|
-
"commands",
|
|
562
|
-
"bump",
|
|
563
|
-
"usage.js"
|
|
564
|
-
]
|
|
565
|
-
},
|
|
566
|
-
"bundle": {
|
|
460
|
+
"artifacts:reclassify": {
|
|
567
461
|
"aliases": [],
|
|
568
462
|
"args": {},
|
|
569
|
-
"description": "
|
|
463
|
+
"description": "Upgrade-recovery utility for v5.35 artifact unification. Re-evaluates rows whose TypeID is the deleted JSON fallback but whose actual content does not parse as JSON. Normally a no-op: the v5.35 backfill migration handles this automatically. This command is only relevant when the migration ran BEFORE the artifact-type metadata (Generic Text / Generic Binary) was pushed via `mj sync push`, in which case the migration prints a notice telling you to run this. Reports \"no candidates\" once everything is reconciled. Dry-run by default; --apply writes through Record Changes.",
|
|
570
464
|
"examples": [
|
|
571
|
-
"<%= config.bin %> <%= command.id %>
|
|
572
|
-
"<%= config.bin %> <%= command.id %> --
|
|
573
|
-
"<%= config.bin %> <%= command.id %> --source . --out ./mj-install.zip",
|
|
574
|
-
"<%= config.bin %> <%= command.id %> --tag v5.38.0 --with-migrations --out ./mj-install.zip",
|
|
575
|
-
"<%= config.bin %> <%= command.id %> --with-migrations --db-platform postgresql --out ./mj-install.zip"
|
|
465
|
+
"<%= config.bin %> <%= command.id %>",
|
|
466
|
+
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
576
467
|
],
|
|
577
468
|
"flags": {
|
|
578
|
-
"
|
|
579
|
-
"
|
|
580
|
-
"
|
|
581
|
-
"name": "out",
|
|
582
|
-
"required": true,
|
|
583
|
-
"hasDynamicHelp": false,
|
|
584
|
-
"multiple": false,
|
|
585
|
-
"type": "option"
|
|
586
|
-
},
|
|
587
|
-
"tag": {
|
|
588
|
-
"char": "t",
|
|
589
|
-
"description": "Release tag to bundle (e.g. v5.38.0). Defaults to the latest branch tip.",
|
|
590
|
-
"name": "tag",
|
|
469
|
+
"conversation-id": {
|
|
470
|
+
"description": "Scope to artifacts attached to the given conversation.",
|
|
471
|
+
"name": "conversation-id",
|
|
591
472
|
"hasDynamicHelp": false,
|
|
592
473
|
"multiple": false,
|
|
593
474
|
"type": "option"
|
|
594
475
|
},
|
|
595
|
-
"
|
|
596
|
-
"description": "
|
|
597
|
-
"name": "
|
|
476
|
+
"since": {
|
|
477
|
+
"description": "Scope to artifacts created on/after this ISO date.",
|
|
478
|
+
"name": "since",
|
|
598
479
|
"hasDynamicHelp": false,
|
|
599
480
|
"multiple": false,
|
|
600
481
|
"type": "option"
|
|
601
482
|
},
|
|
602
|
-
"
|
|
603
|
-
"description": "
|
|
604
|
-
"name": "
|
|
605
|
-
"
|
|
606
|
-
"type": "boolean"
|
|
607
|
-
},
|
|
608
|
-
"db-platform": {
|
|
609
|
-
"dependsOn": [
|
|
610
|
-
"with-migrations"
|
|
611
|
-
],
|
|
612
|
-
"description": "With --with-migrations, ship only this platform's migration tree instead of both",
|
|
613
|
-
"name": "db-platform",
|
|
483
|
+
"limit": {
|
|
484
|
+
"description": "Maximum number of rows to inspect.",
|
|
485
|
+
"name": "limit",
|
|
486
|
+
"default": 100,
|
|
614
487
|
"hasDynamicHelp": false,
|
|
615
488
|
"multiple": false,
|
|
616
|
-
"options": [
|
|
617
|
-
"sqlserver",
|
|
618
|
-
"postgresql"
|
|
619
|
-
],
|
|
620
489
|
"type": "option"
|
|
621
490
|
},
|
|
622
|
-
"
|
|
623
|
-
"description": "
|
|
624
|
-
"name": "
|
|
491
|
+
"apply": {
|
|
492
|
+
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
493
|
+
"name": "apply",
|
|
625
494
|
"allowNo": false,
|
|
626
495
|
"type": "boolean"
|
|
627
496
|
},
|
|
628
497
|
"verbose": {
|
|
629
498
|
"char": "v",
|
|
630
|
-
"description": "
|
|
631
|
-
"name": "verbose",
|
|
632
|
-
"allowNo": false,
|
|
633
|
-
"type": "boolean"
|
|
634
|
-
}
|
|
635
|
-
},
|
|
636
|
-
"hasDynamicHelp": false,
|
|
637
|
-
"hiddenAliases": [],
|
|
638
|
-
"id": "bundle",
|
|
639
|
-
"pluginAlias": "@memberjunction/cli",
|
|
640
|
-
"pluginName": "@memberjunction/cli",
|
|
641
|
-
"pluginType": "core",
|
|
642
|
-
"strict": true,
|
|
643
|
-
"enableJsonFlag": false,
|
|
644
|
-
"isESM": true,
|
|
645
|
-
"relativePath": [
|
|
646
|
-
"dist",
|
|
647
|
-
"commands",
|
|
648
|
-
"bundle",
|
|
649
|
-
"index.js"
|
|
650
|
-
]
|
|
651
|
-
},
|
|
652
|
-
"bundle:usage": {
|
|
653
|
-
"aliases": [],
|
|
654
|
-
"args": {},
|
|
655
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj bundle` command.",
|
|
656
|
-
"flags": {
|
|
657
|
-
"format": {
|
|
658
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
659
|
-
"name": "format",
|
|
660
|
-
"hasDynamicHelp": false,
|
|
661
|
-
"multiple": false,
|
|
662
|
-
"options": [
|
|
663
|
-
"text",
|
|
664
|
-
"json",
|
|
665
|
-
"md"
|
|
666
|
-
],
|
|
667
|
-
"type": "option"
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
"hasDynamicHelp": false,
|
|
671
|
-
"hiddenAliases": [],
|
|
672
|
-
"id": "bundle:usage",
|
|
673
|
-
"pluginAlias": "@memberjunction/cli",
|
|
674
|
-
"pluginName": "@memberjunction/cli",
|
|
675
|
-
"pluginType": "core",
|
|
676
|
-
"strict": true,
|
|
677
|
-
"enableJsonFlag": false,
|
|
678
|
-
"isESM": true,
|
|
679
|
-
"relativePath": [
|
|
680
|
-
"dist",
|
|
681
|
-
"commands",
|
|
682
|
-
"bundle",
|
|
683
|
-
"usage.js"
|
|
684
|
-
]
|
|
685
|
-
},
|
|
686
|
-
"clean": {
|
|
687
|
-
"aliases": [],
|
|
688
|
-
"args": {},
|
|
689
|
-
"description": "Resets the MemberJunction database to a pre-installation state",
|
|
690
|
-
"examples": [
|
|
691
|
-
"<%= config.bin %> <%= command.id %>\n"
|
|
692
|
-
],
|
|
693
|
-
"flags": {
|
|
694
|
-
"verbose": {
|
|
695
|
-
"char": "v",
|
|
696
|
-
"description": "Enable additional logging",
|
|
499
|
+
"description": "Print every candidate row, not just the summary.",
|
|
697
500
|
"name": "verbose",
|
|
698
501
|
"allowNo": false,
|
|
699
502
|
"type": "boolean"
|
|
@@ -701,7 +504,7 @@
|
|
|
701
504
|
},
|
|
702
505
|
"hasDynamicHelp": false,
|
|
703
506
|
"hiddenAliases": [],
|
|
704
|
-
"id": "
|
|
507
|
+
"id": "artifacts:reclassify",
|
|
705
508
|
"pluginAlias": "@memberjunction/cli",
|
|
706
509
|
"pluginName": "@memberjunction/cli",
|
|
707
510
|
"pluginType": "core",
|
|
@@ -711,14 +514,14 @@
|
|
|
711
514
|
"relativePath": [
|
|
712
515
|
"dist",
|
|
713
516
|
"commands",
|
|
714
|
-
"
|
|
715
|
-
"
|
|
517
|
+
"artifacts",
|
|
518
|
+
"reclassify.js"
|
|
716
519
|
]
|
|
717
520
|
},
|
|
718
|
-
"
|
|
521
|
+
"artifacts:usage": {
|
|
719
522
|
"aliases": [],
|
|
720
523
|
"args": {},
|
|
721
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj
|
|
524
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj artifacts` command.",
|
|
722
525
|
"flags": {
|
|
723
526
|
"format": {
|
|
724
527
|
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
@@ -735,7 +538,7 @@
|
|
|
735
538
|
},
|
|
736
539
|
"hasDynamicHelp": false,
|
|
737
540
|
"hiddenAliases": [],
|
|
738
|
-
"id": "
|
|
541
|
+
"id": "artifacts:usage",
|
|
739
542
|
"pluginAlias": "@memberjunction/cli",
|
|
740
543
|
"pluginName": "@memberjunction/cli",
|
|
741
544
|
"pluginType": "core",
|
|
@@ -745,7 +548,7 @@
|
|
|
745
548
|
"relativePath": [
|
|
746
549
|
"dist",
|
|
747
550
|
"commands",
|
|
748
|
-
"
|
|
551
|
+
"artifacts",
|
|
749
552
|
"usage.js"
|
|
750
553
|
]
|
|
751
554
|
},
|
|
@@ -1121,46 +924,177 @@
|
|
|
1121
924
|
"usage.js"
|
|
1122
925
|
]
|
|
1123
926
|
},
|
|
1124
|
-
"
|
|
927
|
+
"bump": {
|
|
1125
928
|
"aliases": [],
|
|
1126
929
|
"args": {},
|
|
1127
|
-
"description": "
|
|
930
|
+
"description": "Bumps MemberJunction dependency versions",
|
|
1128
931
|
"examples": [
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
"
|
|
1135
|
-
"
|
|
932
|
+
{
|
|
933
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
934
|
+
"description": "Bump all @memberjunction/* dependencies in the current directory's package.json to the CLI version"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"command": "<%= config.bin %> <%= command.id %> -rdv",
|
|
938
|
+
"description": "Preview all recursive packages bumps without writing any changes."
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"command": "<%= config.bin %> <%= command.id %> -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}",
|
|
942
|
+
"description": "Recursively bump all @memberjunction/* dependencies in all packages to version v2.10.0 and output only the paths containing the updated package.json files. Pipe the output to xargs to run npm install in each directory and update the package-lock.json files as well."
|
|
943
|
+
}
|
|
944
|
+
],
|
|
945
|
+
"flags": {
|
|
946
|
+
"verbose": {
|
|
947
|
+
"char": "v",
|
|
948
|
+
"description": "Enable additional logging",
|
|
949
|
+
"name": "verbose",
|
|
950
|
+
"allowNo": false,
|
|
951
|
+
"type": "boolean"
|
|
952
|
+
},
|
|
953
|
+
"recursive": {
|
|
954
|
+
"char": "r",
|
|
955
|
+
"description": "Bump version in current directory and all subdirectories",
|
|
956
|
+
"name": "recursive",
|
|
957
|
+
"allowNo": false,
|
|
958
|
+
"type": "boolean"
|
|
959
|
+
},
|
|
960
|
+
"tag": {
|
|
961
|
+
"char": "t",
|
|
962
|
+
"description": "Version tag to bump target for bump (e.g. v2.10.0), defaults to the CLI version",
|
|
963
|
+
"name": "tag",
|
|
1136
964
|
"hasDynamicHelp": false,
|
|
1137
965
|
"multiple": false,
|
|
1138
966
|
"type": "option"
|
|
1139
967
|
},
|
|
1140
|
-
"
|
|
1141
|
-
"
|
|
1142
|
-
"
|
|
968
|
+
"quiet": {
|
|
969
|
+
"char": "q",
|
|
970
|
+
"description": "Only output paths for updated packages",
|
|
971
|
+
"name": "quiet",
|
|
972
|
+
"allowNo": false,
|
|
973
|
+
"type": "boolean"
|
|
974
|
+
},
|
|
975
|
+
"dry": {
|
|
976
|
+
"char": "d",
|
|
977
|
+
"description": "Dry run, do not write changes to package.json files",
|
|
978
|
+
"name": "dry",
|
|
979
|
+
"allowNo": false,
|
|
980
|
+
"type": "boolean"
|
|
981
|
+
}
|
|
982
|
+
},
|
|
983
|
+
"hasDynamicHelp": false,
|
|
984
|
+
"hiddenAliases": [],
|
|
985
|
+
"id": "bump",
|
|
986
|
+
"pluginAlias": "@memberjunction/cli",
|
|
987
|
+
"pluginName": "@memberjunction/cli",
|
|
988
|
+
"pluginType": "core",
|
|
989
|
+
"strict": true,
|
|
990
|
+
"enableJsonFlag": false,
|
|
991
|
+
"isESM": true,
|
|
992
|
+
"relativePath": [
|
|
993
|
+
"dist",
|
|
994
|
+
"commands",
|
|
995
|
+
"bump",
|
|
996
|
+
"index.js"
|
|
997
|
+
]
|
|
998
|
+
},
|
|
999
|
+
"bump:usage": {
|
|
1000
|
+
"aliases": [],
|
|
1001
|
+
"args": {},
|
|
1002
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj bump` command.",
|
|
1003
|
+
"flags": {
|
|
1004
|
+
"format": {
|
|
1005
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
1006
|
+
"name": "format",
|
|
1007
|
+
"hasDynamicHelp": false,
|
|
1008
|
+
"multiple": false,
|
|
1009
|
+
"options": [
|
|
1010
|
+
"text",
|
|
1011
|
+
"json",
|
|
1012
|
+
"md"
|
|
1013
|
+
],
|
|
1014
|
+
"type": "option"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
"hasDynamicHelp": false,
|
|
1018
|
+
"hiddenAliases": [],
|
|
1019
|
+
"id": "bump:usage",
|
|
1020
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1021
|
+
"pluginName": "@memberjunction/cli",
|
|
1022
|
+
"pluginType": "core",
|
|
1023
|
+
"strict": true,
|
|
1024
|
+
"enableJsonFlag": false,
|
|
1025
|
+
"isESM": true,
|
|
1026
|
+
"relativePath": [
|
|
1027
|
+
"dist",
|
|
1028
|
+
"commands",
|
|
1029
|
+
"bump",
|
|
1030
|
+
"usage.js"
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
1033
|
+
"bundle": {
|
|
1034
|
+
"aliases": [],
|
|
1035
|
+
"args": {},
|
|
1036
|
+
"description": "Create a self-contained MemberJunction distribution zip for offline/air-gapped installs",
|
|
1037
|
+
"examples": [
|
|
1038
|
+
"<%= config.bin %> <%= command.id %> --out ./mj-install.zip",
|
|
1039
|
+
"<%= config.bin %> <%= command.id %> --tag v5.38.0 --out ./mj-install.zip",
|
|
1040
|
+
"<%= config.bin %> <%= command.id %> --source . --out ./mj-install.zip",
|
|
1041
|
+
"<%= config.bin %> <%= command.id %> --tag v5.38.0 --with-migrations --out ./mj-install.zip",
|
|
1042
|
+
"<%= config.bin %> <%= command.id %> --with-migrations --db-platform postgresql --out ./mj-install.zip"
|
|
1043
|
+
],
|
|
1044
|
+
"flags": {
|
|
1045
|
+
"out": {
|
|
1046
|
+
"char": "o",
|
|
1047
|
+
"description": "Output zip path",
|
|
1048
|
+
"name": "out",
|
|
1049
|
+
"required": true,
|
|
1143
1050
|
"hasDynamicHelp": false,
|
|
1144
1051
|
"multiple": false,
|
|
1145
1052
|
"type": "option"
|
|
1146
1053
|
},
|
|
1147
|
-
"
|
|
1148
|
-
"
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
1054
|
+
"tag": {
|
|
1055
|
+
"char": "t",
|
|
1056
|
+
"description": "Release tag to bundle (e.g. v5.38.0). Defaults to the latest branch tip.",
|
|
1057
|
+
"name": "tag",
|
|
1151
1058
|
"hasDynamicHelp": false,
|
|
1152
1059
|
"multiple": false,
|
|
1153
1060
|
"type": "option"
|
|
1154
1061
|
},
|
|
1155
|
-
"
|
|
1156
|
-
"description": "
|
|
1157
|
-
"name": "
|
|
1062
|
+
"source": {
|
|
1063
|
+
"description": "Bundle from a local working-tree directory instead of fetching from the repo",
|
|
1064
|
+
"name": "source",
|
|
1065
|
+
"hasDynamicHelp": false,
|
|
1066
|
+
"multiple": false,
|
|
1067
|
+
"type": "option"
|
|
1068
|
+
},
|
|
1069
|
+
"with-migrations": {
|
|
1070
|
+
"description": "Include the migration tree(s) so an air-gapped \"mj migrate\" can run offline. Ships both SQL Server and PostgreSQL trees by default.",
|
|
1071
|
+
"name": "with-migrations",
|
|
1072
|
+
"allowNo": false,
|
|
1073
|
+
"type": "boolean"
|
|
1074
|
+
},
|
|
1075
|
+
"db-platform": {
|
|
1076
|
+
"dependsOn": [
|
|
1077
|
+
"with-migrations"
|
|
1078
|
+
],
|
|
1079
|
+
"description": "With --with-migrations, ship only this platform's migration tree instead of both",
|
|
1080
|
+
"name": "db-platform",
|
|
1081
|
+
"hasDynamicHelp": false,
|
|
1082
|
+
"multiple": false,
|
|
1083
|
+
"options": [
|
|
1084
|
+
"sqlserver",
|
|
1085
|
+
"postgresql"
|
|
1086
|
+
],
|
|
1087
|
+
"type": "option"
|
|
1088
|
+
},
|
|
1089
|
+
"no-claude-pack": {
|
|
1090
|
+
"description": "Exclude the Claude Code pack (CLAUDE.md + .claude/) from the bundle. By default the pack is included so air-gapped installs get the same out-of-the-box Claude experience as online installs.",
|
|
1091
|
+
"name": "no-claude-pack",
|
|
1158
1092
|
"allowNo": false,
|
|
1159
1093
|
"type": "boolean"
|
|
1160
1094
|
},
|
|
1161
1095
|
"verbose": {
|
|
1162
1096
|
"char": "v",
|
|
1163
|
-
"description": "
|
|
1097
|
+
"description": "Show detailed output",
|
|
1164
1098
|
"name": "verbose",
|
|
1165
1099
|
"allowNo": false,
|
|
1166
1100
|
"type": "boolean"
|
|
@@ -1168,7 +1102,7 @@
|
|
|
1168
1102
|
},
|
|
1169
1103
|
"hasDynamicHelp": false,
|
|
1170
1104
|
"hiddenAliases": [],
|
|
1171
|
-
"id": "
|
|
1105
|
+
"id": "bundle",
|
|
1172
1106
|
"pluginAlias": "@memberjunction/cli",
|
|
1173
1107
|
"pluginName": "@memberjunction/cli",
|
|
1174
1108
|
"pluginType": "core",
|
|
@@ -1178,14 +1112,14 @@
|
|
|
1178
1112
|
"relativePath": [
|
|
1179
1113
|
"dist",
|
|
1180
1114
|
"commands",
|
|
1181
|
-
"
|
|
1182
|
-
"
|
|
1115
|
+
"bundle",
|
|
1116
|
+
"index.js"
|
|
1183
1117
|
]
|
|
1184
1118
|
},
|
|
1185
|
-
"
|
|
1119
|
+
"bundle:usage": {
|
|
1186
1120
|
"aliases": [],
|
|
1187
1121
|
"args": {},
|
|
1188
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj
|
|
1122
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj bundle` command.",
|
|
1189
1123
|
"flags": {
|
|
1190
1124
|
"format": {
|
|
1191
1125
|
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
@@ -1202,7 +1136,7 @@
|
|
|
1202
1136
|
},
|
|
1203
1137
|
"hasDynamicHelp": false,
|
|
1204
1138
|
"hiddenAliases": [],
|
|
1205
|
-
"id": "
|
|
1139
|
+
"id": "bundle:usage",
|
|
1206
1140
|
"pluginAlias": "@memberjunction/cli",
|
|
1207
1141
|
"pluginName": "@memberjunction/cli",
|
|
1208
1142
|
"pluginType": "core",
|
|
@@ -1212,7 +1146,73 @@
|
|
|
1212
1146
|
"relativePath": [
|
|
1213
1147
|
"dist",
|
|
1214
1148
|
"commands",
|
|
1215
|
-
"
|
|
1149
|
+
"bundle",
|
|
1150
|
+
"usage.js"
|
|
1151
|
+
]
|
|
1152
|
+
},
|
|
1153
|
+
"clean": {
|
|
1154
|
+
"aliases": [],
|
|
1155
|
+
"args": {},
|
|
1156
|
+
"description": "Resets the MemberJunction database to a pre-installation state",
|
|
1157
|
+
"examples": [
|
|
1158
|
+
"<%= config.bin %> <%= command.id %>\n"
|
|
1159
|
+
],
|
|
1160
|
+
"flags": {
|
|
1161
|
+
"verbose": {
|
|
1162
|
+
"char": "v",
|
|
1163
|
+
"description": "Enable additional logging",
|
|
1164
|
+
"name": "verbose",
|
|
1165
|
+
"allowNo": false,
|
|
1166
|
+
"type": "boolean"
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
"hasDynamicHelp": false,
|
|
1170
|
+
"hiddenAliases": [],
|
|
1171
|
+
"id": "clean",
|
|
1172
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1173
|
+
"pluginName": "@memberjunction/cli",
|
|
1174
|
+
"pluginType": "core",
|
|
1175
|
+
"strict": true,
|
|
1176
|
+
"enableJsonFlag": false,
|
|
1177
|
+
"isESM": true,
|
|
1178
|
+
"relativePath": [
|
|
1179
|
+
"dist",
|
|
1180
|
+
"commands",
|
|
1181
|
+
"clean",
|
|
1182
|
+
"index.js"
|
|
1183
|
+
]
|
|
1184
|
+
},
|
|
1185
|
+
"clean:usage": {
|
|
1186
|
+
"aliases": [],
|
|
1187
|
+
"args": {},
|
|
1188
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj clean` command.",
|
|
1189
|
+
"flags": {
|
|
1190
|
+
"format": {
|
|
1191
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
1192
|
+
"name": "format",
|
|
1193
|
+
"hasDynamicHelp": false,
|
|
1194
|
+
"multiple": false,
|
|
1195
|
+
"options": [
|
|
1196
|
+
"text",
|
|
1197
|
+
"json",
|
|
1198
|
+
"md"
|
|
1199
|
+
],
|
|
1200
|
+
"type": "option"
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
"hasDynamicHelp": false,
|
|
1204
|
+
"hiddenAliases": [],
|
|
1205
|
+
"id": "clean:usage",
|
|
1206
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1207
|
+
"pluginName": "@memberjunction/cli",
|
|
1208
|
+
"pluginType": "core",
|
|
1209
|
+
"strict": true,
|
|
1210
|
+
"enableJsonFlag": false,
|
|
1211
|
+
"isESM": true,
|
|
1212
|
+
"relativePath": [
|
|
1213
|
+
"dist",
|
|
1214
|
+
"commands",
|
|
1215
|
+
"clean",
|
|
1216
1216
|
"usage.js"
|
|
1217
1217
|
]
|
|
1218
1218
|
},
|
|
@@ -2654,13 +2654,91 @@
|
|
|
2654
2654
|
"usage.js"
|
|
2655
2655
|
]
|
|
2656
2656
|
},
|
|
2657
|
-
"
|
|
2657
|
+
"plugin:add": {
|
|
2658
2658
|
"aliases": [],
|
|
2659
|
-
"args": {
|
|
2660
|
-
|
|
2659
|
+
"args": {
|
|
2660
|
+
"package": {
|
|
2661
|
+
"description": "Plugin entry-point specifier (package name, subpath, or relative path)",
|
|
2662
|
+
"name": "package",
|
|
2663
|
+
"required": true
|
|
2664
|
+
}
|
|
2665
|
+
},
|
|
2666
|
+
"description": "Register a CLI plugin package in mj-cli-plugins.json so `mj` loads it at startup.",
|
|
2661
2667
|
"examples": [
|
|
2662
|
-
"<%= config.bin %>
|
|
2663
|
-
"<%= config.bin %>
|
|
2668
|
+
"<%= config.bin %> <%= command.id %> @my-org/mj-plugin/plugins",
|
|
2669
|
+
"<%= config.bin %> <%= command.id %> ./local-plugins/my-tool"
|
|
2670
|
+
],
|
|
2671
|
+
"flags": {
|
|
2672
|
+
"format": {
|
|
2673
|
+
"description": "Output format",
|
|
2674
|
+
"name": "format",
|
|
2675
|
+
"default": "text",
|
|
2676
|
+
"hasDynamicHelp": false,
|
|
2677
|
+
"multiple": false,
|
|
2678
|
+
"options": [
|
|
2679
|
+
"text",
|
|
2680
|
+
"json"
|
|
2681
|
+
],
|
|
2682
|
+
"type": "option"
|
|
2683
|
+
}
|
|
2684
|
+
},
|
|
2685
|
+
"hasDynamicHelp": false,
|
|
2686
|
+
"hiddenAliases": [],
|
|
2687
|
+
"id": "plugin:add",
|
|
2688
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2689
|
+
"pluginName": "@memberjunction/cli",
|
|
2690
|
+
"pluginType": "core",
|
|
2691
|
+
"strict": true,
|
|
2692
|
+
"enableJsonFlag": false,
|
|
2693
|
+
"isESM": true,
|
|
2694
|
+
"relativePath": [
|
|
2695
|
+
"dist",
|
|
2696
|
+
"commands",
|
|
2697
|
+
"plugin",
|
|
2698
|
+
"add.js"
|
|
2699
|
+
]
|
|
2700
|
+
},
|
|
2701
|
+
"plugin:usage": {
|
|
2702
|
+
"aliases": [],
|
|
2703
|
+
"args": {},
|
|
2704
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj plugin` command.",
|
|
2705
|
+
"flags": {
|
|
2706
|
+
"format": {
|
|
2707
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
2708
|
+
"name": "format",
|
|
2709
|
+
"hasDynamicHelp": false,
|
|
2710
|
+
"multiple": false,
|
|
2711
|
+
"options": [
|
|
2712
|
+
"text",
|
|
2713
|
+
"json",
|
|
2714
|
+
"md"
|
|
2715
|
+
],
|
|
2716
|
+
"type": "option"
|
|
2717
|
+
}
|
|
2718
|
+
},
|
|
2719
|
+
"hasDynamicHelp": false,
|
|
2720
|
+
"hiddenAliases": [],
|
|
2721
|
+
"id": "plugin:usage",
|
|
2722
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2723
|
+
"pluginName": "@memberjunction/cli",
|
|
2724
|
+
"pluginType": "core",
|
|
2725
|
+
"strict": true,
|
|
2726
|
+
"enableJsonFlag": false,
|
|
2727
|
+
"isESM": true,
|
|
2728
|
+
"relativePath": [
|
|
2729
|
+
"dist",
|
|
2730
|
+
"commands",
|
|
2731
|
+
"plugin",
|
|
2732
|
+
"usage.js"
|
|
2733
|
+
]
|
|
2734
|
+
},
|
|
2735
|
+
"migrate:convert": {
|
|
2736
|
+
"aliases": [],
|
|
2737
|
+
"args": {},
|
|
2738
|
+
"description": "Convert T-SQL migrations to PostgreSQL",
|
|
2739
|
+
"examples": [
|
|
2740
|
+
"<%= config.bin %> migrate convert --split",
|
|
2741
|
+
"<%= config.bin %> migrate convert --split --dry-run",
|
|
2664
2742
|
"<%= config.bin %> migrate convert --split --file V202604060452__v5.24.x__KnowledgeHub.sql",
|
|
2665
2743
|
"<%= config.bin %> migrate convert --source-dir ./migrations/v5 --output-dir ./migrations-pg/v5",
|
|
2666
2744
|
"<%= config.bin %> migrate convert --verbose"
|
|
@@ -2993,84 +3071,6 @@
|
|
|
2993
3071
|
"usage.js"
|
|
2994
3072
|
]
|
|
2995
3073
|
},
|
|
2996
|
-
"plugin:add": {
|
|
2997
|
-
"aliases": [],
|
|
2998
|
-
"args": {
|
|
2999
|
-
"package": {
|
|
3000
|
-
"description": "Plugin entry-point specifier (package name, subpath, or relative path)",
|
|
3001
|
-
"name": "package",
|
|
3002
|
-
"required": true
|
|
3003
|
-
}
|
|
3004
|
-
},
|
|
3005
|
-
"description": "Register a CLI plugin package in mj-cli-plugins.json so `mj` loads it at startup.",
|
|
3006
|
-
"examples": [
|
|
3007
|
-
"<%= config.bin %> <%= command.id %> @my-org/mj-plugin/plugins",
|
|
3008
|
-
"<%= config.bin %> <%= command.id %> ./local-plugins/my-tool"
|
|
3009
|
-
],
|
|
3010
|
-
"flags": {
|
|
3011
|
-
"format": {
|
|
3012
|
-
"description": "Output format",
|
|
3013
|
-
"name": "format",
|
|
3014
|
-
"default": "text",
|
|
3015
|
-
"hasDynamicHelp": false,
|
|
3016
|
-
"multiple": false,
|
|
3017
|
-
"options": [
|
|
3018
|
-
"text",
|
|
3019
|
-
"json"
|
|
3020
|
-
],
|
|
3021
|
-
"type": "option"
|
|
3022
|
-
}
|
|
3023
|
-
},
|
|
3024
|
-
"hasDynamicHelp": false,
|
|
3025
|
-
"hiddenAliases": [],
|
|
3026
|
-
"id": "plugin:add",
|
|
3027
|
-
"pluginAlias": "@memberjunction/cli",
|
|
3028
|
-
"pluginName": "@memberjunction/cli",
|
|
3029
|
-
"pluginType": "core",
|
|
3030
|
-
"strict": true,
|
|
3031
|
-
"enableJsonFlag": false,
|
|
3032
|
-
"isESM": true,
|
|
3033
|
-
"relativePath": [
|
|
3034
|
-
"dist",
|
|
3035
|
-
"commands",
|
|
3036
|
-
"plugin",
|
|
3037
|
-
"add.js"
|
|
3038
|
-
]
|
|
3039
|
-
},
|
|
3040
|
-
"plugin:usage": {
|
|
3041
|
-
"aliases": [],
|
|
3042
|
-
"args": {},
|
|
3043
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj plugin` command.",
|
|
3044
|
-
"flags": {
|
|
3045
|
-
"format": {
|
|
3046
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3047
|
-
"name": "format",
|
|
3048
|
-
"hasDynamicHelp": false,
|
|
3049
|
-
"multiple": false,
|
|
3050
|
-
"options": [
|
|
3051
|
-
"text",
|
|
3052
|
-
"json",
|
|
3053
|
-
"md"
|
|
3054
|
-
],
|
|
3055
|
-
"type": "option"
|
|
3056
|
-
}
|
|
3057
|
-
},
|
|
3058
|
-
"hasDynamicHelp": false,
|
|
3059
|
-
"hiddenAliases": [],
|
|
3060
|
-
"id": "plugin:usage",
|
|
3061
|
-
"pluginAlias": "@memberjunction/cli",
|
|
3062
|
-
"pluginName": "@memberjunction/cli",
|
|
3063
|
-
"pluginType": "core",
|
|
3064
|
-
"strict": true,
|
|
3065
|
-
"enableJsonFlag": false,
|
|
3066
|
-
"isESM": true,
|
|
3067
|
-
"relativePath": [
|
|
3068
|
-
"dist",
|
|
3069
|
-
"commands",
|
|
3070
|
-
"plugin",
|
|
3071
|
-
"usage.js"
|
|
3072
|
-
]
|
|
3073
|
-
},
|
|
3074
3074
|
"querygen:export": {
|
|
3075
3075
|
"aliases": [],
|
|
3076
3076
|
"args": {},
|
|
@@ -3762,60 +3762,110 @@
|
|
|
3762
3762
|
"usage.js"
|
|
3763
3763
|
]
|
|
3764
3764
|
},
|
|
3765
|
-
"
|
|
3765
|
+
"test:compare": {
|
|
3766
3766
|
"aliases": [],
|
|
3767
|
-
"args": {
|
|
3768
|
-
|
|
3767
|
+
"args": {
|
|
3768
|
+
"runId1": {
|
|
3769
|
+
"description": "First test run ID to compare",
|
|
3770
|
+
"name": "runId1",
|
|
3771
|
+
"required": false
|
|
3772
|
+
},
|
|
3773
|
+
"runId2": {
|
|
3774
|
+
"description": "Second test run ID to compare",
|
|
3775
|
+
"name": "runId2",
|
|
3776
|
+
"required": false
|
|
3777
|
+
}
|
|
3778
|
+
},
|
|
3779
|
+
"description": "Compare test runs for regression detection",
|
|
3769
3780
|
"examples": [
|
|
3770
3781
|
"<%= config.bin %> <%= command.id %>",
|
|
3771
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3772
|
-
"<%= config.bin %> <%= command.id %>
|
|
3773
|
-
"<%= config.bin %> <%= command.id %>
|
|
3782
|
+
"<%= config.bin %> <%= command.id %> --latest",
|
|
3783
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
3784
|
+
"<%= config.bin %> <%= command.id %> -v 5.17.0 -v 5.18.0",
|
|
3785
|
+
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
3786
|
+
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
3787
|
+
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
3774
3788
|
],
|
|
3775
3789
|
"flags": {
|
|
3776
|
-
"
|
|
3777
|
-
"
|
|
3778
|
-
"
|
|
3790
|
+
"version": {
|
|
3791
|
+
"char": "v",
|
|
3792
|
+
"description": "Compare runs by version",
|
|
3793
|
+
"name": "version",
|
|
3779
3794
|
"hasDynamicHelp": false,
|
|
3780
|
-
"multiple":
|
|
3795
|
+
"multiple": true,
|
|
3781
3796
|
"type": "option"
|
|
3782
3797
|
},
|
|
3783
|
-
"
|
|
3784
|
-
"
|
|
3785
|
-
"
|
|
3798
|
+
"commit": {
|
|
3799
|
+
"char": "c",
|
|
3800
|
+
"description": "Compare runs by git commit",
|
|
3801
|
+
"name": "commit",
|
|
3786
3802
|
"hasDynamicHelp": false,
|
|
3787
|
-
"multiple":
|
|
3803
|
+
"multiple": true,
|
|
3788
3804
|
"type": "option"
|
|
3789
3805
|
},
|
|
3790
|
-
"
|
|
3791
|
-
"description": "
|
|
3792
|
-
"name": "
|
|
3806
|
+
"diff-only": {
|
|
3807
|
+
"description": "Show only differences",
|
|
3808
|
+
"name": "diff-only",
|
|
3793
3809
|
"allowNo": false,
|
|
3794
3810
|
"type": "boolean"
|
|
3795
3811
|
},
|
|
3796
|
-
"
|
|
3797
|
-
"
|
|
3798
|
-
"
|
|
3812
|
+
"latest": {
|
|
3813
|
+
"char": "l",
|
|
3814
|
+
"description": "Compare the two most recent completed suite runs",
|
|
3815
|
+
"name": "latest",
|
|
3799
3816
|
"allowNo": false,
|
|
3800
3817
|
"type": "boolean"
|
|
3801
3818
|
},
|
|
3802
|
-
"
|
|
3803
|
-
"description": "
|
|
3804
|
-
"name": "
|
|
3805
|
-
"
|
|
3806
|
-
"
|
|
3819
|
+
"from-json": {
|
|
3820
|
+
"description": "Compare two results.json files directly (no DB). Pass twice: --from-json PREV --from-json CURR",
|
|
3821
|
+
"name": "from-json",
|
|
3822
|
+
"hasDynamicHelp": false,
|
|
3823
|
+
"multiple": true,
|
|
3824
|
+
"type": "option"
|
|
3825
|
+
},
|
|
3826
|
+
"format": {
|
|
3827
|
+
"char": "f",
|
|
3828
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
3829
|
+
"name": "format",
|
|
3830
|
+
"hasDynamicHelp": false,
|
|
3831
|
+
"multiple": false,
|
|
3832
|
+
"options": [
|
|
3833
|
+
"text",
|
|
3834
|
+
"json",
|
|
3835
|
+
"md",
|
|
3836
|
+
"human",
|
|
3837
|
+
"console",
|
|
3838
|
+
"markdown",
|
|
3839
|
+
"compact",
|
|
3840
|
+
"table"
|
|
3841
|
+
],
|
|
3842
|
+
"type": "option"
|
|
3843
|
+
},
|
|
3844
|
+
"output": {
|
|
3845
|
+
"char": "o",
|
|
3846
|
+
"description": "Output file path",
|
|
3847
|
+
"name": "output",
|
|
3848
|
+
"hasDynamicHelp": false,
|
|
3849
|
+
"multiple": false,
|
|
3850
|
+
"type": "option"
|
|
3807
3851
|
},
|
|
3808
3852
|
"verbose": {
|
|
3809
|
-
"
|
|
3810
|
-
"description": "Show detailed output",
|
|
3853
|
+
"description": "Show detailed information",
|
|
3811
3854
|
"name": "verbose",
|
|
3812
3855
|
"allowNo": false,
|
|
3813
3856
|
"type": "boolean"
|
|
3857
|
+
},
|
|
3858
|
+
"tag": {
|
|
3859
|
+
"description": "Filter suite runs by tag (matches against MJTestSuiteRunEntity.Tags). Useful for isolating runs from a specific source environment in an archive MJ. DB mode only — --from-json ignores this flag.",
|
|
3860
|
+
"name": "tag",
|
|
3861
|
+
"hasDynamicHelp": false,
|
|
3862
|
+
"multiple": false,
|
|
3863
|
+
"type": "option"
|
|
3814
3864
|
}
|
|
3815
3865
|
},
|
|
3816
3866
|
"hasDynamicHelp": false,
|
|
3817
3867
|
"hiddenAliases": [],
|
|
3818
|
-
"id": "
|
|
3868
|
+
"id": "test:compare",
|
|
3819
3869
|
"pluginAlias": "@memberjunction/cli",
|
|
3820
3870
|
"pluginName": "@memberjunction/cli",
|
|
3821
3871
|
"pluginType": "core",
|
|
@@ -3825,69 +3875,90 @@
|
|
|
3825
3875
|
"relativePath": [
|
|
3826
3876
|
"dist",
|
|
3827
3877
|
"commands",
|
|
3828
|
-
"
|
|
3829
|
-
"
|
|
3878
|
+
"test",
|
|
3879
|
+
"compare.js"
|
|
3830
3880
|
]
|
|
3831
3881
|
},
|
|
3832
|
-
"
|
|
3882
|
+
"test:history": {
|
|
3833
3883
|
"aliases": [],
|
|
3834
3884
|
"args": {},
|
|
3835
|
-
"description": "
|
|
3885
|
+
"description": "View test execution history",
|
|
3836
3886
|
"examples": [
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3887
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3888
|
+
"<%= config.bin %> <%= command.id %> --test=<test-id>",
|
|
3889
|
+
"<%= config.bin %> <%= command.id %> --suite=<suite-id>",
|
|
3890
|
+
"<%= config.bin %> <%= command.id %> --since=\"2024-01-01\"",
|
|
3891
|
+
"<%= config.bin %> <%= command.id %> --limit=50"
|
|
3892
|
+
],
|
|
3893
|
+
"flags": {
|
|
3894
|
+
"test": {
|
|
3895
|
+
"char": "t",
|
|
3896
|
+
"description": "Filter by test ID",
|
|
3897
|
+
"name": "test",
|
|
3898
|
+
"hasDynamicHelp": false,
|
|
3899
|
+
"multiple": false,
|
|
3900
|
+
"type": "option"
|
|
3840
3901
|
},
|
|
3841
|
-
{
|
|
3842
|
-
"
|
|
3843
|
-
"description": "
|
|
3902
|
+
"recent": {
|
|
3903
|
+
"char": "r",
|
|
3904
|
+
"description": "Number of recent runs to show",
|
|
3905
|
+
"name": "recent",
|
|
3906
|
+
"hasDynamicHelp": false,
|
|
3907
|
+
"multiple": false,
|
|
3908
|
+
"type": "option"
|
|
3844
3909
|
},
|
|
3845
|
-
{
|
|
3846
|
-
"
|
|
3847
|
-
"
|
|
3910
|
+
"from": {
|
|
3911
|
+
"description": "Show history from date (YYYY-MM-DD)",
|
|
3912
|
+
"name": "from",
|
|
3913
|
+
"hasDynamicHelp": false,
|
|
3914
|
+
"multiple": false,
|
|
3915
|
+
"type": "option"
|
|
3848
3916
|
},
|
|
3849
|
-
{
|
|
3850
|
-
"
|
|
3851
|
-
"description": "
|
|
3852
|
-
|
|
3853
|
-
],
|
|
3854
|
-
"flags": {
|
|
3855
|
-
"setup-entity": {
|
|
3856
|
-
"description": "Which entity directory to set up. Use \"no\" to skip.",
|
|
3857
|
-
"name": "setup-entity",
|
|
3917
|
+
"status": {
|
|
3918
|
+
"char": "s",
|
|
3919
|
+
"description": "Filter by status",
|
|
3920
|
+
"name": "status",
|
|
3858
3921
|
"hasDynamicHelp": false,
|
|
3859
3922
|
"multiple": false,
|
|
3860
|
-
"options": [
|
|
3861
|
-
"ai-prompts",
|
|
3862
|
-
"other",
|
|
3863
|
-
"no"
|
|
3864
|
-
],
|
|
3865
3923
|
"type": "option"
|
|
3866
3924
|
},
|
|
3867
|
-
"
|
|
3868
|
-
"
|
|
3869
|
-
"
|
|
3925
|
+
"format": {
|
|
3926
|
+
"char": "f",
|
|
3927
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
3928
|
+
"name": "format",
|
|
3870
3929
|
"hasDynamicHelp": false,
|
|
3871
3930
|
"multiple": false,
|
|
3931
|
+
"options": [
|
|
3932
|
+
"text",
|
|
3933
|
+
"json",
|
|
3934
|
+
"md",
|
|
3935
|
+
"human",
|
|
3936
|
+
"console",
|
|
3937
|
+
"markdown",
|
|
3938
|
+
"compact",
|
|
3939
|
+
"table"
|
|
3940
|
+
],
|
|
3872
3941
|
"type": "option"
|
|
3873
3942
|
},
|
|
3874
|
-
"
|
|
3875
|
-
"
|
|
3876
|
-
"
|
|
3943
|
+
"output": {
|
|
3944
|
+
"char": "o",
|
|
3945
|
+
"description": "Output file path",
|
|
3946
|
+
"name": "output",
|
|
3877
3947
|
"hasDynamicHelp": false,
|
|
3878
3948
|
"multiple": false,
|
|
3879
3949
|
"type": "option"
|
|
3880
3950
|
},
|
|
3881
|
-
"
|
|
3882
|
-
"
|
|
3883
|
-
"
|
|
3884
|
-
"
|
|
3951
|
+
"verbose": {
|
|
3952
|
+
"char": "v",
|
|
3953
|
+
"description": "Show detailed information",
|
|
3954
|
+
"name": "verbose",
|
|
3955
|
+
"allowNo": false,
|
|
3885
3956
|
"type": "boolean"
|
|
3886
3957
|
}
|
|
3887
3958
|
},
|
|
3888
3959
|
"hasDynamicHelp": false,
|
|
3889
3960
|
"hiddenAliases": [],
|
|
3890
|
-
"id": "
|
|
3961
|
+
"id": "test:history",
|
|
3891
3962
|
"pluginAlias": "@memberjunction/cli",
|
|
3892
3963
|
"pluginName": "@memberjunction/cli",
|
|
3893
3964
|
"pluginType": "core",
|
|
@@ -3897,162 +3968,220 @@
|
|
|
3897
3968
|
"relativePath": [
|
|
3898
3969
|
"dist",
|
|
3899
3970
|
"commands",
|
|
3900
|
-
"
|
|
3901
|
-
"
|
|
3971
|
+
"test",
|
|
3972
|
+
"history.js"
|
|
3902
3973
|
]
|
|
3903
3974
|
},
|
|
3904
|
-
"
|
|
3975
|
+
"test": {
|
|
3905
3976
|
"aliases": [],
|
|
3906
3977
|
"args": {},
|
|
3907
|
-
"description": "
|
|
3978
|
+
"description": "MemberJunction Testing Framework - Execute and manage tests",
|
|
3908
3979
|
"examples": [
|
|
3909
|
-
"<%= config.bin %> <%= command.id %>
|
|
3910
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3911
|
-
"<%= config.bin %> <%= command.id %>
|
|
3980
|
+
"<%= config.bin %> <%= command.id %> run <test-id>",
|
|
3981
|
+
"<%= config.bin %> <%= command.id %> run --name=\"Active Members Count\"",
|
|
3982
|
+
"<%= config.bin %> <%= command.id %> suite <suite-id>",
|
|
3983
|
+
"<%= config.bin %> <%= command.id %> list",
|
|
3984
|
+
"<%= config.bin %> <%= command.id %> list --suites",
|
|
3985
|
+
"<%= config.bin %> <%= command.id %> validate --all"
|
|
3986
|
+
],
|
|
3987
|
+
"flags": {},
|
|
3988
|
+
"hasDynamicHelp": false,
|
|
3989
|
+
"hiddenAliases": [],
|
|
3990
|
+
"id": "test",
|
|
3991
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3992
|
+
"pluginName": "@memberjunction/cli",
|
|
3993
|
+
"pluginType": "core",
|
|
3994
|
+
"strict": true,
|
|
3995
|
+
"enableJsonFlag": false,
|
|
3996
|
+
"isESM": true,
|
|
3997
|
+
"relativePath": [
|
|
3998
|
+
"dist",
|
|
3999
|
+
"commands",
|
|
4000
|
+
"test",
|
|
4001
|
+
"index.js"
|
|
4002
|
+
]
|
|
4003
|
+
},
|
|
4004
|
+
"test:list": {
|
|
4005
|
+
"aliases": [],
|
|
4006
|
+
"args": {},
|
|
4007
|
+
"description": "List available tests, suites, and types",
|
|
4008
|
+
"examples": [
|
|
4009
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4010
|
+
"<%= config.bin %> <%= command.id %> --suites",
|
|
4011
|
+
"<%= config.bin %> <%= command.id %> --types",
|
|
4012
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
4013
|
+
"<%= config.bin %> <%= command.id %> --tag=smoke",
|
|
4014
|
+
"<%= config.bin %> <%= command.id %> --status=active --verbose"
|
|
3912
4015
|
],
|
|
3913
4016
|
"flags": {
|
|
3914
|
-
"
|
|
3915
|
-
"description": "
|
|
3916
|
-
"name": "
|
|
3917
|
-
"hasDynamicHelp": false,
|
|
3918
|
-
"multiple": false,
|
|
3919
|
-
"options": [
|
|
3920
|
-
"text",
|
|
3921
|
-
"json",
|
|
3922
|
-
"md",
|
|
3923
|
-
"human",
|
|
3924
|
-
"console",
|
|
3925
|
-
"markdown"
|
|
3926
|
-
],
|
|
3927
|
-
"type": "option"
|
|
3928
|
-
},
|
|
3929
|
-
"verbose": {
|
|
3930
|
-
"char": "v",
|
|
3931
|
-
"description": "Show detailed output",
|
|
3932
|
-
"name": "verbose",
|
|
3933
|
-
"allowNo": false,
|
|
3934
|
-
"type": "boolean"
|
|
3935
|
-
},
|
|
3936
|
-
"no-banner": {
|
|
3937
|
-
"description": "Suppress the startup banner and runtime advisory",
|
|
3938
|
-
"name": "no-banner",
|
|
4017
|
+
"suites": {
|
|
4018
|
+
"description": "List test suites instead of tests",
|
|
4019
|
+
"name": "suites",
|
|
3939
4020
|
"allowNo": false,
|
|
3940
4021
|
"type": "boolean"
|
|
3941
4022
|
},
|
|
3942
|
-
"
|
|
3943
|
-
"description": "
|
|
3944
|
-
"name": "
|
|
4023
|
+
"types": {
|
|
4024
|
+
"description": "List test types",
|
|
4025
|
+
"name": "types",
|
|
3945
4026
|
"allowNo": false,
|
|
3946
4027
|
"type": "boolean"
|
|
3947
4028
|
},
|
|
3948
|
-
"
|
|
3949
|
-
"
|
|
3950
|
-
"
|
|
3951
|
-
"
|
|
3952
|
-
"type": "boolean"
|
|
3953
|
-
},
|
|
3954
|
-
"entity": {
|
|
3955
|
-
"description": "Entity name to pull",
|
|
3956
|
-
"name": "entity",
|
|
3957
|
-
"required": true,
|
|
4029
|
+
"type": {
|
|
4030
|
+
"char": "t",
|
|
4031
|
+
"description": "Filter by test type",
|
|
4032
|
+
"name": "type",
|
|
3958
4033
|
"hasDynamicHelp": false,
|
|
3959
4034
|
"multiple": false,
|
|
3960
4035
|
"type": "option"
|
|
3961
4036
|
},
|
|
3962
|
-
"
|
|
3963
|
-
"description": "
|
|
3964
|
-
"name": "
|
|
4037
|
+
"tag": {
|
|
4038
|
+
"description": "Filter by tag",
|
|
4039
|
+
"name": "tag",
|
|
3965
4040
|
"hasDynamicHelp": false,
|
|
3966
4041
|
"multiple": false,
|
|
3967
4042
|
"type": "option"
|
|
3968
4043
|
},
|
|
3969
|
-
"
|
|
3970
|
-
"
|
|
3971
|
-
"
|
|
3972
|
-
"
|
|
3973
|
-
"type": "boolean"
|
|
3974
|
-
},
|
|
3975
|
-
"multi-file": {
|
|
3976
|
-
"description": "Create a single file with multiple records (provide filename)",
|
|
3977
|
-
"name": "multi-file",
|
|
4044
|
+
"status": {
|
|
4045
|
+
"char": "s",
|
|
4046
|
+
"description": "Filter by status",
|
|
4047
|
+
"name": "status",
|
|
3978
4048
|
"hasDynamicHelp": false,
|
|
3979
4049
|
"multiple": false,
|
|
3980
4050
|
"type": "option"
|
|
3981
4051
|
},
|
|
3982
|
-
"
|
|
3983
|
-
"
|
|
3984
|
-
"
|
|
3985
|
-
"
|
|
3986
|
-
"type": "boolean"
|
|
3987
|
-
},
|
|
3988
|
-
"update-existing": {
|
|
3989
|
-
"description": "Update existing records during pull",
|
|
3990
|
-
"name": "update-existing",
|
|
3991
|
-
"allowNo": false,
|
|
3992
|
-
"type": "boolean"
|
|
3993
|
-
},
|
|
3994
|
-
"create-new": {
|
|
3995
|
-
"description": "Create new files for records not found locally",
|
|
3996
|
-
"name": "create-new",
|
|
3997
|
-
"allowNo": false,
|
|
3998
|
-
"type": "boolean"
|
|
3999
|
-
},
|
|
4000
|
-
"backup-before-update": {
|
|
4001
|
-
"description": "Create backups before updating files",
|
|
4002
|
-
"name": "backup-before-update",
|
|
4003
|
-
"allowNo": false,
|
|
4004
|
-
"type": "boolean"
|
|
4005
|
-
},
|
|
4006
|
-
"merge-strategy": {
|
|
4007
|
-
"description": "Merge strategy for updates",
|
|
4008
|
-
"name": "merge-strategy",
|
|
4009
|
-
"default": "merge",
|
|
4052
|
+
"format": {
|
|
4053
|
+
"char": "f",
|
|
4054
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
4055
|
+
"name": "format",
|
|
4010
4056
|
"hasDynamicHelp": false,
|
|
4011
4057
|
"multiple": false,
|
|
4012
4058
|
"options": [
|
|
4013
|
-
"
|
|
4014
|
-
"
|
|
4015
|
-
"
|
|
4059
|
+
"text",
|
|
4060
|
+
"json",
|
|
4061
|
+
"md",
|
|
4062
|
+
"human",
|
|
4063
|
+
"console",
|
|
4064
|
+
"markdown",
|
|
4065
|
+
"compact",
|
|
4066
|
+
"table"
|
|
4016
4067
|
],
|
|
4017
4068
|
"type": "option"
|
|
4018
4069
|
},
|
|
4019
|
-
"
|
|
4020
|
-
"
|
|
4021
|
-
"
|
|
4070
|
+
"output": {
|
|
4071
|
+
"char": "o",
|
|
4072
|
+
"description": "Output file path",
|
|
4073
|
+
"name": "output",
|
|
4022
4074
|
"hasDynamicHelp": false,
|
|
4023
4075
|
"multiple": false,
|
|
4024
4076
|
"type": "option"
|
|
4025
4077
|
},
|
|
4026
|
-
"
|
|
4027
|
-
"
|
|
4028
|
-
"
|
|
4078
|
+
"verbose": {
|
|
4079
|
+
"char": "v",
|
|
4080
|
+
"description": "Show detailed information",
|
|
4081
|
+
"name": "verbose",
|
|
4082
|
+
"allowNo": false,
|
|
4083
|
+
"type": "boolean"
|
|
4084
|
+
}
|
|
4085
|
+
},
|
|
4086
|
+
"hasDynamicHelp": false,
|
|
4087
|
+
"hiddenAliases": [],
|
|
4088
|
+
"id": "test:list",
|
|
4089
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4090
|
+
"pluginName": "@memberjunction/cli",
|
|
4091
|
+
"pluginType": "core",
|
|
4092
|
+
"strict": true,
|
|
4093
|
+
"enableJsonFlag": false,
|
|
4094
|
+
"isESM": true,
|
|
4095
|
+
"relativePath": [
|
|
4096
|
+
"dist",
|
|
4097
|
+
"commands",
|
|
4098
|
+
"test",
|
|
4099
|
+
"list.js"
|
|
4100
|
+
]
|
|
4101
|
+
},
|
|
4102
|
+
"test:run": {
|
|
4103
|
+
"aliases": [],
|
|
4104
|
+
"args": {
|
|
4105
|
+
"testId": {
|
|
4106
|
+
"description": "Test ID to execute",
|
|
4107
|
+
"name": "testId",
|
|
4108
|
+
"required": false
|
|
4109
|
+
}
|
|
4110
|
+
},
|
|
4111
|
+
"description": "Execute a single test by ID or name",
|
|
4112
|
+
"examples": [
|
|
4113
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
4114
|
+
"<%= config.bin %> <%= command.id %> --name=\"Active Members Count\"",
|
|
4115
|
+
"<%= config.bin %> <%= command.id %> <test-id> --environment=staging",
|
|
4116
|
+
"<%= config.bin %> <%= command.id %> <test-id> --format=json --output=results.json",
|
|
4117
|
+
"<%= config.bin %> <%= command.id %> <test-id> --dry-run"
|
|
4118
|
+
],
|
|
4119
|
+
"flags": {
|
|
4120
|
+
"name": {
|
|
4121
|
+
"char": "n",
|
|
4122
|
+
"description": "Test name to execute",
|
|
4123
|
+
"name": "name",
|
|
4029
4124
|
"hasDynamicHelp": false,
|
|
4030
|
-
"multiple":
|
|
4125
|
+
"multiple": false,
|
|
4031
4126
|
"type": "option"
|
|
4032
4127
|
},
|
|
4033
|
-
"
|
|
4034
|
-
"
|
|
4035
|
-
"
|
|
4128
|
+
"environment": {
|
|
4129
|
+
"char": "e",
|
|
4130
|
+
"description": "Environment context (dev, staging, prod)",
|
|
4131
|
+
"name": "environment",
|
|
4036
4132
|
"hasDynamicHelp": false,
|
|
4037
|
-
"multiple":
|
|
4133
|
+
"multiple": false,
|
|
4038
4134
|
"type": "option"
|
|
4039
4135
|
},
|
|
4040
|
-
"
|
|
4041
|
-
"
|
|
4042
|
-
"
|
|
4136
|
+
"format": {
|
|
4137
|
+
"char": "f",
|
|
4138
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
4139
|
+
"name": "format",
|
|
4140
|
+
"hasDynamicHelp": false,
|
|
4141
|
+
"multiple": false,
|
|
4142
|
+
"options": [
|
|
4143
|
+
"text",
|
|
4144
|
+
"json",
|
|
4145
|
+
"md",
|
|
4146
|
+
"human",
|
|
4147
|
+
"console",
|
|
4148
|
+
"markdown",
|
|
4149
|
+
"compact",
|
|
4150
|
+
"table"
|
|
4151
|
+
],
|
|
4152
|
+
"type": "option"
|
|
4153
|
+
},
|
|
4154
|
+
"output": {
|
|
4155
|
+
"char": "o",
|
|
4156
|
+
"description": "Output file path",
|
|
4157
|
+
"name": "output",
|
|
4043
4158
|
"hasDynamicHelp": false,
|
|
4044
4159
|
"multiple": false,
|
|
4045
4160
|
"type": "option"
|
|
4046
4161
|
},
|
|
4047
|
-
"
|
|
4048
|
-
"description": "
|
|
4049
|
-
"name": "
|
|
4162
|
+
"dry-run": {
|
|
4163
|
+
"description": "Validate without executing",
|
|
4164
|
+
"name": "dry-run",
|
|
4050
4165
|
"allowNo": false,
|
|
4051
4166
|
"type": "boolean"
|
|
4052
4167
|
},
|
|
4053
|
-
"
|
|
4054
|
-
"
|
|
4055
|
-
"
|
|
4168
|
+
"verbose": {
|
|
4169
|
+
"char": "v",
|
|
4170
|
+
"description": "Show detailed execution information",
|
|
4171
|
+
"name": "verbose",
|
|
4172
|
+
"allowNo": false,
|
|
4173
|
+
"type": "boolean"
|
|
4174
|
+
},
|
|
4175
|
+
"checks-module": {
|
|
4176
|
+
"description": "Module specifier (package name or path) side-effect-imported before the run so its integration check bundles register on the IntegrationCheckRegistry. Durable form: mj.config.cjs `testing.checkModules` (this repo loads '@memberjunction/integration-test-suite' that way).",
|
|
4177
|
+
"name": "checks-module",
|
|
4178
|
+
"hasDynamicHelp": false,
|
|
4179
|
+
"multiple": false,
|
|
4180
|
+
"type": "option"
|
|
4181
|
+
},
|
|
4182
|
+
"oracles-module": {
|
|
4183
|
+
"description": "Path to a JS/TS module that exports custom IOracle classes or instances. Each export is registered on the engine before the test runs — used by non-MJ adopters to plug app-specific oracle types without modifying TestingFramework.",
|
|
4184
|
+
"name": "oracles-module",
|
|
4056
4185
|
"hasDynamicHelp": false,
|
|
4057
4186
|
"multiple": false,
|
|
4058
4187
|
"type": "option"
|
|
@@ -4060,75 +4189,48 @@
|
|
|
4060
4189
|
},
|
|
4061
4190
|
"hasDynamicHelp": false,
|
|
4062
4191
|
"hiddenAliases": [],
|
|
4063
|
-
"id": "
|
|
4192
|
+
"id": "test:run",
|
|
4064
4193
|
"pluginAlias": "@memberjunction/cli",
|
|
4065
4194
|
"pluginName": "@memberjunction/cli",
|
|
4066
4195
|
"pluginType": "core",
|
|
4067
4196
|
"strict": true,
|
|
4068
4197
|
"enableJsonFlag": false,
|
|
4069
|
-
"Usage": {
|
|
4070
|
-
"domain": "sync",
|
|
4071
|
-
"command": "sync:pull",
|
|
4072
|
-
"summary": "Pull database records into local metadata files.",
|
|
4073
|
-
"description": "Writes records of --entity into the matching entity directory, creating or updating files per the merge strategy.",
|
|
4074
|
-
"flags": [
|
|
4075
|
-
{
|
|
4076
|
-
"name": "--entity",
|
|
4077
|
-
"type": "string",
|
|
4078
|
-
"description": "Entity name to pull (required)"
|
|
4079
|
-
},
|
|
4080
|
-
{
|
|
4081
|
-
"name": "--filter",
|
|
4082
|
-
"type": "string",
|
|
4083
|
-
"description": "Extra SQL filter for which records to pull"
|
|
4084
|
-
},
|
|
4085
|
-
{
|
|
4086
|
-
"name": "--merge-strategy",
|
|
4087
|
-
"type": "merge|overwrite|skip",
|
|
4088
|
-
"description": "How to reconcile existing files"
|
|
4089
|
-
},
|
|
4090
|
-
{
|
|
4091
|
-
"name": "--dry-run",
|
|
4092
|
-
"type": "boolean",
|
|
4093
|
-
"description": "Report what would be pulled without writing"
|
|
4094
|
-
},
|
|
4095
|
-
{
|
|
4096
|
-
"name": "--format",
|
|
4097
|
-
"type": "text|json|md",
|
|
4098
|
-
"description": "Output format (json for machine-readable result)"
|
|
4099
|
-
}
|
|
4100
|
-
],
|
|
4101
|
-
"examples": [
|
|
4102
|
-
"mj sync pull --entity=\"MJ: AI Prompts\"",
|
|
4103
|
-
"mj sync pull --entity=\"Actions\" --format=json"
|
|
4104
|
-
],
|
|
4105
|
-
"runtime": {
|
|
4106
|
-
"class": "variable",
|
|
4107
|
-
"typicalSeconds": 15,
|
|
4108
|
-
"note": "scales with number of records matched for --entity"
|
|
4109
|
-
}
|
|
4110
|
-
},
|
|
4111
4198
|
"isESM": true,
|
|
4112
4199
|
"relativePath": [
|
|
4113
4200
|
"dist",
|
|
4114
4201
|
"commands",
|
|
4115
|
-
"
|
|
4116
|
-
"
|
|
4202
|
+
"test",
|
|
4203
|
+
"run.js"
|
|
4117
4204
|
]
|
|
4118
4205
|
},
|
|
4119
|
-
"
|
|
4206
|
+
"test:suite": {
|
|
4120
4207
|
"aliases": [],
|
|
4121
|
-
"args": {
|
|
4122
|
-
|
|
4208
|
+
"args": {
|
|
4209
|
+
"suiteId": {
|
|
4210
|
+
"description": "Test suite ID to execute",
|
|
4211
|
+
"name": "suiteId",
|
|
4212
|
+
"required": false
|
|
4213
|
+
}
|
|
4214
|
+
},
|
|
4215
|
+
"description": "Execute a test suite",
|
|
4123
4216
|
"examples": [
|
|
4124
|
-
"<%= config.bin %> <%= command.id %>",
|
|
4125
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4126
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4127
|
-
"<%= config.bin %> <%= command.id %>
|
|
4217
|
+
"<%= config.bin %> <%= command.id %> <suite-id>",
|
|
4218
|
+
"<%= config.bin %> <%= command.id %> --name=\"Agent Quality Suite\"",
|
|
4219
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --format=json",
|
|
4220
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json"
|
|
4128
4221
|
],
|
|
4129
4222
|
"flags": {
|
|
4223
|
+
"name": {
|
|
4224
|
+
"char": "n",
|
|
4225
|
+
"description": "Test suite name to execute",
|
|
4226
|
+
"name": "name",
|
|
4227
|
+
"hasDynamicHelp": false,
|
|
4228
|
+
"multiple": false,
|
|
4229
|
+
"type": "option"
|
|
4230
|
+
},
|
|
4130
4231
|
"format": {
|
|
4131
|
-
"
|
|
4232
|
+
"char": "f",
|
|
4233
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
4132
4234
|
"name": "format",
|
|
4133
4235
|
"hasDynamicHelp": false,
|
|
4134
4236
|
"multiple": false,
|
|
@@ -4138,198 +4240,68 @@
|
|
|
4138
4240
|
"md",
|
|
4139
4241
|
"human",
|
|
4140
4242
|
"console",
|
|
4141
|
-
"markdown"
|
|
4243
|
+
"markdown",
|
|
4244
|
+
"compact",
|
|
4245
|
+
"table"
|
|
4142
4246
|
],
|
|
4143
4247
|
"type": "option"
|
|
4144
4248
|
},
|
|
4249
|
+
"output": {
|
|
4250
|
+
"char": "o",
|
|
4251
|
+
"description": "Output file path",
|
|
4252
|
+
"name": "output",
|
|
4253
|
+
"hasDynamicHelp": false,
|
|
4254
|
+
"multiple": false,
|
|
4255
|
+
"type": "option"
|
|
4256
|
+
},
|
|
4145
4257
|
"verbose": {
|
|
4146
4258
|
"char": "v",
|
|
4147
|
-
"description": "Show detailed
|
|
4259
|
+
"description": "Show detailed execution information",
|
|
4148
4260
|
"name": "verbose",
|
|
4149
4261
|
"allowNo": false,
|
|
4150
4262
|
"type": "boolean"
|
|
4151
4263
|
},
|
|
4152
|
-
"
|
|
4153
|
-
"
|
|
4154
|
-
"
|
|
4155
|
-
"
|
|
4156
|
-
"
|
|
4264
|
+
"delay": {
|
|
4265
|
+
"char": "d",
|
|
4266
|
+
"description": "Delay in milliseconds between test executions (avoids Auth0 rate limits)",
|
|
4267
|
+
"name": "delay",
|
|
4268
|
+
"default": 0,
|
|
4269
|
+
"hasDynamicHelp": false,
|
|
4270
|
+
"multiple": false,
|
|
4271
|
+
"type": "option"
|
|
4157
4272
|
},
|
|
4158
|
-
"
|
|
4159
|
-
"
|
|
4160
|
-
"
|
|
4273
|
+
"parallel": {
|
|
4274
|
+
"char": "p",
|
|
4275
|
+
"description": "Run tests in parallel with shared browser sessions",
|
|
4276
|
+
"name": "parallel",
|
|
4161
4277
|
"allowNo": false,
|
|
4162
4278
|
"type": "boolean"
|
|
4163
4279
|
},
|
|
4164
|
-
"
|
|
4165
|
-
"description": "
|
|
4166
|
-
"name": "
|
|
4167
|
-
"
|
|
4168
|
-
"type": "boolean"
|
|
4169
|
-
},
|
|
4170
|
-
"dir": {
|
|
4171
|
-
"description": "Specific entity directory to push",
|
|
4172
|
-
"name": "dir",
|
|
4280
|
+
"max-parallel": {
|
|
4281
|
+
"description": "Maximum number of parallel workers (default 4)",
|
|
4282
|
+
"name": "max-parallel",
|
|
4283
|
+
"default": 4,
|
|
4173
4284
|
"hasDynamicHelp": false,
|
|
4174
4285
|
"multiple": false,
|
|
4175
4286
|
"type": "option"
|
|
4176
4287
|
},
|
|
4177
|
-
"
|
|
4178
|
-
"description": "
|
|
4179
|
-
"name": "
|
|
4180
|
-
"
|
|
4181
|
-
"
|
|
4288
|
+
"flaky-check": {
|
|
4289
|
+
"description": "Run each test N times to detect flakiness (variance > 0.3 or mixed pass/fail = flaky). Recommended: 3 or 5",
|
|
4290
|
+
"name": "flaky-check",
|
|
4291
|
+
"hasDynamicHelp": false,
|
|
4292
|
+
"multiple": false,
|
|
4293
|
+
"type": "option"
|
|
4182
4294
|
},
|
|
4183
|
-
"
|
|
4184
|
-
"description": "
|
|
4185
|
-
"name": "
|
|
4186
|
-
"allowNo": false,
|
|
4187
|
-
"type": "boolean"
|
|
4188
|
-
},
|
|
4189
|
-
"no-validate": {
|
|
4190
|
-
"description": "Skip validation before push",
|
|
4191
|
-
"name": "no-validate",
|
|
4192
|
-
"allowNo": false,
|
|
4193
|
-
"type": "boolean"
|
|
4194
|
-
},
|
|
4195
|
-
"delete-db-only": {
|
|
4196
|
-
"description": "Delete database-only records that reference records being deleted (prevents FK errors)",
|
|
4197
|
-
"name": "delete-db-only",
|
|
4198
|
-
"allowNo": false,
|
|
4199
|
-
"type": "boolean"
|
|
4200
|
-
},
|
|
4201
|
-
"parallel-batch-size": {
|
|
4202
|
-
"description": "JSON-root graphs to process in parallel (default: 10, not 1)",
|
|
4203
|
-
"name": "parallel-batch-size",
|
|
4204
|
-
"default": 10,
|
|
4205
|
-
"hasDynamicHelp": false,
|
|
4206
|
-
"multiple": false,
|
|
4207
|
-
"type": "option"
|
|
4208
|
-
},
|
|
4209
|
-
"include": {
|
|
4210
|
-
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
4211
|
-
"name": "include",
|
|
4212
|
-
"hasDynamicHelp": false,
|
|
4213
|
-
"multiple": false,
|
|
4214
|
-
"type": "option"
|
|
4215
|
-
},
|
|
4216
|
-
"exclude": {
|
|
4217
|
-
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
4218
|
-
"name": "exclude",
|
|
4219
|
-
"hasDynamicHelp": false,
|
|
4220
|
-
"multiple": false,
|
|
4221
|
-
"type": "option"
|
|
4222
|
-
},
|
|
4223
|
-
"incremental": {
|
|
4224
|
-
"description": "Skip unchanged files using stored checksums from last push",
|
|
4225
|
-
"name": "incremental",
|
|
4226
|
-
"allowNo": false,
|
|
4227
|
-
"type": "boolean"
|
|
4228
|
-
},
|
|
4229
|
-
"change-detail": {
|
|
4230
|
-
"description": "Write a detailed per-record change report (primary keys + field diffs) to a file",
|
|
4231
|
-
"name": "change-detail",
|
|
4232
|
-
"allowNo": false,
|
|
4233
|
-
"type": "boolean"
|
|
4234
|
-
}
|
|
4235
|
-
},
|
|
4236
|
-
"hasDynamicHelp": false,
|
|
4237
|
-
"hiddenAliases": [],
|
|
4238
|
-
"id": "sync:push",
|
|
4239
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4240
|
-
"pluginName": "@memberjunction/cli",
|
|
4241
|
-
"pluginType": "core",
|
|
4242
|
-
"strict": true,
|
|
4243
|
-
"enableJsonFlag": false,
|
|
4244
|
-
"Usage": {
|
|
4245
|
-
"domain": "sync",
|
|
4246
|
-
"command": "sync:push",
|
|
4247
|
-
"summary": "Push local metadata files to the database (upsert).",
|
|
4248
|
-
"description": "Reads entity directories under --dir and creates/updates matching records. Runs validation first unless --no-validate.",
|
|
4249
|
-
"flags": [
|
|
4250
|
-
{
|
|
4251
|
-
"name": "--dir",
|
|
4252
|
-
"type": "string",
|
|
4253
|
-
"description": "Entity directory to push"
|
|
4254
|
-
},
|
|
4255
|
-
{
|
|
4256
|
-
"name": "--dry-run",
|
|
4257
|
-
"type": "boolean",
|
|
4258
|
-
"description": "Report what would change without writing"
|
|
4259
|
-
},
|
|
4260
|
-
{
|
|
4261
|
-
"name": "--ci",
|
|
4262
|
-
"type": "boolean",
|
|
4263
|
-
"description": "No prompts; non-zero exit on error"
|
|
4264
|
-
},
|
|
4265
|
-
{
|
|
4266
|
-
"name": "--no-validate",
|
|
4267
|
-
"type": "boolean",
|
|
4268
|
-
"description": "Skip pre-push validation"
|
|
4269
|
-
},
|
|
4270
|
-
{
|
|
4271
|
-
"name": "--incremental",
|
|
4272
|
-
"type": "boolean",
|
|
4273
|
-
"description": "Skip unchanged files using stored checksums"
|
|
4274
|
-
},
|
|
4275
|
-
{
|
|
4276
|
-
"name": "--format",
|
|
4277
|
-
"type": "text|json|md",
|
|
4278
|
-
"description": "Output format (json for machine-readable result)"
|
|
4279
|
-
}
|
|
4280
|
-
],
|
|
4281
|
-
"examples": [
|
|
4282
|
-
"mj sync push --dir=ai-agents",
|
|
4283
|
-
"mj sync push --ci --format=json"
|
|
4284
|
-
],
|
|
4285
|
-
"runtime": {
|
|
4286
|
-
"class": "variable",
|
|
4287
|
-
"typicalSeconds": 20,
|
|
4288
|
-
"note": "scales with number of records in --dir"
|
|
4289
|
-
}
|
|
4290
|
-
},
|
|
4291
|
-
"isESM": true,
|
|
4292
|
-
"relativePath": [
|
|
4293
|
-
"dist",
|
|
4294
|
-
"commands",
|
|
4295
|
-
"sync",
|
|
4296
|
-
"push.js"
|
|
4297
|
-
]
|
|
4298
|
-
},
|
|
4299
|
-
"sync:status": {
|
|
4300
|
-
"aliases": [],
|
|
4301
|
-
"args": {},
|
|
4302
|
-
"description": "Show status of local files vs database",
|
|
4303
|
-
"examples": [
|
|
4304
|
-
"<%= config.bin %> <%= command.id %>",
|
|
4305
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
4306
|
-
"<%= config.bin %> <%= command.id %> --verbose"
|
|
4307
|
-
],
|
|
4308
|
-
"flags": {
|
|
4309
|
-
"dir": {
|
|
4310
|
-
"description": "Specific entity directory to check status",
|
|
4311
|
-
"name": "dir",
|
|
4312
|
-
"hasDynamicHelp": false,
|
|
4313
|
-
"multiple": false,
|
|
4314
|
-
"type": "option"
|
|
4315
|
-
},
|
|
4316
|
-
"verbose": {
|
|
4317
|
-
"char": "v",
|
|
4318
|
-
"description": "Show detailed field-level differences",
|
|
4319
|
-
"name": "verbose",
|
|
4320
|
-
"allowNo": false,
|
|
4321
|
-
"type": "boolean"
|
|
4322
|
-
},
|
|
4323
|
-
"include": {
|
|
4324
|
-
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
4325
|
-
"name": "include",
|
|
4295
|
+
"checks-module": {
|
|
4296
|
+
"description": "Module specifier (package name or path) side-effect-imported before the run so its integration check bundles register on the IntegrationCheckRegistry. Durable form: mj.config.cjs `testing.checkModules` (this repo loads '@memberjunction/integration-test-suite' that way).",
|
|
4297
|
+
"name": "checks-module",
|
|
4326
4298
|
"hasDynamicHelp": false,
|
|
4327
4299
|
"multiple": false,
|
|
4328
4300
|
"type": "option"
|
|
4329
4301
|
},
|
|
4330
|
-
"
|
|
4331
|
-
"description": "
|
|
4332
|
-
"name": "
|
|
4302
|
+
"oracles-module": {
|
|
4303
|
+
"description": "Path to a JS/TS module that exports custom IOracle classes or instances. Each export is registered on the engine before the suite runs — used by non-MJ adopters to plug app-specific oracle types without modifying TestingFramework.",
|
|
4304
|
+
"name": "oracles-module",
|
|
4333
4305
|
"hasDynamicHelp": false,
|
|
4334
4306
|
"multiple": false,
|
|
4335
4307
|
"type": "option"
|
|
@@ -4337,7 +4309,7 @@
|
|
|
4337
4309
|
},
|
|
4338
4310
|
"hasDynamicHelp": false,
|
|
4339
4311
|
"hiddenAliases": [],
|
|
4340
|
-
"id": "
|
|
4312
|
+
"id": "test:suite",
|
|
4341
4313
|
"pluginAlias": "@memberjunction/cli",
|
|
4342
4314
|
"pluginName": "@memberjunction/cli",
|
|
4343
4315
|
"pluginType": "core",
|
|
@@ -4347,14 +4319,14 @@
|
|
|
4347
4319
|
"relativePath": [
|
|
4348
4320
|
"dist",
|
|
4349
4321
|
"commands",
|
|
4350
|
-
"
|
|
4351
|
-
"
|
|
4322
|
+
"test",
|
|
4323
|
+
"suite.js"
|
|
4352
4324
|
]
|
|
4353
4325
|
},
|
|
4354
|
-
"
|
|
4326
|
+
"test:usage": {
|
|
4355
4327
|
"aliases": [],
|
|
4356
4328
|
"args": {},
|
|
4357
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj
|
|
4329
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj test` command.",
|
|
4358
4330
|
"flags": {
|
|
4359
4331
|
"format": {
|
|
4360
4332
|
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
@@ -4371,7 +4343,7 @@
|
|
|
4371
4343
|
},
|
|
4372
4344
|
"hasDynamicHelp": false,
|
|
4373
4345
|
"hiddenAliases": [],
|
|
4374
|
-
"id": "
|
|
4346
|
+
"id": "test:usage",
|
|
4375
4347
|
"pluginAlias": "@memberjunction/cli",
|
|
4376
4348
|
"pluginName": "@memberjunction/cli",
|
|
4377
4349
|
"pluginType": "core",
|
|
@@ -4381,52 +4353,86 @@
|
|
|
4381
4353
|
"relativePath": [
|
|
4382
4354
|
"dist",
|
|
4383
4355
|
"commands",
|
|
4384
|
-
"
|
|
4356
|
+
"test",
|
|
4385
4357
|
"usage.js"
|
|
4386
4358
|
]
|
|
4387
4359
|
},
|
|
4388
|
-
"
|
|
4360
|
+
"test:validate": {
|
|
4389
4361
|
"aliases": [],
|
|
4390
|
-
"args": {
|
|
4391
|
-
|
|
4362
|
+
"args": {
|
|
4363
|
+
"testId": {
|
|
4364
|
+
"description": "Test ID to validate",
|
|
4365
|
+
"name": "testId",
|
|
4366
|
+
"required": false
|
|
4367
|
+
}
|
|
4368
|
+
},
|
|
4369
|
+
"description": "Validate test definitions without executing",
|
|
4392
4370
|
"examples": [
|
|
4393
|
-
"<%= config.bin %> <%= command.id %>",
|
|
4394
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4395
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4396
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4371
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
4372
|
+
"<%= config.bin %> <%= command.id %> --all",
|
|
4373
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
4374
|
+
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
4375
|
+
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
4397
4376
|
],
|
|
4398
4377
|
"flags": {
|
|
4399
|
-
"
|
|
4400
|
-
"
|
|
4401
|
-
"
|
|
4378
|
+
"all": {
|
|
4379
|
+
"char": "a",
|
|
4380
|
+
"description": "Validate all tests",
|
|
4381
|
+
"name": "all",
|
|
4382
|
+
"allowNo": false,
|
|
4383
|
+
"type": "boolean"
|
|
4384
|
+
},
|
|
4385
|
+
"type": {
|
|
4386
|
+
"char": "t",
|
|
4387
|
+
"description": "Validate tests by type",
|
|
4388
|
+
"name": "type",
|
|
4402
4389
|
"hasDynamicHelp": false,
|
|
4403
4390
|
"multiple": false,
|
|
4404
4391
|
"type": "option"
|
|
4405
4392
|
},
|
|
4406
|
-
"verbose": {
|
|
4407
|
-
"char": "v",
|
|
4408
|
-
"description": "Show detailed validation output",
|
|
4409
|
-
"name": "verbose",
|
|
4410
|
-
"allowNo": false,
|
|
4411
|
-
"type": "boolean"
|
|
4412
|
-
},
|
|
4413
4393
|
"save-report": {
|
|
4414
|
-
"description": "Save validation report
|
|
4394
|
+
"description": "Save validation report to file",
|
|
4415
4395
|
"name": "save-report",
|
|
4416
4396
|
"allowNo": false,
|
|
4417
4397
|
"type": "boolean"
|
|
4418
4398
|
},
|
|
4399
|
+
"format": {
|
|
4400
|
+
"char": "f",
|
|
4401
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
4402
|
+
"name": "format",
|
|
4403
|
+
"hasDynamicHelp": false,
|
|
4404
|
+
"multiple": false,
|
|
4405
|
+
"options": [
|
|
4406
|
+
"text",
|
|
4407
|
+
"json",
|
|
4408
|
+
"md",
|
|
4409
|
+
"human",
|
|
4410
|
+
"console",
|
|
4411
|
+
"markdown",
|
|
4412
|
+
"compact",
|
|
4413
|
+
"table"
|
|
4414
|
+
],
|
|
4415
|
+
"type": "option"
|
|
4416
|
+
},
|
|
4419
4417
|
"output": {
|
|
4420
|
-
"
|
|
4418
|
+
"char": "o",
|
|
4419
|
+
"description": "Output file path",
|
|
4421
4420
|
"name": "output",
|
|
4422
4421
|
"hasDynamicHelp": false,
|
|
4423
4422
|
"multiple": false,
|
|
4424
4423
|
"type": "option"
|
|
4424
|
+
},
|
|
4425
|
+
"verbose": {
|
|
4426
|
+
"char": "v",
|
|
4427
|
+
"description": "Show detailed information",
|
|
4428
|
+
"name": "verbose",
|
|
4429
|
+
"allowNo": false,
|
|
4430
|
+
"type": "boolean"
|
|
4425
4431
|
}
|
|
4426
4432
|
},
|
|
4427
4433
|
"hasDynamicHelp": false,
|
|
4428
4434
|
"hiddenAliases": [],
|
|
4429
|
-
"id": "
|
|
4435
|
+
"id": "test:validate",
|
|
4430
4436
|
"pluginAlias": "@memberjunction/cli",
|
|
4431
4437
|
"pluginName": "@memberjunction/cli",
|
|
4432
4438
|
"pluginType": "core",
|
|
@@ -4436,52 +4442,96 @@
|
|
|
4436
4442
|
"relativePath": [
|
|
4437
4443
|
"dist",
|
|
4438
4444
|
"commands",
|
|
4439
|
-
"
|
|
4445
|
+
"test",
|
|
4440
4446
|
"validate.js"
|
|
4441
4447
|
]
|
|
4442
4448
|
},
|
|
4443
|
-
"
|
|
4449
|
+
"translate-sql": {
|
|
4444
4450
|
"aliases": [],
|
|
4445
4451
|
"args": {},
|
|
4446
|
-
"description": "
|
|
4452
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
4447
4453
|
"examples": [
|
|
4448
|
-
"<%= config.bin %>
|
|
4449
|
-
"<%= config.bin %>
|
|
4450
|
-
"<%= config.bin %>
|
|
4451
|
-
"<%= config.bin %>
|
|
4454
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
4455
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
4456
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
4457
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
4452
4458
|
],
|
|
4453
4459
|
"flags": {
|
|
4454
|
-
"
|
|
4455
|
-
"description": "
|
|
4456
|
-
"name": "
|
|
4457
|
-
"
|
|
4460
|
+
"from": {
|
|
4461
|
+
"description": "Source SQL dialect",
|
|
4462
|
+
"name": "from",
|
|
4463
|
+
"required": true,
|
|
4464
|
+
"hasDynamicHelp": false,
|
|
4458
4465
|
"multiple": false,
|
|
4466
|
+
"options": [
|
|
4467
|
+
"sqlserver",
|
|
4468
|
+
"postgresql"
|
|
4469
|
+
],
|
|
4459
4470
|
"type": "option"
|
|
4460
4471
|
},
|
|
4461
|
-
"
|
|
4462
|
-
"description": "
|
|
4463
|
-
"name": "
|
|
4472
|
+
"to": {
|
|
4473
|
+
"description": "Target SQL dialect",
|
|
4474
|
+
"name": "to",
|
|
4475
|
+
"required": true,
|
|
4464
4476
|
"hasDynamicHelp": false,
|
|
4465
4477
|
"multiple": false,
|
|
4478
|
+
"options": [
|
|
4479
|
+
"sqlserver",
|
|
4480
|
+
"postgresql"
|
|
4481
|
+
],
|
|
4466
4482
|
"type": "option"
|
|
4467
4483
|
},
|
|
4468
|
-
"
|
|
4469
|
-
"description": "
|
|
4470
|
-
"name": "
|
|
4484
|
+
"scope": {
|
|
4485
|
+
"description": "What to scan for translation",
|
|
4486
|
+
"name": "scope",
|
|
4487
|
+
"default": "all",
|
|
4488
|
+
"hasDynamicHelp": false,
|
|
4489
|
+
"multiple": false,
|
|
4490
|
+
"options": [
|
|
4491
|
+
"queries",
|
|
4492
|
+
"views",
|
|
4493
|
+
"filters",
|
|
4494
|
+
"all"
|
|
4495
|
+
],
|
|
4496
|
+
"type": "option"
|
|
4497
|
+
},
|
|
4498
|
+
"sql": {
|
|
4499
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
4500
|
+
"name": "sql",
|
|
4501
|
+
"hasDynamicHelp": false,
|
|
4502
|
+
"multiple": false,
|
|
4503
|
+
"type": "option"
|
|
4504
|
+
},
|
|
4505
|
+
"dry-run": {
|
|
4506
|
+
"description": "Show what would be translated without making changes",
|
|
4507
|
+
"name": "dry-run",
|
|
4471
4508
|
"allowNo": false,
|
|
4472
4509
|
"type": "boolean"
|
|
4473
4510
|
},
|
|
4474
|
-
"
|
|
4475
|
-
"
|
|
4476
|
-
"
|
|
4477
|
-
"
|
|
4511
|
+
"review": {
|
|
4512
|
+
"description": "Generate review report only (no writes to database)",
|
|
4513
|
+
"name": "review",
|
|
4514
|
+
"allowNo": false,
|
|
4515
|
+
"type": "boolean"
|
|
4516
|
+
},
|
|
4517
|
+
"output": {
|
|
4518
|
+
"char": "o",
|
|
4519
|
+
"description": "Output directory for the translation report",
|
|
4520
|
+
"name": "output",
|
|
4521
|
+
"hasDynamicHelp": false,
|
|
4522
|
+
"multiple": false,
|
|
4523
|
+
"type": "option"
|
|
4524
|
+
},
|
|
4525
|
+
"force": {
|
|
4526
|
+
"description": "Re-translate even if platform variants already exist",
|
|
4527
|
+
"name": "force",
|
|
4478
4528
|
"allowNo": false,
|
|
4479
4529
|
"type": "boolean"
|
|
4480
4530
|
}
|
|
4481
4531
|
},
|
|
4482
4532
|
"hasDynamicHelp": false,
|
|
4483
4533
|
"hiddenAliases": [],
|
|
4484
|
-
"id": "
|
|
4534
|
+
"id": "translate-sql",
|
|
4485
4535
|
"pluginAlias": "@memberjunction/cli",
|
|
4486
4536
|
"pluginName": "@memberjunction/cli",
|
|
4487
4537
|
"pluginType": "core",
|
|
@@ -4491,114 +4541,31 @@
|
|
|
4491
4541
|
"relativePath": [
|
|
4492
4542
|
"dist",
|
|
4493
4543
|
"commands",
|
|
4494
|
-
"
|
|
4495
|
-
"
|
|
4544
|
+
"translate-sql",
|
|
4545
|
+
"index.js"
|
|
4496
4546
|
]
|
|
4497
4547
|
},
|
|
4498
|
-
"
|
|
4548
|
+
"translate-sql:usage": {
|
|
4499
4549
|
"aliases": [],
|
|
4500
|
-
"args": {
|
|
4501
|
-
|
|
4502
|
-
"description": "First test run ID to compare",
|
|
4503
|
-
"name": "runId1",
|
|
4504
|
-
"required": false
|
|
4505
|
-
},
|
|
4506
|
-
"runId2": {
|
|
4507
|
-
"description": "Second test run ID to compare",
|
|
4508
|
-
"name": "runId2",
|
|
4509
|
-
"required": false
|
|
4510
|
-
}
|
|
4511
|
-
},
|
|
4512
|
-
"description": "Compare test runs for regression detection",
|
|
4513
|
-
"examples": [
|
|
4514
|
-
"<%= config.bin %> <%= command.id %>",
|
|
4515
|
-
"<%= config.bin %> <%= command.id %> --latest",
|
|
4516
|
-
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
4517
|
-
"<%= config.bin %> <%= command.id %> -v 5.17.0 -v 5.18.0",
|
|
4518
|
-
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
4519
|
-
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
4520
|
-
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
4521
|
-
],
|
|
4550
|
+
"args": {},
|
|
4551
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj translate-sql` command.",
|
|
4522
4552
|
"flags": {
|
|
4523
|
-
"version": {
|
|
4524
|
-
"char": "v",
|
|
4525
|
-
"description": "Compare runs by version",
|
|
4526
|
-
"name": "version",
|
|
4527
|
-
"hasDynamicHelp": false,
|
|
4528
|
-
"multiple": true,
|
|
4529
|
-
"type": "option"
|
|
4530
|
-
},
|
|
4531
|
-
"commit": {
|
|
4532
|
-
"char": "c",
|
|
4533
|
-
"description": "Compare runs by git commit",
|
|
4534
|
-
"name": "commit",
|
|
4535
|
-
"hasDynamicHelp": false,
|
|
4536
|
-
"multiple": true,
|
|
4537
|
-
"type": "option"
|
|
4538
|
-
},
|
|
4539
|
-
"diff-only": {
|
|
4540
|
-
"description": "Show only differences",
|
|
4541
|
-
"name": "diff-only",
|
|
4542
|
-
"allowNo": false,
|
|
4543
|
-
"type": "boolean"
|
|
4544
|
-
},
|
|
4545
|
-
"latest": {
|
|
4546
|
-
"char": "l",
|
|
4547
|
-
"description": "Compare the two most recent completed suite runs",
|
|
4548
|
-
"name": "latest",
|
|
4549
|
-
"allowNo": false,
|
|
4550
|
-
"type": "boolean"
|
|
4551
|
-
},
|
|
4552
|
-
"from-json": {
|
|
4553
|
-
"description": "Compare two results.json files directly (no DB). Pass twice: --from-json PREV --from-json CURR",
|
|
4554
|
-
"name": "from-json",
|
|
4555
|
-
"hasDynamicHelp": false,
|
|
4556
|
-
"multiple": true,
|
|
4557
|
-
"type": "option"
|
|
4558
|
-
},
|
|
4559
4553
|
"format": {
|
|
4560
|
-
"
|
|
4561
|
-
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
4554
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
4562
4555
|
"name": "format",
|
|
4563
4556
|
"hasDynamicHelp": false,
|
|
4564
4557
|
"multiple": false,
|
|
4565
4558
|
"options": [
|
|
4566
4559
|
"text",
|
|
4567
4560
|
"json",
|
|
4568
|
-
"md"
|
|
4569
|
-
"human",
|
|
4570
|
-
"console",
|
|
4571
|
-
"markdown",
|
|
4572
|
-
"compact",
|
|
4573
|
-
"table"
|
|
4561
|
+
"md"
|
|
4574
4562
|
],
|
|
4575
4563
|
"type": "option"
|
|
4576
|
-
},
|
|
4577
|
-
"output": {
|
|
4578
|
-
"char": "o",
|
|
4579
|
-
"description": "Output file path",
|
|
4580
|
-
"name": "output",
|
|
4581
|
-
"hasDynamicHelp": false,
|
|
4582
|
-
"multiple": false,
|
|
4583
|
-
"type": "option"
|
|
4584
|
-
},
|
|
4585
|
-
"verbose": {
|
|
4586
|
-
"description": "Show detailed information",
|
|
4587
|
-
"name": "verbose",
|
|
4588
|
-
"allowNo": false,
|
|
4589
|
-
"type": "boolean"
|
|
4590
|
-
},
|
|
4591
|
-
"tag": {
|
|
4592
|
-
"description": "Filter suite runs by tag (matches against MJTestSuiteRunEntity.Tags). Useful for isolating runs from a specific source environment in an archive MJ. DB mode only — --from-json ignores this flag.",
|
|
4593
|
-
"name": "tag",
|
|
4594
|
-
"hasDynamicHelp": false,
|
|
4595
|
-
"multiple": false,
|
|
4596
|
-
"type": "option"
|
|
4597
4564
|
}
|
|
4598
4565
|
},
|
|
4599
4566
|
"hasDynamicHelp": false,
|
|
4600
4567
|
"hiddenAliases": [],
|
|
4601
|
-
"id": "
|
|
4568
|
+
"id": "translate-sql:usage",
|
|
4602
4569
|
"pluginAlias": "@memberjunction/cli",
|
|
4603
4570
|
"pluginName": "@memberjunction/cli",
|
|
4604
4571
|
"pluginType": "core",
|
|
@@ -4608,82 +4575,127 @@
|
|
|
4608
4575
|
"relativePath": [
|
|
4609
4576
|
"dist",
|
|
4610
4577
|
"commands",
|
|
4611
|
-
"
|
|
4612
|
-
"
|
|
4578
|
+
"translate-sql",
|
|
4579
|
+
"usage.js"
|
|
4613
4580
|
]
|
|
4614
4581
|
},
|
|
4615
|
-
"
|
|
4582
|
+
"update:claude": {
|
|
4616
4583
|
"aliases": [],
|
|
4617
4584
|
"args": {},
|
|
4618
|
-
"description": "
|
|
4585
|
+
"description": "Update the Claude Code pack in the current directory.",
|
|
4619
4586
|
"examples": [
|
|
4620
|
-
"<%= config.bin %>
|
|
4621
|
-
"<%= config.bin %>
|
|
4622
|
-
"<%= config.bin %>
|
|
4623
|
-
"<%= config.bin %>
|
|
4624
|
-
"<%= config.bin %>
|
|
4587
|
+
"<%= config.bin %> update:claude",
|
|
4588
|
+
"<%= config.bin %> update:claude --check",
|
|
4589
|
+
"<%= config.bin %> update:claude --refresh-commands",
|
|
4590
|
+
"<%= config.bin %> update:claude --allow-major",
|
|
4591
|
+
"<%= config.bin %> update:claude --json"
|
|
4625
4592
|
],
|
|
4626
4593
|
"flags": {
|
|
4627
|
-
"
|
|
4628
|
-
"
|
|
4629
|
-
"
|
|
4630
|
-
"
|
|
4594
|
+
"dir": {
|
|
4595
|
+
"description": "Target directory",
|
|
4596
|
+
"name": "dir",
|
|
4597
|
+
"default": ".",
|
|
4631
4598
|
"hasDynamicHelp": false,
|
|
4632
4599
|
"multiple": false,
|
|
4633
4600
|
"type": "option"
|
|
4634
4601
|
},
|
|
4635
|
-
"
|
|
4636
|
-
"
|
|
4637
|
-
"
|
|
4638
|
-
"name": "recent",
|
|
4602
|
+
"major": {
|
|
4603
|
+
"description": "Force a specific MJ major (default: detected from package.json)",
|
|
4604
|
+
"name": "major",
|
|
4639
4605
|
"hasDynamicHelp": false,
|
|
4640
4606
|
"multiple": false,
|
|
4641
4607
|
"type": "option"
|
|
4642
4608
|
},
|
|
4643
|
-
"
|
|
4644
|
-
"description": "
|
|
4645
|
-
"name": "
|
|
4609
|
+
"ref": {
|
|
4610
|
+
"description": "Git ref to fetch from (branch or tag). Default: main.",
|
|
4611
|
+
"name": "ref",
|
|
4646
4612
|
"hasDynamicHelp": false,
|
|
4647
4613
|
"multiple": false,
|
|
4648
4614
|
"type": "option"
|
|
4649
4615
|
},
|
|
4650
|
-
"
|
|
4651
|
-
"
|
|
4652
|
-
"
|
|
4653
|
-
"name": "status",
|
|
4616
|
+
"from": {
|
|
4617
|
+
"description": "Use a local pack source instead of fetching from GitHub",
|
|
4618
|
+
"name": "from",
|
|
4654
4619
|
"hasDynamicHelp": false,
|
|
4655
4620
|
"multiple": false,
|
|
4656
4621
|
"type": "option"
|
|
4657
4622
|
},
|
|
4658
|
-
"
|
|
4659
|
-
"
|
|
4660
|
-
"
|
|
4661
|
-
"
|
|
4662
|
-
"
|
|
4663
|
-
"multiple": false,
|
|
4664
|
-
"options": [
|
|
4665
|
-
"text",
|
|
4666
|
-
"json",
|
|
4667
|
-
"md",
|
|
4668
|
-
"human",
|
|
4669
|
-
"console",
|
|
4670
|
-
"markdown",
|
|
4671
|
-
"compact",
|
|
4672
|
-
"table"
|
|
4673
|
-
],
|
|
4674
|
-
"type": "option"
|
|
4623
|
+
"offline": {
|
|
4624
|
+
"description": "Forbid network; requires --from <path>",
|
|
4625
|
+
"name": "offline",
|
|
4626
|
+
"allowNo": false,
|
|
4627
|
+
"type": "boolean"
|
|
4675
4628
|
},
|
|
4676
|
-
"
|
|
4677
|
-
"
|
|
4678
|
-
"
|
|
4679
|
-
"
|
|
4680
|
-
"
|
|
4681
|
-
|
|
4682
|
-
|
|
4629
|
+
"dry-run": {
|
|
4630
|
+
"description": "Print what would be written; change nothing",
|
|
4631
|
+
"name": "dry-run",
|
|
4632
|
+
"allowNo": false,
|
|
4633
|
+
"type": "boolean"
|
|
4634
|
+
},
|
|
4635
|
+
"yes": {
|
|
4636
|
+
"char": "y",
|
|
4637
|
+
"description": "Don't prompt (reserved for future interactive paths; currently no-op)",
|
|
4638
|
+
"name": "yes",
|
|
4639
|
+
"allowNo": false,
|
|
4640
|
+
"type": "boolean"
|
|
4641
|
+
},
|
|
4642
|
+
"force": {
|
|
4643
|
+
"description": "Overwrite user-customized commands/skills (saves .bak files)",
|
|
4644
|
+
"name": "force",
|
|
4645
|
+
"allowNo": false,
|
|
4646
|
+
"type": "boolean"
|
|
4647
|
+
},
|
|
4648
|
+
"skip-commands": {
|
|
4649
|
+
"description": "Skip seeding .claude/commands/",
|
|
4650
|
+
"name": "skip-commands",
|
|
4651
|
+
"allowNo": false,
|
|
4652
|
+
"type": "boolean"
|
|
4653
|
+
},
|
|
4654
|
+
"skip-skills": {
|
|
4655
|
+
"description": "Skip seeding .claude/skills/",
|
|
4656
|
+
"name": "skip-skills",
|
|
4657
|
+
"allowNo": false,
|
|
4658
|
+
"type": "boolean"
|
|
4659
|
+
},
|
|
4660
|
+
"skip-settings": {
|
|
4661
|
+
"description": "Skip merging .claude/settings.json",
|
|
4662
|
+
"name": "skip-settings",
|
|
4663
|
+
"allowNo": false,
|
|
4664
|
+
"type": "boolean"
|
|
4665
|
+
},
|
|
4666
|
+
"check": {
|
|
4667
|
+
"description": "Compare local pack version to remote without writing anything",
|
|
4668
|
+
"name": "check",
|
|
4669
|
+
"allowNo": false,
|
|
4670
|
+
"type": "boolean"
|
|
4671
|
+
},
|
|
4672
|
+
"refresh-commands": {
|
|
4673
|
+
"description": "Force-resync .claude/commands/* from the pack (saves .bak files)",
|
|
4674
|
+
"name": "refresh-commands",
|
|
4675
|
+
"allowNo": false,
|
|
4676
|
+
"type": "boolean"
|
|
4677
|
+
},
|
|
4678
|
+
"refresh-skills": {
|
|
4679
|
+
"description": "Force-resync .claude/skills/** from the pack (saves .bak files)",
|
|
4680
|
+
"name": "refresh-skills",
|
|
4681
|
+
"allowNo": false,
|
|
4682
|
+
"type": "boolean"
|
|
4683
|
+
},
|
|
4684
|
+
"allow-major": {
|
|
4685
|
+
"description": "Allow the remote pack's major to differ from local MJ's major",
|
|
4686
|
+
"name": "allow-major",
|
|
4687
|
+
"allowNo": false,
|
|
4688
|
+
"type": "boolean"
|
|
4689
|
+
},
|
|
4690
|
+
"json": {
|
|
4691
|
+
"description": "Output as JSON (matches plan §7.5 schema)",
|
|
4692
|
+
"name": "json",
|
|
4693
|
+
"allowNo": false,
|
|
4694
|
+
"type": "boolean"
|
|
4683
4695
|
},
|
|
4684
4696
|
"verbose": {
|
|
4685
4697
|
"char": "v",
|
|
4686
|
-
"description": "Show
|
|
4698
|
+
"description": "Show progress messages",
|
|
4687
4699
|
"name": "verbose",
|
|
4688
4700
|
"allowNo": false,
|
|
4689
4701
|
"type": "boolean"
|
|
@@ -4691,7 +4703,41 @@
|
|
|
4691
4703
|
},
|
|
4692
4704
|
"hasDynamicHelp": false,
|
|
4693
4705
|
"hiddenAliases": [],
|
|
4694
|
-
"id": "
|
|
4706
|
+
"id": "update:claude",
|
|
4707
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4708
|
+
"pluginName": "@memberjunction/cli",
|
|
4709
|
+
"pluginType": "core",
|
|
4710
|
+
"strict": true,
|
|
4711
|
+
"enableJsonFlag": false,
|
|
4712
|
+
"isESM": true,
|
|
4713
|
+
"relativePath": [
|
|
4714
|
+
"dist",
|
|
4715
|
+
"commands",
|
|
4716
|
+
"update",
|
|
4717
|
+
"claude.js"
|
|
4718
|
+
]
|
|
4719
|
+
},
|
|
4720
|
+
"update:usage": {
|
|
4721
|
+
"aliases": [],
|
|
4722
|
+
"args": {},
|
|
4723
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj update` command.",
|
|
4724
|
+
"flags": {
|
|
4725
|
+
"format": {
|
|
4726
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
4727
|
+
"name": "format",
|
|
4728
|
+
"hasDynamicHelp": false,
|
|
4729
|
+
"multiple": false,
|
|
4730
|
+
"options": [
|
|
4731
|
+
"text",
|
|
4732
|
+
"json",
|
|
4733
|
+
"md"
|
|
4734
|
+
],
|
|
4735
|
+
"type": "option"
|
|
4736
|
+
}
|
|
4737
|
+
},
|
|
4738
|
+
"hasDynamicHelp": false,
|
|
4739
|
+
"hiddenAliases": [],
|
|
4740
|
+
"id": "update:usage",
|
|
4695
4741
|
"pluginAlias": "@memberjunction/cli",
|
|
4696
4742
|
"pluginName": "@memberjunction/cli",
|
|
4697
4743
|
"pluginType": "core",
|
|
@@ -4701,26 +4747,64 @@
|
|
|
4701
4747
|
"relativePath": [
|
|
4702
4748
|
"dist",
|
|
4703
4749
|
"commands",
|
|
4704
|
-
"
|
|
4705
|
-
"
|
|
4750
|
+
"update",
|
|
4751
|
+
"usage.js"
|
|
4706
4752
|
]
|
|
4707
4753
|
},
|
|
4708
|
-
"
|
|
4754
|
+
"sync:file-reset": {
|
|
4709
4755
|
"aliases": [],
|
|
4710
4756
|
"args": {},
|
|
4711
|
-
"description": "
|
|
4757
|
+
"description": "Reset file metadata sections",
|
|
4712
4758
|
"examples": [
|
|
4713
|
-
"<%= config.bin %> <%= command.id %>
|
|
4714
|
-
"<%= config.bin %> <%= command.id %>
|
|
4715
|
-
"<%= config.bin %> <%= command.id %>
|
|
4716
|
-
"<%= config.bin %> <%= command.id %>
|
|
4717
|
-
"<%= config.bin %> <%= command.id %> list --suites",
|
|
4718
|
-
"<%= config.bin %> <%= command.id %> validate --all"
|
|
4759
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4760
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
4761
|
+
"<%= config.bin %> <%= command.id %> --sections=\"dependencies,references\"",
|
|
4762
|
+
"<%= config.bin %> <%= command.id %> --all"
|
|
4719
4763
|
],
|
|
4720
|
-
"flags": {
|
|
4764
|
+
"flags": {
|
|
4765
|
+
"dir": {
|
|
4766
|
+
"description": "Specific entity directory to reset",
|
|
4767
|
+
"name": "dir",
|
|
4768
|
+
"hasDynamicHelp": false,
|
|
4769
|
+
"multiple": false,
|
|
4770
|
+
"type": "option"
|
|
4771
|
+
},
|
|
4772
|
+
"sections": {
|
|
4773
|
+
"description": "Comma-separated list of sections to reset (dependencies,references,related,lookup)",
|
|
4774
|
+
"name": "sections",
|
|
4775
|
+
"hasDynamicHelp": false,
|
|
4776
|
+
"multiple": false,
|
|
4777
|
+
"type": "option"
|
|
4778
|
+
},
|
|
4779
|
+
"all": {
|
|
4780
|
+
"description": "Reset all metadata sections",
|
|
4781
|
+
"name": "all",
|
|
4782
|
+
"allowNo": false,
|
|
4783
|
+
"type": "boolean"
|
|
4784
|
+
},
|
|
4785
|
+
"dry-run": {
|
|
4786
|
+
"description": "Show what would be reset without actually resetting",
|
|
4787
|
+
"name": "dry-run",
|
|
4788
|
+
"allowNo": false,
|
|
4789
|
+
"type": "boolean"
|
|
4790
|
+
},
|
|
4791
|
+
"force": {
|
|
4792
|
+
"description": "Skip confirmation prompts",
|
|
4793
|
+
"name": "force",
|
|
4794
|
+
"allowNo": false,
|
|
4795
|
+
"type": "boolean"
|
|
4796
|
+
},
|
|
4797
|
+
"verbose": {
|
|
4798
|
+
"char": "v",
|
|
4799
|
+
"description": "Show detailed output",
|
|
4800
|
+
"name": "verbose",
|
|
4801
|
+
"allowNo": false,
|
|
4802
|
+
"type": "boolean"
|
|
4803
|
+
}
|
|
4804
|
+
},
|
|
4721
4805
|
"hasDynamicHelp": false,
|
|
4722
4806
|
"hiddenAliases": [],
|
|
4723
|
-
"id": "
|
|
4807
|
+
"id": "sync:file-reset",
|
|
4724
4808
|
"pluginAlias": "@memberjunction/cli",
|
|
4725
4809
|
"pluginName": "@memberjunction/cli",
|
|
4726
4810
|
"pluginType": "core",
|
|
@@ -4730,95 +4814,69 @@
|
|
|
4730
4814
|
"relativePath": [
|
|
4731
4815
|
"dist",
|
|
4732
4816
|
"commands",
|
|
4733
|
-
"
|
|
4734
|
-
"
|
|
4817
|
+
"sync",
|
|
4818
|
+
"file-reset.js"
|
|
4735
4819
|
]
|
|
4736
4820
|
},
|
|
4737
|
-
"
|
|
4821
|
+
"sync:init": {
|
|
4738
4822
|
"aliases": [],
|
|
4739
4823
|
"args": {},
|
|
4740
|
-
"description": "
|
|
4824
|
+
"description": "Initialize a directory for metadata synchronization.\n\nPrompts at a terminal; runs unattended when piped, spawned, or in CI. To script it,\npass --setup-entity (and --entity/--dir when setting up \"other\").",
|
|
4741
4825
|
"examples": [
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
4746
|
-
"<%= config.bin %> <%= command.id %> --tag=smoke",
|
|
4747
|
-
"<%= config.bin %> <%= command.id %> --status=active --verbose"
|
|
4748
|
-
],
|
|
4749
|
-
"flags": {
|
|
4750
|
-
"suites": {
|
|
4751
|
-
"description": "List test suites instead of tests",
|
|
4752
|
-
"name": "suites",
|
|
4753
|
-
"allowNo": false,
|
|
4754
|
-
"type": "boolean"
|
|
4755
|
-
},
|
|
4756
|
-
"types": {
|
|
4757
|
-
"description": "List test types",
|
|
4758
|
-
"name": "types",
|
|
4759
|
-
"allowNo": false,
|
|
4760
|
-
"type": "boolean"
|
|
4826
|
+
{
|
|
4827
|
+
"command": "<%= config.bin %> <%= command.id %> --setup-entity=no",
|
|
4828
|
+
"description": "Initialize with no entity directory"
|
|
4761
4829
|
},
|
|
4762
|
-
|
|
4763
|
-
"
|
|
4764
|
-
"description": "
|
|
4765
|
-
"name": "type",
|
|
4766
|
-
"hasDynamicHelp": false,
|
|
4767
|
-
"multiple": false,
|
|
4768
|
-
"type": "option"
|
|
4830
|
+
{
|
|
4831
|
+
"command": "<%= config.bin %> <%= command.id %> --setup-entity=ai-prompts",
|
|
4832
|
+
"description": "Initialize and set up the AI Prompts directory"
|
|
4769
4833
|
},
|
|
4770
|
-
|
|
4771
|
-
"
|
|
4772
|
-
"
|
|
4773
|
-
"hasDynamicHelp": false,
|
|
4774
|
-
"multiple": false,
|
|
4775
|
-
"type": "option"
|
|
4834
|
+
{
|
|
4835
|
+
"command": "<%= config.bin %> <%= command.id %> --setup-entity=other --entity=\"MJ: AI Models\" --dir=ai-models",
|
|
4836
|
+
"description": "Initialize for an arbitrary entity"
|
|
4776
4837
|
},
|
|
4777
|
-
|
|
4778
|
-
"
|
|
4779
|
-
"description": "
|
|
4780
|
-
|
|
4838
|
+
{
|
|
4839
|
+
"command": "<%= config.bin %> <%= command.id %> --no-interactive --setup-entity=no",
|
|
4840
|
+
"description": "Never prompt, even at a terminal"
|
|
4841
|
+
}
|
|
4842
|
+
],
|
|
4843
|
+
"flags": {
|
|
4844
|
+
"setup-entity": {
|
|
4845
|
+
"description": "Which entity directory to set up. Use \"no\" to skip.",
|
|
4846
|
+
"name": "setup-entity",
|
|
4781
4847
|
"hasDynamicHelp": false,
|
|
4782
4848
|
"multiple": false,
|
|
4849
|
+
"options": [
|
|
4850
|
+
"ai-prompts",
|
|
4851
|
+
"other",
|
|
4852
|
+
"no"
|
|
4853
|
+
],
|
|
4783
4854
|
"type": "option"
|
|
4784
4855
|
},
|
|
4785
|
-
"
|
|
4786
|
-
"
|
|
4787
|
-
"
|
|
4788
|
-
"name": "format",
|
|
4856
|
+
"entity": {
|
|
4857
|
+
"description": "Entity name when --setup-entity=other (e.g. \"MJ: AI Models\").",
|
|
4858
|
+
"name": "entity",
|
|
4789
4859
|
"hasDynamicHelp": false,
|
|
4790
4860
|
"multiple": false,
|
|
4791
|
-
"options": [
|
|
4792
|
-
"text",
|
|
4793
|
-
"json",
|
|
4794
|
-
"md",
|
|
4795
|
-
"human",
|
|
4796
|
-
"console",
|
|
4797
|
-
"markdown",
|
|
4798
|
-
"compact",
|
|
4799
|
-
"table"
|
|
4800
|
-
],
|
|
4801
4861
|
"type": "option"
|
|
4802
4862
|
},
|
|
4803
|
-
"
|
|
4804
|
-
"
|
|
4805
|
-
"
|
|
4806
|
-
"name": "output",
|
|
4863
|
+
"dir": {
|
|
4864
|
+
"description": "Directory name when --setup-entity=other. Defaults to a slug of --entity.",
|
|
4865
|
+
"name": "dir",
|
|
4807
4866
|
"hasDynamicHelp": false,
|
|
4808
4867
|
"multiple": false,
|
|
4809
4868
|
"type": "option"
|
|
4810
4869
|
},
|
|
4811
|
-
"
|
|
4812
|
-
"
|
|
4813
|
-
"
|
|
4814
|
-
"
|
|
4815
|
-
"allowNo": false,
|
|
4870
|
+
"overwrite": {
|
|
4871
|
+
"description": "Overwrite an existing configuration. Without this, an initialized directory is left untouched.",
|
|
4872
|
+
"name": "overwrite",
|
|
4873
|
+
"allowNo": true,
|
|
4816
4874
|
"type": "boolean"
|
|
4817
4875
|
}
|
|
4818
4876
|
},
|
|
4819
4877
|
"hasDynamicHelp": false,
|
|
4820
4878
|
"hiddenAliases": [],
|
|
4821
|
-
"id": "
|
|
4879
|
+
"id": "sync:init",
|
|
4822
4880
|
"pluginAlias": "@memberjunction/cli",
|
|
4823
4881
|
"pluginName": "@memberjunction/cli",
|
|
4824
4882
|
"pluginType": "core",
|
|
@@ -4828,93 +4886,162 @@
|
|
|
4828
4886
|
"relativePath": [
|
|
4829
4887
|
"dist",
|
|
4830
4888
|
"commands",
|
|
4831
|
-
"
|
|
4832
|
-
"
|
|
4889
|
+
"sync",
|
|
4890
|
+
"init.js"
|
|
4833
4891
|
]
|
|
4834
4892
|
},
|
|
4835
|
-
"
|
|
4893
|
+
"sync:pull": {
|
|
4836
4894
|
"aliases": [],
|
|
4837
|
-
"args": {
|
|
4838
|
-
|
|
4839
|
-
"description": "Test ID to execute",
|
|
4840
|
-
"name": "testId",
|
|
4841
|
-
"required": false
|
|
4842
|
-
}
|
|
4843
|
-
},
|
|
4844
|
-
"description": "Execute a single test by ID or name",
|
|
4895
|
+
"args": {},
|
|
4896
|
+
"description": "Pull metadata from database to local files",
|
|
4845
4897
|
"examples": [
|
|
4846
|
-
"<%= config.bin %> <%= command.id %>
|
|
4847
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4848
|
-
"<%= config.bin %> <%= command.id %>
|
|
4849
|
-
"<%= config.bin %> <%= command.id %> <test-id> --format=json --output=results.json",
|
|
4850
|
-
"<%= config.bin %> <%= command.id %> <test-id> --dry-run"
|
|
4898
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\"",
|
|
4899
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Agents\" --merge-strategy=overwrite",
|
|
4900
|
+
"<%= config.bin %> <%= command.id %> --entity=\"Templates\" --dry-run --verbose"
|
|
4851
4901
|
],
|
|
4852
4902
|
"flags": {
|
|
4853
|
-
"
|
|
4854
|
-
"
|
|
4855
|
-
"
|
|
4856
|
-
"
|
|
4903
|
+
"format": {
|
|
4904
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown-fenced). Defaults to text on a terminal and json when stdout is piped.",
|
|
4905
|
+
"name": "format",
|
|
4906
|
+
"hasDynamicHelp": false,
|
|
4907
|
+
"multiple": false,
|
|
4908
|
+
"options": [
|
|
4909
|
+
"text",
|
|
4910
|
+
"json",
|
|
4911
|
+
"md",
|
|
4912
|
+
"human",
|
|
4913
|
+
"console",
|
|
4914
|
+
"markdown"
|
|
4915
|
+
],
|
|
4916
|
+
"type": "option"
|
|
4917
|
+
},
|
|
4918
|
+
"verbose": {
|
|
4919
|
+
"char": "v",
|
|
4920
|
+
"description": "Show detailed output",
|
|
4921
|
+
"name": "verbose",
|
|
4922
|
+
"allowNo": false,
|
|
4923
|
+
"type": "boolean"
|
|
4924
|
+
},
|
|
4925
|
+
"no-banner": {
|
|
4926
|
+
"description": "Suppress the startup banner and runtime advisory",
|
|
4927
|
+
"name": "no-banner",
|
|
4928
|
+
"allowNo": false,
|
|
4929
|
+
"type": "boolean"
|
|
4930
|
+
},
|
|
4931
|
+
"no-app-packages": {
|
|
4932
|
+
"description": "Do not load installed Open App server packages (or the host's generated packages) for this run, so records are written with the generic BaseEntity — no custom Save() logic or lifecycle hooks.",
|
|
4933
|
+
"name": "no-app-packages",
|
|
4934
|
+
"allowNo": false,
|
|
4935
|
+
"type": "boolean"
|
|
4936
|
+
},
|
|
4937
|
+
"interactive": {
|
|
4938
|
+
"description": "Allow interactive prompts. Defaults to on at a terminal and off when piped, spawned, or in CI, so an agent never hangs on a question. Use --no-interactive to force it off.",
|
|
4939
|
+
"name": "interactive",
|
|
4940
|
+
"allowNo": true,
|
|
4941
|
+
"type": "boolean"
|
|
4942
|
+
},
|
|
4943
|
+
"entity": {
|
|
4944
|
+
"description": "Entity name to pull",
|
|
4945
|
+
"name": "entity",
|
|
4946
|
+
"required": true,
|
|
4947
|
+
"hasDynamicHelp": false,
|
|
4948
|
+
"multiple": false,
|
|
4949
|
+
"type": "option"
|
|
4950
|
+
},
|
|
4951
|
+
"filter": {
|
|
4952
|
+
"description": "Additional filter for pulling specific records",
|
|
4953
|
+
"name": "filter",
|
|
4857
4954
|
"hasDynamicHelp": false,
|
|
4858
4955
|
"multiple": false,
|
|
4859
4956
|
"type": "option"
|
|
4860
4957
|
},
|
|
4861
|
-
"
|
|
4862
|
-
"
|
|
4863
|
-
"
|
|
4864
|
-
"
|
|
4958
|
+
"dry-run": {
|
|
4959
|
+
"description": "Show what would be pulled without actually pulling",
|
|
4960
|
+
"name": "dry-run",
|
|
4961
|
+
"allowNo": false,
|
|
4962
|
+
"type": "boolean"
|
|
4963
|
+
},
|
|
4964
|
+
"multi-file": {
|
|
4965
|
+
"description": "Create a single file with multiple records (provide filename)",
|
|
4966
|
+
"name": "multi-file",
|
|
4865
4967
|
"hasDynamicHelp": false,
|
|
4866
4968
|
"multiple": false,
|
|
4867
4969
|
"type": "option"
|
|
4868
4970
|
},
|
|
4869
|
-
"
|
|
4870
|
-
"
|
|
4871
|
-
"
|
|
4872
|
-
"
|
|
4971
|
+
"no-validate": {
|
|
4972
|
+
"description": "Skip validation before pull",
|
|
4973
|
+
"name": "no-validate",
|
|
4974
|
+
"allowNo": false,
|
|
4975
|
+
"type": "boolean"
|
|
4976
|
+
},
|
|
4977
|
+
"update-existing": {
|
|
4978
|
+
"description": "Update existing records during pull",
|
|
4979
|
+
"name": "update-existing",
|
|
4980
|
+
"allowNo": false,
|
|
4981
|
+
"type": "boolean"
|
|
4982
|
+
},
|
|
4983
|
+
"create-new": {
|
|
4984
|
+
"description": "Create new files for records not found locally",
|
|
4985
|
+
"name": "create-new",
|
|
4986
|
+
"allowNo": false,
|
|
4987
|
+
"type": "boolean"
|
|
4988
|
+
},
|
|
4989
|
+
"backup-before-update": {
|
|
4990
|
+
"description": "Create backups before updating files",
|
|
4991
|
+
"name": "backup-before-update",
|
|
4992
|
+
"allowNo": false,
|
|
4993
|
+
"type": "boolean"
|
|
4994
|
+
},
|
|
4995
|
+
"merge-strategy": {
|
|
4996
|
+
"description": "Merge strategy for updates",
|
|
4997
|
+
"name": "merge-strategy",
|
|
4998
|
+
"default": "merge",
|
|
4873
4999
|
"hasDynamicHelp": false,
|
|
4874
5000
|
"multiple": false,
|
|
4875
5001
|
"options": [
|
|
4876
|
-
"
|
|
4877
|
-
"
|
|
4878
|
-
"
|
|
4879
|
-
"human",
|
|
4880
|
-
"console",
|
|
4881
|
-
"markdown",
|
|
4882
|
-
"compact",
|
|
4883
|
-
"table"
|
|
5002
|
+
"merge",
|
|
5003
|
+
"overwrite",
|
|
5004
|
+
"skip"
|
|
4884
5005
|
],
|
|
4885
5006
|
"type": "option"
|
|
4886
5007
|
},
|
|
4887
|
-
"
|
|
4888
|
-
"
|
|
4889
|
-
"
|
|
4890
|
-
"name": "output",
|
|
5008
|
+
"backup-directory": {
|
|
5009
|
+
"description": "Custom backup directory (default: .backups)",
|
|
5010
|
+
"name": "backup-directory",
|
|
4891
5011
|
"hasDynamicHelp": false,
|
|
4892
5012
|
"multiple": false,
|
|
4893
5013
|
"type": "option"
|
|
4894
5014
|
},
|
|
4895
|
-
"
|
|
4896
|
-
"description": "
|
|
4897
|
-
"name": "
|
|
4898
|
-
"
|
|
4899
|
-
"
|
|
5015
|
+
"preserve-fields": {
|
|
5016
|
+
"description": "Comma-separated list of fields to preserve during updates",
|
|
5017
|
+
"name": "preserve-fields",
|
|
5018
|
+
"hasDynamicHelp": false,
|
|
5019
|
+
"multiple": true,
|
|
5020
|
+
"type": "option"
|
|
4900
5021
|
},
|
|
4901
|
-
"
|
|
4902
|
-
"
|
|
4903
|
-
"
|
|
4904
|
-
"
|
|
4905
|
-
"
|
|
4906
|
-
"type": "
|
|
5022
|
+
"exclude-fields": {
|
|
5023
|
+
"description": "Comma-separated list of fields to exclude from pull",
|
|
5024
|
+
"name": "exclude-fields",
|
|
5025
|
+
"hasDynamicHelp": false,
|
|
5026
|
+
"multiple": true,
|
|
5027
|
+
"type": "option"
|
|
4907
5028
|
},
|
|
4908
|
-
"
|
|
4909
|
-
"description": "
|
|
4910
|
-
"name": "
|
|
5029
|
+
"target-dir": {
|
|
5030
|
+
"description": "Specific target directory (overrides auto-discovery)",
|
|
5031
|
+
"name": "target-dir",
|
|
4911
5032
|
"hasDynamicHelp": false,
|
|
4912
5033
|
"multiple": false,
|
|
4913
5034
|
"type": "option"
|
|
4914
5035
|
},
|
|
4915
|
-
"
|
|
4916
|
-
"description": "
|
|
4917
|
-
"name": "
|
|
5036
|
+
"incremental": {
|
|
5037
|
+
"description": "Only pull records updated since last successful pull",
|
|
5038
|
+
"name": "incremental",
|
|
5039
|
+
"allowNo": false,
|
|
5040
|
+
"type": "boolean"
|
|
5041
|
+
},
|
|
5042
|
+
"since": {
|
|
5043
|
+
"description": "Only pull records updated after this ISO 8601 timestamp",
|
|
5044
|
+
"name": "since",
|
|
4918
5045
|
"hasDynamicHelp": false,
|
|
4919
5046
|
"multiple": false,
|
|
4920
5047
|
"type": "option"
|
|
@@ -4922,48 +5049,75 @@
|
|
|
4922
5049
|
},
|
|
4923
5050
|
"hasDynamicHelp": false,
|
|
4924
5051
|
"hiddenAliases": [],
|
|
4925
|
-
"id": "
|
|
5052
|
+
"id": "sync:pull",
|
|
4926
5053
|
"pluginAlias": "@memberjunction/cli",
|
|
4927
5054
|
"pluginName": "@memberjunction/cli",
|
|
4928
5055
|
"pluginType": "core",
|
|
4929
5056
|
"strict": true,
|
|
4930
5057
|
"enableJsonFlag": false,
|
|
5058
|
+
"Usage": {
|
|
5059
|
+
"domain": "sync",
|
|
5060
|
+
"command": "sync:pull",
|
|
5061
|
+
"summary": "Pull database records into local metadata files.",
|
|
5062
|
+
"description": "Writes records of --entity into the matching entity directory, creating or updating files per the merge strategy.",
|
|
5063
|
+
"flags": [
|
|
5064
|
+
{
|
|
5065
|
+
"name": "--entity",
|
|
5066
|
+
"type": "string",
|
|
5067
|
+
"description": "Entity name to pull (required)"
|
|
5068
|
+
},
|
|
5069
|
+
{
|
|
5070
|
+
"name": "--filter",
|
|
5071
|
+
"type": "string",
|
|
5072
|
+
"description": "Extra SQL filter for which records to pull"
|
|
5073
|
+
},
|
|
5074
|
+
{
|
|
5075
|
+
"name": "--merge-strategy",
|
|
5076
|
+
"type": "merge|overwrite|skip",
|
|
5077
|
+
"description": "How to reconcile existing files"
|
|
5078
|
+
},
|
|
5079
|
+
{
|
|
5080
|
+
"name": "--dry-run",
|
|
5081
|
+
"type": "boolean",
|
|
5082
|
+
"description": "Report what would be pulled without writing"
|
|
5083
|
+
},
|
|
5084
|
+
{
|
|
5085
|
+
"name": "--format",
|
|
5086
|
+
"type": "text|json|md",
|
|
5087
|
+
"description": "Output format (json for machine-readable result)"
|
|
5088
|
+
}
|
|
5089
|
+
],
|
|
5090
|
+
"examples": [
|
|
5091
|
+
"mj sync pull --entity=\"MJ: AI Prompts\"",
|
|
5092
|
+
"mj sync pull --entity=\"Actions\" --format=json"
|
|
5093
|
+
],
|
|
5094
|
+
"runtime": {
|
|
5095
|
+
"class": "variable",
|
|
5096
|
+
"typicalSeconds": 15,
|
|
5097
|
+
"note": "scales with number of records matched for --entity"
|
|
5098
|
+
}
|
|
5099
|
+
},
|
|
4931
5100
|
"isESM": true,
|
|
4932
5101
|
"relativePath": [
|
|
4933
5102
|
"dist",
|
|
4934
5103
|
"commands",
|
|
4935
|
-
"
|
|
4936
|
-
"
|
|
5104
|
+
"sync",
|
|
5105
|
+
"pull.js"
|
|
4937
5106
|
]
|
|
4938
5107
|
},
|
|
4939
|
-
"
|
|
5108
|
+
"sync:push": {
|
|
4940
5109
|
"aliases": [],
|
|
4941
|
-
"args": {
|
|
4942
|
-
|
|
4943
|
-
"description": "Test suite ID to execute",
|
|
4944
|
-
"name": "suiteId",
|
|
4945
|
-
"required": false
|
|
4946
|
-
}
|
|
4947
|
-
},
|
|
4948
|
-
"description": "Execute a test suite",
|
|
5110
|
+
"args": {},
|
|
5111
|
+
"description": "Push local file changes to the database",
|
|
4949
5112
|
"examples": [
|
|
4950
|
-
"<%= config.bin %> <%= command.id %>
|
|
4951
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4952
|
-
"<%= config.bin %> <%= command.id %>
|
|
4953
|
-
"<%= config.bin %> <%= command.id %>
|
|
5113
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5114
|
+
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
5115
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
5116
|
+
"<%= config.bin %> <%= command.id %> --ci --format=json"
|
|
4954
5117
|
],
|
|
4955
5118
|
"flags": {
|
|
4956
|
-
"name": {
|
|
4957
|
-
"char": "n",
|
|
4958
|
-
"description": "Test suite name to execute",
|
|
4959
|
-
"name": "name",
|
|
4960
|
-
"hasDynamicHelp": false,
|
|
4961
|
-
"multiple": false,
|
|
4962
|
-
"type": "option"
|
|
4963
|
-
},
|
|
4964
5119
|
"format": {
|
|
4965
|
-
"
|
|
4966
|
-
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5120
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown-fenced). Defaults to text on a terminal and json when stdout is piped.",
|
|
4967
5121
|
"name": "format",
|
|
4968
5122
|
"hasDynamicHelp": false,
|
|
4969
5123
|
"multiple": false,
|
|
@@ -4973,110 +5127,206 @@
|
|
|
4973
5127
|
"md",
|
|
4974
5128
|
"human",
|
|
4975
5129
|
"console",
|
|
4976
|
-
"markdown"
|
|
4977
|
-
"compact",
|
|
4978
|
-
"table"
|
|
5130
|
+
"markdown"
|
|
4979
5131
|
],
|
|
4980
5132
|
"type": "option"
|
|
4981
5133
|
},
|
|
4982
|
-
"output": {
|
|
4983
|
-
"char": "o",
|
|
4984
|
-
"description": "Output file path",
|
|
4985
|
-
"name": "output",
|
|
4986
|
-
"hasDynamicHelp": false,
|
|
4987
|
-
"multiple": false,
|
|
4988
|
-
"type": "option"
|
|
4989
|
-
},
|
|
4990
5134
|
"verbose": {
|
|
4991
5135
|
"char": "v",
|
|
4992
|
-
"description": "Show detailed
|
|
5136
|
+
"description": "Show detailed output",
|
|
4993
5137
|
"name": "verbose",
|
|
4994
5138
|
"allowNo": false,
|
|
4995
5139
|
"type": "boolean"
|
|
4996
5140
|
},
|
|
4997
|
-
"
|
|
4998
|
-
"
|
|
4999
|
-
"
|
|
5000
|
-
"
|
|
5001
|
-
"
|
|
5002
|
-
"hasDynamicHelp": false,
|
|
5003
|
-
"multiple": false,
|
|
5004
|
-
"type": "option"
|
|
5141
|
+
"no-banner": {
|
|
5142
|
+
"description": "Suppress the startup banner and runtime advisory",
|
|
5143
|
+
"name": "no-banner",
|
|
5144
|
+
"allowNo": false,
|
|
5145
|
+
"type": "boolean"
|
|
5005
5146
|
},
|
|
5006
|
-
"
|
|
5007
|
-
"
|
|
5008
|
-
"
|
|
5009
|
-
"name": "parallel",
|
|
5147
|
+
"no-app-packages": {
|
|
5148
|
+
"description": "Do not load installed Open App server packages (or the host's generated packages) for this run, so records are written with the generic BaseEntity — no custom Save() logic or lifecycle hooks.",
|
|
5149
|
+
"name": "no-app-packages",
|
|
5010
5150
|
"allowNo": false,
|
|
5011
5151
|
"type": "boolean"
|
|
5012
5152
|
},
|
|
5013
|
-
"
|
|
5014
|
-
"description": "
|
|
5015
|
-
"name": "
|
|
5016
|
-
"
|
|
5153
|
+
"interactive": {
|
|
5154
|
+
"description": "Allow interactive prompts. Defaults to on at a terminal and off when piped, spawned, or in CI, so an agent never hangs on a question. Use --no-interactive to force it off.",
|
|
5155
|
+
"name": "interactive",
|
|
5156
|
+
"allowNo": true,
|
|
5157
|
+
"type": "boolean"
|
|
5158
|
+
},
|
|
5159
|
+
"dir": {
|
|
5160
|
+
"description": "Specific entity directory to push",
|
|
5161
|
+
"name": "dir",
|
|
5017
5162
|
"hasDynamicHelp": false,
|
|
5018
5163
|
"multiple": false,
|
|
5019
5164
|
"type": "option"
|
|
5020
5165
|
},
|
|
5021
|
-
"
|
|
5022
|
-
"description": "
|
|
5023
|
-
"name": "
|
|
5166
|
+
"dry-run": {
|
|
5167
|
+
"description": "Show what would be pushed without actually pushing",
|
|
5168
|
+
"name": "dry-run",
|
|
5169
|
+
"allowNo": false,
|
|
5170
|
+
"type": "boolean"
|
|
5171
|
+
},
|
|
5172
|
+
"ci": {
|
|
5173
|
+
"description": "CI mode - no prompts, fail on issues",
|
|
5174
|
+
"name": "ci",
|
|
5175
|
+
"allowNo": false,
|
|
5176
|
+
"type": "boolean"
|
|
5177
|
+
},
|
|
5178
|
+
"no-validate": {
|
|
5179
|
+
"description": "Skip validation before push",
|
|
5180
|
+
"name": "no-validate",
|
|
5181
|
+
"allowNo": false,
|
|
5182
|
+
"type": "boolean"
|
|
5183
|
+
},
|
|
5184
|
+
"delete-db-only": {
|
|
5185
|
+
"description": "Delete database-only records that reference records being deleted (prevents FK errors)",
|
|
5186
|
+
"name": "delete-db-only",
|
|
5187
|
+
"allowNo": false,
|
|
5188
|
+
"type": "boolean"
|
|
5189
|
+
},
|
|
5190
|
+
"parallel-batch-size": {
|
|
5191
|
+
"description": "JSON-root graphs to process in parallel (default: 10, not 1)",
|
|
5192
|
+
"name": "parallel-batch-size",
|
|
5193
|
+
"default": 10,
|
|
5024
5194
|
"hasDynamicHelp": false,
|
|
5025
5195
|
"multiple": false,
|
|
5026
5196
|
"type": "option"
|
|
5027
5197
|
},
|
|
5028
|
-
"
|
|
5029
|
-
"description": "
|
|
5030
|
-
"name": "
|
|
5198
|
+
"include": {
|
|
5199
|
+
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
5200
|
+
"name": "include",
|
|
5031
5201
|
"hasDynamicHelp": false,
|
|
5032
5202
|
"multiple": false,
|
|
5033
5203
|
"type": "option"
|
|
5034
5204
|
},
|
|
5035
|
-
"
|
|
5036
|
-
"description": "
|
|
5037
|
-
"name": "
|
|
5205
|
+
"exclude": {
|
|
5206
|
+
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
5207
|
+
"name": "exclude",
|
|
5038
5208
|
"hasDynamicHelp": false,
|
|
5039
5209
|
"multiple": false,
|
|
5040
5210
|
"type": "option"
|
|
5211
|
+
},
|
|
5212
|
+
"incremental": {
|
|
5213
|
+
"description": "Skip unchanged files using stored checksums from last push",
|
|
5214
|
+
"name": "incremental",
|
|
5215
|
+
"allowNo": false,
|
|
5216
|
+
"type": "boolean"
|
|
5217
|
+
},
|
|
5218
|
+
"change-detail": {
|
|
5219
|
+
"description": "Write a detailed per-record change report (primary keys + field diffs) to a file",
|
|
5220
|
+
"name": "change-detail",
|
|
5221
|
+
"allowNo": false,
|
|
5222
|
+
"type": "boolean"
|
|
5041
5223
|
}
|
|
5042
5224
|
},
|
|
5043
5225
|
"hasDynamicHelp": false,
|
|
5044
5226
|
"hiddenAliases": [],
|
|
5045
|
-
"id": "
|
|
5227
|
+
"id": "sync:push",
|
|
5046
5228
|
"pluginAlias": "@memberjunction/cli",
|
|
5047
5229
|
"pluginName": "@memberjunction/cli",
|
|
5048
5230
|
"pluginType": "core",
|
|
5049
5231
|
"strict": true,
|
|
5050
5232
|
"enableJsonFlag": false,
|
|
5233
|
+
"Usage": {
|
|
5234
|
+
"domain": "sync",
|
|
5235
|
+
"command": "sync:push",
|
|
5236
|
+
"summary": "Push local metadata files to the database (upsert).",
|
|
5237
|
+
"description": "Reads entity directories under --dir and creates/updates matching records. Runs validation first unless --no-validate.",
|
|
5238
|
+
"flags": [
|
|
5239
|
+
{
|
|
5240
|
+
"name": "--dir",
|
|
5241
|
+
"type": "string",
|
|
5242
|
+
"description": "Entity directory to push"
|
|
5243
|
+
},
|
|
5244
|
+
{
|
|
5245
|
+
"name": "--dry-run",
|
|
5246
|
+
"type": "boolean",
|
|
5247
|
+
"description": "Report what would change without writing"
|
|
5248
|
+
},
|
|
5249
|
+
{
|
|
5250
|
+
"name": "--ci",
|
|
5251
|
+
"type": "boolean",
|
|
5252
|
+
"description": "No prompts; non-zero exit on error"
|
|
5253
|
+
},
|
|
5254
|
+
{
|
|
5255
|
+
"name": "--no-validate",
|
|
5256
|
+
"type": "boolean",
|
|
5257
|
+
"description": "Skip pre-push validation"
|
|
5258
|
+
},
|
|
5259
|
+
{
|
|
5260
|
+
"name": "--incremental",
|
|
5261
|
+
"type": "boolean",
|
|
5262
|
+
"description": "Skip unchanged files using stored checksums"
|
|
5263
|
+
},
|
|
5264
|
+
{
|
|
5265
|
+
"name": "--format",
|
|
5266
|
+
"type": "text|json|md",
|
|
5267
|
+
"description": "Output format (json for machine-readable result)"
|
|
5268
|
+
}
|
|
5269
|
+
],
|
|
5270
|
+
"examples": [
|
|
5271
|
+
"mj sync push --dir=ai-agents",
|
|
5272
|
+
"mj sync push --ci --format=json"
|
|
5273
|
+
],
|
|
5274
|
+
"runtime": {
|
|
5275
|
+
"class": "variable",
|
|
5276
|
+
"typicalSeconds": 20,
|
|
5277
|
+
"note": "scales with number of records in --dir"
|
|
5278
|
+
}
|
|
5279
|
+
},
|
|
5051
5280
|
"isESM": true,
|
|
5052
5281
|
"relativePath": [
|
|
5053
5282
|
"dist",
|
|
5054
5283
|
"commands",
|
|
5055
|
-
"
|
|
5056
|
-
"
|
|
5284
|
+
"sync",
|
|
5285
|
+
"push.js"
|
|
5057
5286
|
]
|
|
5058
5287
|
},
|
|
5059
|
-
"
|
|
5288
|
+
"sync:status": {
|
|
5060
5289
|
"aliases": [],
|
|
5061
5290
|
"args": {},
|
|
5062
|
-
"description": "Show
|
|
5291
|
+
"description": "Show status of local files vs database",
|
|
5292
|
+
"examples": [
|
|
5293
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5294
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
5295
|
+
"<%= config.bin %> <%= command.id %> --verbose"
|
|
5296
|
+
],
|
|
5063
5297
|
"flags": {
|
|
5064
|
-
"
|
|
5065
|
-
"description": "
|
|
5066
|
-
"name": "
|
|
5298
|
+
"dir": {
|
|
5299
|
+
"description": "Specific entity directory to check status",
|
|
5300
|
+
"name": "dir",
|
|
5301
|
+
"hasDynamicHelp": false,
|
|
5302
|
+
"multiple": false,
|
|
5303
|
+
"type": "option"
|
|
5304
|
+
},
|
|
5305
|
+
"verbose": {
|
|
5306
|
+
"char": "v",
|
|
5307
|
+
"description": "Show detailed field-level differences",
|
|
5308
|
+
"name": "verbose",
|
|
5309
|
+
"allowNo": false,
|
|
5310
|
+
"type": "boolean"
|
|
5311
|
+
},
|
|
5312
|
+
"include": {
|
|
5313
|
+
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
5314
|
+
"name": "include",
|
|
5315
|
+
"hasDynamicHelp": false,
|
|
5316
|
+
"multiple": false,
|
|
5317
|
+
"type": "option"
|
|
5318
|
+
},
|
|
5319
|
+
"exclude": {
|
|
5320
|
+
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
5321
|
+
"name": "exclude",
|
|
5067
5322
|
"hasDynamicHelp": false,
|
|
5068
5323
|
"multiple": false,
|
|
5069
|
-
"options": [
|
|
5070
|
-
"text",
|
|
5071
|
-
"json",
|
|
5072
|
-
"md"
|
|
5073
|
-
],
|
|
5074
5324
|
"type": "option"
|
|
5075
5325
|
}
|
|
5076
5326
|
},
|
|
5077
5327
|
"hasDynamicHelp": false,
|
|
5078
5328
|
"hiddenAliases": [],
|
|
5079
|
-
"id": "
|
|
5329
|
+
"id": "sync:status",
|
|
5080
5330
|
"pluginAlias": "@memberjunction/cli",
|
|
5081
5331
|
"pluginName": "@memberjunction/cli",
|
|
5082
5332
|
"pluginType": "core",
|
|
@@ -5086,86 +5336,31 @@
|
|
|
5086
5336
|
"relativePath": [
|
|
5087
5337
|
"dist",
|
|
5088
5338
|
"commands",
|
|
5089
|
-
"
|
|
5090
|
-
"
|
|
5339
|
+
"sync",
|
|
5340
|
+
"status.js"
|
|
5091
5341
|
]
|
|
5092
5342
|
},
|
|
5093
|
-
"
|
|
5343
|
+
"sync:usage": {
|
|
5094
5344
|
"aliases": [],
|
|
5095
|
-
"args": {
|
|
5096
|
-
|
|
5097
|
-
"description": "Test ID to validate",
|
|
5098
|
-
"name": "testId",
|
|
5099
|
-
"required": false
|
|
5100
|
-
}
|
|
5101
|
-
},
|
|
5102
|
-
"description": "Validate test definitions without executing",
|
|
5103
|
-
"examples": [
|
|
5104
|
-
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
5105
|
-
"<%= config.bin %> <%= command.id %> --all",
|
|
5106
|
-
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
5107
|
-
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
5108
|
-
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
5109
|
-
],
|
|
5345
|
+
"args": {},
|
|
5346
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj sync` command.",
|
|
5110
5347
|
"flags": {
|
|
5111
|
-
"all": {
|
|
5112
|
-
"char": "a",
|
|
5113
|
-
"description": "Validate all tests",
|
|
5114
|
-
"name": "all",
|
|
5115
|
-
"allowNo": false,
|
|
5116
|
-
"type": "boolean"
|
|
5117
|
-
},
|
|
5118
|
-
"type": {
|
|
5119
|
-
"char": "t",
|
|
5120
|
-
"description": "Validate tests by type",
|
|
5121
|
-
"name": "type",
|
|
5122
|
-
"hasDynamicHelp": false,
|
|
5123
|
-
"multiple": false,
|
|
5124
|
-
"type": "option"
|
|
5125
|
-
},
|
|
5126
|
-
"save-report": {
|
|
5127
|
-
"description": "Save validation report to file",
|
|
5128
|
-
"name": "save-report",
|
|
5129
|
-
"allowNo": false,
|
|
5130
|
-
"type": "boolean"
|
|
5131
|
-
},
|
|
5132
5348
|
"format": {
|
|
5133
|
-
"
|
|
5134
|
-
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5349
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
5135
5350
|
"name": "format",
|
|
5136
5351
|
"hasDynamicHelp": false,
|
|
5137
5352
|
"multiple": false,
|
|
5138
5353
|
"options": [
|
|
5139
5354
|
"text",
|
|
5140
5355
|
"json",
|
|
5141
|
-
"md"
|
|
5142
|
-
"human",
|
|
5143
|
-
"console",
|
|
5144
|
-
"markdown",
|
|
5145
|
-
"compact",
|
|
5146
|
-
"table"
|
|
5356
|
+
"md"
|
|
5147
5357
|
],
|
|
5148
5358
|
"type": "option"
|
|
5149
|
-
},
|
|
5150
|
-
"output": {
|
|
5151
|
-
"char": "o",
|
|
5152
|
-
"description": "Output file path",
|
|
5153
|
-
"name": "output",
|
|
5154
|
-
"hasDynamicHelp": false,
|
|
5155
|
-
"multiple": false,
|
|
5156
|
-
"type": "option"
|
|
5157
|
-
},
|
|
5158
|
-
"verbose": {
|
|
5159
|
-
"char": "v",
|
|
5160
|
-
"description": "Show detailed information",
|
|
5161
|
-
"name": "verbose",
|
|
5162
|
-
"allowNo": false,
|
|
5163
|
-
"type": "boolean"
|
|
5164
5359
|
}
|
|
5165
5360
|
},
|
|
5166
5361
|
"hasDynamicHelp": false,
|
|
5167
5362
|
"hiddenAliases": [],
|
|
5168
|
-
"id": "
|
|
5363
|
+
"id": "sync:usage",
|
|
5169
5364
|
"pluginAlias": "@memberjunction/cli",
|
|
5170
5365
|
"pluginName": "@memberjunction/cli",
|
|
5171
5366
|
"pluginType": "core",
|
|
@@ -5175,96 +5370,52 @@
|
|
|
5175
5370
|
"relativePath": [
|
|
5176
5371
|
"dist",
|
|
5177
5372
|
"commands",
|
|
5178
|
-
"
|
|
5179
|
-
"
|
|
5373
|
+
"sync",
|
|
5374
|
+
"usage.js"
|
|
5180
5375
|
]
|
|
5181
5376
|
},
|
|
5182
|
-
"
|
|
5377
|
+
"sync:validate": {
|
|
5183
5378
|
"aliases": [],
|
|
5184
5379
|
"args": {},
|
|
5185
|
-
"description": "
|
|
5380
|
+
"description": "Validate metadata files",
|
|
5186
5381
|
"examples": [
|
|
5187
|
-
"<%= config.bin %>
|
|
5188
|
-
"<%= config.bin %>
|
|
5189
|
-
"<%= config.bin %>
|
|
5190
|
-
"<%= config.bin %>
|
|
5382
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5383
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
5384
|
+
"<%= config.bin %> <%= command.id %> --save-report",
|
|
5385
|
+
"<%= config.bin %> <%= command.id %> --verbose"
|
|
5191
5386
|
],
|
|
5192
5387
|
"flags": {
|
|
5193
|
-
"
|
|
5194
|
-
"description": "
|
|
5195
|
-
"name": "
|
|
5196
|
-
"required": true,
|
|
5197
|
-
"hasDynamicHelp": false,
|
|
5198
|
-
"multiple": false,
|
|
5199
|
-
"options": [
|
|
5200
|
-
"sqlserver",
|
|
5201
|
-
"postgresql"
|
|
5202
|
-
],
|
|
5203
|
-
"type": "option"
|
|
5204
|
-
},
|
|
5205
|
-
"to": {
|
|
5206
|
-
"description": "Target SQL dialect",
|
|
5207
|
-
"name": "to",
|
|
5208
|
-
"required": true,
|
|
5209
|
-
"hasDynamicHelp": false,
|
|
5210
|
-
"multiple": false,
|
|
5211
|
-
"options": [
|
|
5212
|
-
"sqlserver",
|
|
5213
|
-
"postgresql"
|
|
5214
|
-
],
|
|
5215
|
-
"type": "option"
|
|
5216
|
-
},
|
|
5217
|
-
"scope": {
|
|
5218
|
-
"description": "What to scan for translation",
|
|
5219
|
-
"name": "scope",
|
|
5220
|
-
"default": "all",
|
|
5221
|
-
"hasDynamicHelp": false,
|
|
5222
|
-
"multiple": false,
|
|
5223
|
-
"options": [
|
|
5224
|
-
"queries",
|
|
5225
|
-
"views",
|
|
5226
|
-
"filters",
|
|
5227
|
-
"all"
|
|
5228
|
-
],
|
|
5229
|
-
"type": "option"
|
|
5230
|
-
},
|
|
5231
|
-
"sql": {
|
|
5232
|
-
"description": "Translate a single SQL fragment (inline mode)",
|
|
5233
|
-
"name": "sql",
|
|
5388
|
+
"dir": {
|
|
5389
|
+
"description": "Specific entity directory to validate",
|
|
5390
|
+
"name": "dir",
|
|
5234
5391
|
"hasDynamicHelp": false,
|
|
5235
5392
|
"multiple": false,
|
|
5236
5393
|
"type": "option"
|
|
5237
5394
|
},
|
|
5238
|
-
"
|
|
5239
|
-
"
|
|
5240
|
-
"
|
|
5395
|
+
"verbose": {
|
|
5396
|
+
"char": "v",
|
|
5397
|
+
"description": "Show detailed validation output",
|
|
5398
|
+
"name": "verbose",
|
|
5241
5399
|
"allowNo": false,
|
|
5242
5400
|
"type": "boolean"
|
|
5243
5401
|
},
|
|
5244
|
-
"
|
|
5245
|
-
"description": "
|
|
5246
|
-
"name": "
|
|
5402
|
+
"save-report": {
|
|
5403
|
+
"description": "Save validation report as markdown file",
|
|
5404
|
+
"name": "save-report",
|
|
5247
5405
|
"allowNo": false,
|
|
5248
5406
|
"type": "boolean"
|
|
5249
5407
|
},
|
|
5250
5408
|
"output": {
|
|
5251
|
-
"
|
|
5252
|
-
"description": "Output directory for the translation report",
|
|
5409
|
+
"description": "Output file path for validation report (default: validation-report.md)",
|
|
5253
5410
|
"name": "output",
|
|
5254
5411
|
"hasDynamicHelp": false,
|
|
5255
5412
|
"multiple": false,
|
|
5256
5413
|
"type": "option"
|
|
5257
|
-
},
|
|
5258
|
-
"force": {
|
|
5259
|
-
"description": "Re-translate even if platform variants already exist",
|
|
5260
|
-
"name": "force",
|
|
5261
|
-
"allowNo": false,
|
|
5262
|
-
"type": "boolean"
|
|
5263
5414
|
}
|
|
5264
5415
|
},
|
|
5265
5416
|
"hasDynamicHelp": false,
|
|
5266
5417
|
"hiddenAliases": [],
|
|
5267
|
-
"id": "
|
|
5418
|
+
"id": "sync:validate",
|
|
5268
5419
|
"pluginAlias": "@memberjunction/cli",
|
|
5269
5420
|
"pluginName": "@memberjunction/cli",
|
|
5270
5421
|
"pluginType": "core",
|
|
@@ -5274,31 +5425,52 @@
|
|
|
5274
5425
|
"relativePath": [
|
|
5275
5426
|
"dist",
|
|
5276
5427
|
"commands",
|
|
5277
|
-
"
|
|
5278
|
-
"
|
|
5428
|
+
"sync",
|
|
5429
|
+
"validate.js"
|
|
5279
5430
|
]
|
|
5280
5431
|
},
|
|
5281
|
-
"
|
|
5432
|
+
"sync:watch": {
|
|
5282
5433
|
"aliases": [],
|
|
5283
5434
|
"args": {},
|
|
5284
|
-
"description": "
|
|
5435
|
+
"description": "Watch for file changes and sync automatically",
|
|
5436
|
+
"examples": [
|
|
5437
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5438
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
5439
|
+
"<%= config.bin %> <%= command.id %> --debounce=1000",
|
|
5440
|
+
"<%= config.bin %> <%= command.id %> --no-validate"
|
|
5441
|
+
],
|
|
5285
5442
|
"flags": {
|
|
5286
|
-
"
|
|
5287
|
-
"description": "
|
|
5288
|
-
"name": "
|
|
5443
|
+
"dir": {
|
|
5444
|
+
"description": "Specific entity directory to watch",
|
|
5445
|
+
"name": "dir",
|
|
5446
|
+
"hasDynamicHelp": false,
|
|
5447
|
+
"multiple": false,
|
|
5448
|
+
"type": "option"
|
|
5449
|
+
},
|
|
5450
|
+
"debounce": {
|
|
5451
|
+
"description": "Debounce delay in milliseconds (default: 500)",
|
|
5452
|
+
"name": "debounce",
|
|
5289
5453
|
"hasDynamicHelp": false,
|
|
5290
5454
|
"multiple": false,
|
|
5291
|
-
"options": [
|
|
5292
|
-
"text",
|
|
5293
|
-
"json",
|
|
5294
|
-
"md"
|
|
5295
|
-
],
|
|
5296
5455
|
"type": "option"
|
|
5456
|
+
},
|
|
5457
|
+
"no-validate": {
|
|
5458
|
+
"description": "Skip validation before sync",
|
|
5459
|
+
"name": "no-validate",
|
|
5460
|
+
"allowNo": false,
|
|
5461
|
+
"type": "boolean"
|
|
5462
|
+
},
|
|
5463
|
+
"verbose": {
|
|
5464
|
+
"char": "v",
|
|
5465
|
+
"description": "Show detailed output",
|
|
5466
|
+
"name": "verbose",
|
|
5467
|
+
"allowNo": false,
|
|
5468
|
+
"type": "boolean"
|
|
5297
5469
|
}
|
|
5298
5470
|
},
|
|
5299
5471
|
"hasDynamicHelp": false,
|
|
5300
5472
|
"hiddenAliases": [],
|
|
5301
|
-
"id": "
|
|
5473
|
+
"id": "sync:watch",
|
|
5302
5474
|
"pluginAlias": "@memberjunction/cli",
|
|
5303
5475
|
"pluginName": "@memberjunction/cli",
|
|
5304
5476
|
"pluginType": "core",
|
|
@@ -5308,135 +5480,55 @@
|
|
|
5308
5480
|
"relativePath": [
|
|
5309
5481
|
"dist",
|
|
5310
5482
|
"commands",
|
|
5311
|
-
"
|
|
5312
|
-
"
|
|
5483
|
+
"sync",
|
|
5484
|
+
"watch.js"
|
|
5313
5485
|
]
|
|
5314
5486
|
},
|
|
5315
|
-
"
|
|
5487
|
+
"ai:actions:list": {
|
|
5316
5488
|
"aliases": [],
|
|
5317
5489
|
"args": {},
|
|
5318
|
-
"description": "
|
|
5490
|
+
"description": "List available AI actions",
|
|
5319
5491
|
"examples": [
|
|
5320
|
-
"<%= config.bin %>
|
|
5321
|
-
"<%= config.bin %>
|
|
5322
|
-
"<%= config.bin %>
|
|
5323
|
-
"<%= config.bin %> update:claude --allow-major",
|
|
5324
|
-
"<%= config.bin %> update:claude --json"
|
|
5492
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5493
|
+
"<%= config.bin %> <%= command.id %> --output=table",
|
|
5494
|
+
"<%= config.bin %> <%= command.id %> --output=json"
|
|
5325
5495
|
],
|
|
5326
5496
|
"flags": {
|
|
5327
|
-
"
|
|
5328
|
-
"description": "
|
|
5329
|
-
"name": "
|
|
5330
|
-
"default": ".",
|
|
5331
|
-
"hasDynamicHelp": false,
|
|
5332
|
-
"multiple": false,
|
|
5333
|
-
"type": "option"
|
|
5334
|
-
},
|
|
5335
|
-
"major": {
|
|
5336
|
-
"description": "Force a specific MJ major (default: detected from package.json)",
|
|
5337
|
-
"name": "major",
|
|
5338
|
-
"hasDynamicHelp": false,
|
|
5339
|
-
"multiple": false,
|
|
5340
|
-
"type": "option"
|
|
5341
|
-
},
|
|
5342
|
-
"ref": {
|
|
5343
|
-
"description": "Git ref to fetch from (branch or tag). Default: main.",
|
|
5344
|
-
"name": "ref",
|
|
5497
|
+
"format": {
|
|
5498
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5499
|
+
"name": "format",
|
|
5345
5500
|
"hasDynamicHelp": false,
|
|
5346
5501
|
"multiple": false,
|
|
5502
|
+
"options": [
|
|
5503
|
+
"text",
|
|
5504
|
+
"json",
|
|
5505
|
+
"md",
|
|
5506
|
+
"human",
|
|
5507
|
+
"console",
|
|
5508
|
+
"markdown",
|
|
5509
|
+
"compact",
|
|
5510
|
+
"table"
|
|
5511
|
+
],
|
|
5347
5512
|
"type": "option"
|
|
5348
5513
|
},
|
|
5349
|
-
"
|
|
5350
|
-
"
|
|
5351
|
-
"
|
|
5514
|
+
"output": {
|
|
5515
|
+
"char": "o",
|
|
5516
|
+
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
5517
|
+
"name": "output",
|
|
5518
|
+
"default": "compact",
|
|
5352
5519
|
"hasDynamicHelp": false,
|
|
5353
5520
|
"multiple": false,
|
|
5521
|
+
"options": [
|
|
5522
|
+
"compact",
|
|
5523
|
+
"json",
|
|
5524
|
+
"table"
|
|
5525
|
+
],
|
|
5354
5526
|
"type": "option"
|
|
5355
|
-
},
|
|
5356
|
-
"offline": {
|
|
5357
|
-
"description": "Forbid network; requires --from <path>",
|
|
5358
|
-
"name": "offline",
|
|
5359
|
-
"allowNo": false,
|
|
5360
|
-
"type": "boolean"
|
|
5361
|
-
},
|
|
5362
|
-
"dry-run": {
|
|
5363
|
-
"description": "Print what would be written; change nothing",
|
|
5364
|
-
"name": "dry-run",
|
|
5365
|
-
"allowNo": false,
|
|
5366
|
-
"type": "boolean"
|
|
5367
|
-
},
|
|
5368
|
-
"yes": {
|
|
5369
|
-
"char": "y",
|
|
5370
|
-
"description": "Don't prompt (reserved for future interactive paths; currently no-op)",
|
|
5371
|
-
"name": "yes",
|
|
5372
|
-
"allowNo": false,
|
|
5373
|
-
"type": "boolean"
|
|
5374
|
-
},
|
|
5375
|
-
"force": {
|
|
5376
|
-
"description": "Overwrite user-customized commands/skills (saves .bak files)",
|
|
5377
|
-
"name": "force",
|
|
5378
|
-
"allowNo": false,
|
|
5379
|
-
"type": "boolean"
|
|
5380
|
-
},
|
|
5381
|
-
"skip-commands": {
|
|
5382
|
-
"description": "Skip seeding .claude/commands/",
|
|
5383
|
-
"name": "skip-commands",
|
|
5384
|
-
"allowNo": false,
|
|
5385
|
-
"type": "boolean"
|
|
5386
|
-
},
|
|
5387
|
-
"skip-skills": {
|
|
5388
|
-
"description": "Skip seeding .claude/skills/",
|
|
5389
|
-
"name": "skip-skills",
|
|
5390
|
-
"allowNo": false,
|
|
5391
|
-
"type": "boolean"
|
|
5392
|
-
},
|
|
5393
|
-
"skip-settings": {
|
|
5394
|
-
"description": "Skip merging .claude/settings.json",
|
|
5395
|
-
"name": "skip-settings",
|
|
5396
|
-
"allowNo": false,
|
|
5397
|
-
"type": "boolean"
|
|
5398
|
-
},
|
|
5399
|
-
"check": {
|
|
5400
|
-
"description": "Compare local pack version to remote without writing anything",
|
|
5401
|
-
"name": "check",
|
|
5402
|
-
"allowNo": false,
|
|
5403
|
-
"type": "boolean"
|
|
5404
|
-
},
|
|
5405
|
-
"refresh-commands": {
|
|
5406
|
-
"description": "Force-resync .claude/commands/* from the pack (saves .bak files)",
|
|
5407
|
-
"name": "refresh-commands",
|
|
5408
|
-
"allowNo": false,
|
|
5409
|
-
"type": "boolean"
|
|
5410
|
-
},
|
|
5411
|
-
"refresh-skills": {
|
|
5412
|
-
"description": "Force-resync .claude/skills/** from the pack (saves .bak files)",
|
|
5413
|
-
"name": "refresh-skills",
|
|
5414
|
-
"allowNo": false,
|
|
5415
|
-
"type": "boolean"
|
|
5416
|
-
},
|
|
5417
|
-
"allow-major": {
|
|
5418
|
-
"description": "Allow the remote pack's major to differ from local MJ's major",
|
|
5419
|
-
"name": "allow-major",
|
|
5420
|
-
"allowNo": false,
|
|
5421
|
-
"type": "boolean"
|
|
5422
|
-
},
|
|
5423
|
-
"json": {
|
|
5424
|
-
"description": "Output as JSON (matches plan §7.5 schema)",
|
|
5425
|
-
"name": "json",
|
|
5426
|
-
"allowNo": false,
|
|
5427
|
-
"type": "boolean"
|
|
5428
|
-
},
|
|
5429
|
-
"verbose": {
|
|
5430
|
-
"char": "v",
|
|
5431
|
-
"description": "Show progress messages",
|
|
5432
|
-
"name": "verbose",
|
|
5433
|
-
"allowNo": false,
|
|
5434
|
-
"type": "boolean"
|
|
5435
5527
|
}
|
|
5436
5528
|
},
|
|
5437
5529
|
"hasDynamicHelp": false,
|
|
5438
5530
|
"hiddenAliases": [],
|
|
5439
|
-
"id": "
|
|
5531
|
+
"id": "ai:actions:list",
|
|
5440
5532
|
"pluginAlias": "@memberjunction/cli",
|
|
5441
5533
|
"pluginName": "@memberjunction/cli",
|
|
5442
5534
|
"pluginType": "core",
|
|
@@ -5446,31 +5538,95 @@
|
|
|
5446
5538
|
"relativePath": [
|
|
5447
5539
|
"dist",
|
|
5448
5540
|
"commands",
|
|
5449
|
-
"
|
|
5450
|
-
"
|
|
5541
|
+
"ai",
|
|
5542
|
+
"actions",
|
|
5543
|
+
"list.js"
|
|
5451
5544
|
]
|
|
5452
5545
|
},
|
|
5453
|
-
"
|
|
5546
|
+
"ai:actions:run": {
|
|
5454
5547
|
"aliases": [],
|
|
5455
5548
|
"args": {},
|
|
5456
|
-
"description": "
|
|
5549
|
+
"description": "Execute an AI action with parameters",
|
|
5550
|
+
"examples": [
|
|
5551
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
5552
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
5553
|
+
"<%= config.bin %> <%= command.id %> -n \"Send Single Message\" --param \"To=user@example.com\" --param \"Subject=Test\" --param \"Body=Hello\" --param \"MessageType=Email\" --param \"Provider=SendGrid\"",
|
|
5554
|
+
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
5555
|
+
],
|
|
5457
5556
|
"flags": {
|
|
5557
|
+
"name": {
|
|
5558
|
+
"char": "n",
|
|
5559
|
+
"description": "Action name",
|
|
5560
|
+
"name": "name",
|
|
5561
|
+
"required": true,
|
|
5562
|
+
"hasDynamicHelp": false,
|
|
5563
|
+
"multiple": false,
|
|
5564
|
+
"type": "option"
|
|
5565
|
+
},
|
|
5566
|
+
"param": {
|
|
5567
|
+
"char": "p",
|
|
5568
|
+
"description": "Action parameters in key=value format",
|
|
5569
|
+
"name": "param",
|
|
5570
|
+
"hasDynamicHelp": false,
|
|
5571
|
+
"multiple": true,
|
|
5572
|
+
"type": "option"
|
|
5573
|
+
},
|
|
5574
|
+
"dry-run": {
|
|
5575
|
+
"description": "Validate without executing",
|
|
5576
|
+
"name": "dry-run",
|
|
5577
|
+
"allowNo": false,
|
|
5578
|
+
"type": "boolean"
|
|
5579
|
+
},
|
|
5458
5580
|
"format": {
|
|
5459
|
-
"description": "Output format. Defaults to
|
|
5581
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5460
5582
|
"name": "format",
|
|
5461
5583
|
"hasDynamicHelp": false,
|
|
5462
5584
|
"multiple": false,
|
|
5463
5585
|
"options": [
|
|
5464
|
-
"text",
|
|
5586
|
+
"text",
|
|
5587
|
+
"json",
|
|
5588
|
+
"md",
|
|
5589
|
+
"human",
|
|
5590
|
+
"console",
|
|
5591
|
+
"markdown",
|
|
5592
|
+
"compact",
|
|
5593
|
+
"table"
|
|
5594
|
+
],
|
|
5595
|
+
"type": "option"
|
|
5596
|
+
},
|
|
5597
|
+
"output": {
|
|
5598
|
+
"char": "o",
|
|
5599
|
+
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
5600
|
+
"name": "output",
|
|
5601
|
+
"default": "compact",
|
|
5602
|
+
"hasDynamicHelp": false,
|
|
5603
|
+
"multiple": false,
|
|
5604
|
+
"options": [
|
|
5605
|
+
"compact",
|
|
5465
5606
|
"json",
|
|
5466
|
-
"
|
|
5607
|
+
"table"
|
|
5467
5608
|
],
|
|
5468
5609
|
"type": "option"
|
|
5610
|
+
},
|
|
5611
|
+
"verbose": {
|
|
5612
|
+
"char": "v",
|
|
5613
|
+
"description": "Show detailed execution information",
|
|
5614
|
+
"name": "verbose",
|
|
5615
|
+
"allowNo": false,
|
|
5616
|
+
"type": "boolean"
|
|
5617
|
+
},
|
|
5618
|
+
"timeout": {
|
|
5619
|
+
"description": "Execution timeout in milliseconds",
|
|
5620
|
+
"name": "timeout",
|
|
5621
|
+
"default": 300000,
|
|
5622
|
+
"hasDynamicHelp": false,
|
|
5623
|
+
"multiple": false,
|
|
5624
|
+
"type": "option"
|
|
5469
5625
|
}
|
|
5470
5626
|
},
|
|
5471
5627
|
"hasDynamicHelp": false,
|
|
5472
5628
|
"hiddenAliases": [],
|
|
5473
|
-
"id": "
|
|
5629
|
+
"id": "ai:actions:run",
|
|
5474
5630
|
"pluginAlias": "@memberjunction/cli",
|
|
5475
5631
|
"pluginName": "@memberjunction/cli",
|
|
5476
5632
|
"pluginType": "core",
|
|
@@ -5480,14 +5636,15 @@
|
|
|
5480
5636
|
"relativePath": [
|
|
5481
5637
|
"dist",
|
|
5482
5638
|
"commands",
|
|
5483
|
-
"
|
|
5484
|
-
"
|
|
5639
|
+
"ai",
|
|
5640
|
+
"actions",
|
|
5641
|
+
"run.js"
|
|
5485
5642
|
]
|
|
5486
5643
|
},
|
|
5487
|
-
"ai:
|
|
5644
|
+
"ai:agents:list": {
|
|
5488
5645
|
"aliases": [],
|
|
5489
5646
|
"args": {},
|
|
5490
|
-
"description": "List available AI
|
|
5647
|
+
"description": "List available AI agents",
|
|
5491
5648
|
"examples": [
|
|
5492
5649
|
"<%= config.bin %> <%= command.id %>",
|
|
5493
5650
|
"<%= config.bin %> <%= command.id %> --output=table",
|
|
@@ -5528,7 +5685,7 @@
|
|
|
5528
5685
|
},
|
|
5529
5686
|
"hasDynamicHelp": false,
|
|
5530
5687
|
"hiddenAliases": [],
|
|
5531
|
-
"id": "ai:
|
|
5688
|
+
"id": "ai:agents:list",
|
|
5532
5689
|
"pluginAlias": "@memberjunction/cli",
|
|
5533
5690
|
"pluginName": "@memberjunction/cli",
|
|
5534
5691
|
"pluginType": "core",
|
|
@@ -5539,41 +5696,47 @@
|
|
|
5539
5696
|
"dist",
|
|
5540
5697
|
"commands",
|
|
5541
5698
|
"ai",
|
|
5542
|
-
"
|
|
5699
|
+
"agents",
|
|
5543
5700
|
"list.js"
|
|
5544
5701
|
]
|
|
5545
5702
|
},
|
|
5546
|
-
"ai:
|
|
5703
|
+
"ai:agents:run": {
|
|
5547
5704
|
"aliases": [],
|
|
5548
5705
|
"args": {},
|
|
5549
|
-
"description": "Execute an AI
|
|
5706
|
+
"description": "Execute an AI agent with a prompt or start interactive chat",
|
|
5550
5707
|
"examples": [
|
|
5551
|
-
"<%= config.bin %> <%= command.id %> -
|
|
5552
|
-
"<%= config.bin %> <%= command.id %> -
|
|
5553
|
-
"<%= config.bin %> <%= command.id %> -
|
|
5554
|
-
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
5708
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Requirements Expert\" -p \"Create a dashboard for sales metrics\"",
|
|
5709
|
+
"<%= config.bin %> <%= command.id %> -a \"Child Component Generator Sub-agent\" --chat",
|
|
5710
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Technical Design Expert\" -p \"Build a React component\" --verbose --timeout=600000"
|
|
5555
5711
|
],
|
|
5556
5712
|
"flags": {
|
|
5557
|
-
"
|
|
5558
|
-
"char": "
|
|
5559
|
-
"description": "
|
|
5560
|
-
"name": "
|
|
5713
|
+
"agent": {
|
|
5714
|
+
"char": "a",
|
|
5715
|
+
"description": "Agent name",
|
|
5716
|
+
"name": "agent",
|
|
5561
5717
|
"required": true,
|
|
5562
5718
|
"hasDynamicHelp": false,
|
|
5563
5719
|
"multiple": false,
|
|
5564
5720
|
"type": "option"
|
|
5565
5721
|
},
|
|
5566
|
-
"
|
|
5722
|
+
"prompt": {
|
|
5567
5723
|
"char": "p",
|
|
5568
|
-
"description": "
|
|
5569
|
-
"
|
|
5724
|
+
"description": "Prompt to execute",
|
|
5725
|
+
"exclusive": [
|
|
5726
|
+
"chat"
|
|
5727
|
+
],
|
|
5728
|
+
"name": "prompt",
|
|
5570
5729
|
"hasDynamicHelp": false,
|
|
5571
|
-
"multiple":
|
|
5730
|
+
"multiple": false,
|
|
5572
5731
|
"type": "option"
|
|
5573
5732
|
},
|
|
5574
|
-
"
|
|
5575
|
-
"
|
|
5576
|
-
"
|
|
5733
|
+
"chat": {
|
|
5734
|
+
"char": "c",
|
|
5735
|
+
"description": "Start interactive chat mode",
|
|
5736
|
+
"exclusive": [
|
|
5737
|
+
"prompt"
|
|
5738
|
+
],
|
|
5739
|
+
"name": "chat",
|
|
5577
5740
|
"allowNo": false,
|
|
5578
5741
|
"type": "boolean"
|
|
5579
5742
|
},
|
|
@@ -5626,7 +5789,7 @@
|
|
|
5626
5789
|
},
|
|
5627
5790
|
"hasDynamicHelp": false,
|
|
5628
5791
|
"hiddenAliases": [],
|
|
5629
|
-
"id": "ai:
|
|
5792
|
+
"id": "ai:agents:run",
|
|
5630
5793
|
"pluginAlias": "@memberjunction/cli",
|
|
5631
5794
|
"pluginName": "@memberjunction/cli",
|
|
5632
5795
|
"pluginType": "core",
|
|
@@ -5637,7 +5800,7 @@
|
|
|
5637
5800
|
"dist",
|
|
5638
5801
|
"commands",
|
|
5639
5802
|
"ai",
|
|
5640
|
-
"
|
|
5803
|
+
"agents",
|
|
5641
5804
|
"run.js"
|
|
5642
5805
|
]
|
|
5643
5806
|
},
|
|
@@ -5874,169 +6037,6 @@
|
|
|
5874
6037
|
"index.js"
|
|
5875
6038
|
]
|
|
5876
6039
|
},
|
|
5877
|
-
"ai:agents:list": {
|
|
5878
|
-
"aliases": [],
|
|
5879
|
-
"args": {},
|
|
5880
|
-
"description": "List available AI agents",
|
|
5881
|
-
"examples": [
|
|
5882
|
-
"<%= config.bin %> <%= command.id %>",
|
|
5883
|
-
"<%= config.bin %> <%= command.id %> --output=table",
|
|
5884
|
-
"<%= config.bin %> <%= command.id %> --output=json"
|
|
5885
|
-
],
|
|
5886
|
-
"flags": {
|
|
5887
|
-
"format": {
|
|
5888
|
-
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5889
|
-
"name": "format",
|
|
5890
|
-
"hasDynamicHelp": false,
|
|
5891
|
-
"multiple": false,
|
|
5892
|
-
"options": [
|
|
5893
|
-
"text",
|
|
5894
|
-
"json",
|
|
5895
|
-
"md",
|
|
5896
|
-
"human",
|
|
5897
|
-
"console",
|
|
5898
|
-
"markdown",
|
|
5899
|
-
"compact",
|
|
5900
|
-
"table"
|
|
5901
|
-
],
|
|
5902
|
-
"type": "option"
|
|
5903
|
-
},
|
|
5904
|
-
"output": {
|
|
5905
|
-
"char": "o",
|
|
5906
|
-
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
5907
|
-
"name": "output",
|
|
5908
|
-
"default": "compact",
|
|
5909
|
-
"hasDynamicHelp": false,
|
|
5910
|
-
"multiple": false,
|
|
5911
|
-
"options": [
|
|
5912
|
-
"compact",
|
|
5913
|
-
"json",
|
|
5914
|
-
"table"
|
|
5915
|
-
],
|
|
5916
|
-
"type": "option"
|
|
5917
|
-
}
|
|
5918
|
-
},
|
|
5919
|
-
"hasDynamicHelp": false,
|
|
5920
|
-
"hiddenAliases": [],
|
|
5921
|
-
"id": "ai:agents:list",
|
|
5922
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5923
|
-
"pluginName": "@memberjunction/cli",
|
|
5924
|
-
"pluginType": "core",
|
|
5925
|
-
"strict": true,
|
|
5926
|
-
"enableJsonFlag": false,
|
|
5927
|
-
"isESM": true,
|
|
5928
|
-
"relativePath": [
|
|
5929
|
-
"dist",
|
|
5930
|
-
"commands",
|
|
5931
|
-
"ai",
|
|
5932
|
-
"agents",
|
|
5933
|
-
"list.js"
|
|
5934
|
-
]
|
|
5935
|
-
},
|
|
5936
|
-
"ai:agents:run": {
|
|
5937
|
-
"aliases": [],
|
|
5938
|
-
"args": {},
|
|
5939
|
-
"description": "Execute an AI agent with a prompt or start interactive chat",
|
|
5940
|
-
"examples": [
|
|
5941
|
-
"<%= config.bin %> <%= command.id %> -a \"Skip: Requirements Expert\" -p \"Create a dashboard for sales metrics\"",
|
|
5942
|
-
"<%= config.bin %> <%= command.id %> -a \"Child Component Generator Sub-agent\" --chat",
|
|
5943
|
-
"<%= config.bin %> <%= command.id %> -a \"Skip: Technical Design Expert\" -p \"Build a React component\" --verbose --timeout=600000"
|
|
5944
|
-
],
|
|
5945
|
-
"flags": {
|
|
5946
|
-
"agent": {
|
|
5947
|
-
"char": "a",
|
|
5948
|
-
"description": "Agent name",
|
|
5949
|
-
"name": "agent",
|
|
5950
|
-
"required": true,
|
|
5951
|
-
"hasDynamicHelp": false,
|
|
5952
|
-
"multiple": false,
|
|
5953
|
-
"type": "option"
|
|
5954
|
-
},
|
|
5955
|
-
"prompt": {
|
|
5956
|
-
"char": "p",
|
|
5957
|
-
"description": "Prompt to execute",
|
|
5958
|
-
"exclusive": [
|
|
5959
|
-
"chat"
|
|
5960
|
-
],
|
|
5961
|
-
"name": "prompt",
|
|
5962
|
-
"hasDynamicHelp": false,
|
|
5963
|
-
"multiple": false,
|
|
5964
|
-
"type": "option"
|
|
5965
|
-
},
|
|
5966
|
-
"chat": {
|
|
5967
|
-
"char": "c",
|
|
5968
|
-
"description": "Start interactive chat mode",
|
|
5969
|
-
"exclusive": [
|
|
5970
|
-
"prompt"
|
|
5971
|
-
],
|
|
5972
|
-
"name": "chat",
|
|
5973
|
-
"allowNo": false,
|
|
5974
|
-
"type": "boolean"
|
|
5975
|
-
},
|
|
5976
|
-
"format": {
|
|
5977
|
-
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5978
|
-
"name": "format",
|
|
5979
|
-
"hasDynamicHelp": false,
|
|
5980
|
-
"multiple": false,
|
|
5981
|
-
"options": [
|
|
5982
|
-
"text",
|
|
5983
|
-
"json",
|
|
5984
|
-
"md",
|
|
5985
|
-
"human",
|
|
5986
|
-
"console",
|
|
5987
|
-
"markdown",
|
|
5988
|
-
"compact",
|
|
5989
|
-
"table"
|
|
5990
|
-
],
|
|
5991
|
-
"type": "option"
|
|
5992
|
-
},
|
|
5993
|
-
"output": {
|
|
5994
|
-
"char": "o",
|
|
5995
|
-
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
5996
|
-
"name": "output",
|
|
5997
|
-
"default": "compact",
|
|
5998
|
-
"hasDynamicHelp": false,
|
|
5999
|
-
"multiple": false,
|
|
6000
|
-
"options": [
|
|
6001
|
-
"compact",
|
|
6002
|
-
"json",
|
|
6003
|
-
"table"
|
|
6004
|
-
],
|
|
6005
|
-
"type": "option"
|
|
6006
|
-
},
|
|
6007
|
-
"verbose": {
|
|
6008
|
-
"char": "v",
|
|
6009
|
-
"description": "Show detailed execution information",
|
|
6010
|
-
"name": "verbose",
|
|
6011
|
-
"allowNo": false,
|
|
6012
|
-
"type": "boolean"
|
|
6013
|
-
},
|
|
6014
|
-
"timeout": {
|
|
6015
|
-
"description": "Execution timeout in milliseconds",
|
|
6016
|
-
"name": "timeout",
|
|
6017
|
-
"default": 300000,
|
|
6018
|
-
"hasDynamicHelp": false,
|
|
6019
|
-
"multiple": false,
|
|
6020
|
-
"type": "option"
|
|
6021
|
-
}
|
|
6022
|
-
},
|
|
6023
|
-
"hasDynamicHelp": false,
|
|
6024
|
-
"hiddenAliases": [],
|
|
6025
|
-
"id": "ai:agents:run",
|
|
6026
|
-
"pluginAlias": "@memberjunction/cli",
|
|
6027
|
-
"pluginName": "@memberjunction/cli",
|
|
6028
|
-
"pluginType": "core",
|
|
6029
|
-
"strict": true,
|
|
6030
|
-
"enableJsonFlag": false,
|
|
6031
|
-
"isESM": true,
|
|
6032
|
-
"relativePath": [
|
|
6033
|
-
"dist",
|
|
6034
|
-
"commands",
|
|
6035
|
-
"ai",
|
|
6036
|
-
"agents",
|
|
6037
|
-
"run.js"
|
|
6038
|
-
]
|
|
6039
|
-
},
|
|
6040
6040
|
"ai:prompts:list": {
|
|
6041
6041
|
"aliases": [],
|
|
6042
6042
|
"args": {},
|
|
@@ -6315,6 +6315,13 @@
|
|
|
6315
6315
|
"multiple": true,
|
|
6316
6316
|
"type": "option"
|
|
6317
6317
|
},
|
|
6318
|
+
"apps": {
|
|
6319
|
+
"description": "Admit a member's app-shell packages, which the packages-rooted rule drops by default: <member>=<glob>[,<glob>] (e.g. Skip-Brain=apps/API,apps/MJAPI). The member must be detected or --include'd; names must be unique across the workspace.",
|
|
6320
|
+
"name": "apps",
|
|
6321
|
+
"hasDynamicHelp": false,
|
|
6322
|
+
"multiple": true,
|
|
6323
|
+
"type": "option"
|
|
6324
|
+
},
|
|
6318
6325
|
"install": {
|
|
6319
6326
|
"description": "Run `pnpm install` at the parent after generating (disable with --no-install)",
|
|
6320
6327
|
"name": "install",
|
|
@@ -6840,5 +6847,5 @@
|
|
|
6840
6847
|
]
|
|
6841
6848
|
}
|
|
6842
6849
|
},
|
|
6843
|
-
"version": "6.1.0
|
|
6850
|
+
"version": "6.1.0"
|
|
6844
6851
|
}
|