@memberjunction/cli 5.38.0 → 5.40.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/baseline/emitter.js +23 -16
- package/dist/baseline/emitter.js.map +1 -1
- package/dist/commands/baseline/roundtrip.d.ts.map +1 -1
- package/dist/commands/baseline/roundtrip.js +12 -7
- package/dist/commands/baseline/roundtrip.js.map +1 -1
- package/dist/commands/bundle/index.d.ts +21 -0
- package/dist/commands/bundle/index.d.ts.map +1 -0
- package/dist/commands/bundle/index.js +62 -0
- package/dist/commands/bundle/index.js.map +1 -0
- package/dist/commands/migrate/convert.d.ts +4 -1
- package/dist/commands/migrate/convert.d.ts.map +1 -1
- package/dist/commands/migrate/convert.js +4 -1
- package/dist/commands/migrate/convert.js.map +1 -1
- package/dist/commands/migrate/index.d.ts +29 -0
- package/dist/commands/migrate/index.d.ts.map +1 -1
- package/dist/commands/migrate/index.js +111 -5
- package/dist/commands/migrate/index.js.map +1 -1
- package/dist/config.d.ts +6 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +13 -0
- package/dist/config.js.map +1 -1
- package/dist/lib/db-preflight.d.ts +42 -0
- package/dist/lib/db-preflight.d.ts.map +1 -0
- package/dist/lib/db-preflight.js +113 -0
- package/dist/lib/db-preflight.js.map +1 -0
- package/dist/lib/db-version.d.ts +36 -0
- package/dist/lib/db-version.d.ts.map +1 -0
- package/dist/lib/db-version.js +45 -0
- package/dist/lib/db-version.js.map +1 -0
- package/dist/lib/migration-fetch.d.ts +49 -0
- package/dist/lib/migration-fetch.d.ts.map +1 -0
- package/dist/lib/migration-fetch.js +152 -0
- package/dist/lib/migration-fetch.js.map +1 -0
- package/dist/light-commands.d.ts.map +1 -1
- package/dist/light-commands.js +2 -0
- package/dist/light-commands.js.map +1 -1
- package/oclif.manifest.json +529 -443
- package/package.json +15 -15
package/oclif.manifest.json
CHANGED
|
@@ -676,6 +676,78 @@
|
|
|
676
676
|
"roundtrip.js"
|
|
677
677
|
]
|
|
678
678
|
},
|
|
679
|
+
"bump": {
|
|
680
|
+
"aliases": [],
|
|
681
|
+
"args": {},
|
|
682
|
+
"description": "Bumps MemberJunction dependency versions",
|
|
683
|
+
"examples": [
|
|
684
|
+
{
|
|
685
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
686
|
+
"description": "Bump all @memberjunction/* dependencies in the current directory's package.json to the CLI version"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"command": "<%= config.bin %> <%= command.id %> -rdv",
|
|
690
|
+
"description": "Preview all recursive packages bumps without writing any changes."
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"command": "<%= config.bin %> <%= command.id %> -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}",
|
|
694
|
+
"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."
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
"flags": {
|
|
698
|
+
"verbose": {
|
|
699
|
+
"char": "v",
|
|
700
|
+
"description": "Enable additional logging",
|
|
701
|
+
"name": "verbose",
|
|
702
|
+
"allowNo": false,
|
|
703
|
+
"type": "boolean"
|
|
704
|
+
},
|
|
705
|
+
"recursive": {
|
|
706
|
+
"char": "r",
|
|
707
|
+
"description": "Bump version in current directory and all subdirectories",
|
|
708
|
+
"name": "recursive",
|
|
709
|
+
"allowNo": false,
|
|
710
|
+
"type": "boolean"
|
|
711
|
+
},
|
|
712
|
+
"tag": {
|
|
713
|
+
"char": "t",
|
|
714
|
+
"description": "Version tag to bump target for bump (e.g. v2.10.0), defaults to the CLI version",
|
|
715
|
+
"name": "tag",
|
|
716
|
+
"hasDynamicHelp": false,
|
|
717
|
+
"multiple": false,
|
|
718
|
+
"type": "option"
|
|
719
|
+
},
|
|
720
|
+
"quiet": {
|
|
721
|
+
"char": "q",
|
|
722
|
+
"description": "Only output paths for updated packages",
|
|
723
|
+
"name": "quiet",
|
|
724
|
+
"allowNo": false,
|
|
725
|
+
"type": "boolean"
|
|
726
|
+
},
|
|
727
|
+
"dry": {
|
|
728
|
+
"char": "d",
|
|
729
|
+
"description": "Dry run, do not write changes to package.json files",
|
|
730
|
+
"name": "dry",
|
|
731
|
+
"allowNo": false,
|
|
732
|
+
"type": "boolean"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"hasDynamicHelp": false,
|
|
736
|
+
"hiddenAliases": [],
|
|
737
|
+
"id": "bump",
|
|
738
|
+
"pluginAlias": "@memberjunction/cli",
|
|
739
|
+
"pluginName": "@memberjunction/cli",
|
|
740
|
+
"pluginType": "core",
|
|
741
|
+
"strict": true,
|
|
742
|
+
"enableJsonFlag": false,
|
|
743
|
+
"isESM": true,
|
|
744
|
+
"relativePath": [
|
|
745
|
+
"dist",
|
|
746
|
+
"commands",
|
|
747
|
+
"bump",
|
|
748
|
+
"index.js"
|
|
749
|
+
]
|
|
750
|
+
},
|
|
679
751
|
"artifacts:reclassify": {
|
|
680
752
|
"aliases": [],
|
|
681
753
|
"args": {},
|
|
@@ -737,65 +809,73 @@
|
|
|
737
809
|
"reclassify.js"
|
|
738
810
|
]
|
|
739
811
|
},
|
|
740
|
-
"
|
|
812
|
+
"bundle": {
|
|
741
813
|
"aliases": [],
|
|
742
814
|
"args": {},
|
|
743
|
-
"description": "
|
|
815
|
+
"description": "Create a self-contained MemberJunction distribution zip for offline/air-gapped installs",
|
|
744
816
|
"examples": [
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
"command": "<%= config.bin %> <%= command.id %> -rdv",
|
|
751
|
-
"description": "Preview all recursive packages bumps without writing any changes."
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
"command": "<%= config.bin %> <%= command.id %> -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}",
|
|
755
|
-
"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."
|
|
756
|
-
}
|
|
817
|
+
"<%= config.bin %> <%= command.id %> --out ./mj-install.zip",
|
|
818
|
+
"<%= config.bin %> <%= command.id %> --tag v5.38.0 --out ./mj-install.zip",
|
|
819
|
+
"<%= config.bin %> <%= command.id %> --source . --out ./mj-install.zip",
|
|
820
|
+
"<%= config.bin %> <%= command.id %> --tag v5.38.0 --with-migrations --out ./mj-install.zip",
|
|
821
|
+
"<%= config.bin %> <%= command.id %> --with-migrations --db-platform postgresql --out ./mj-install.zip"
|
|
757
822
|
],
|
|
758
823
|
"flags": {
|
|
759
|
-
"
|
|
760
|
-
"char": "
|
|
761
|
-
"description": "
|
|
762
|
-
"name": "
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
"char": "r",
|
|
768
|
-
"description": "Bump version in current directory and all subdirectories",
|
|
769
|
-
"name": "recursive",
|
|
770
|
-
"allowNo": false,
|
|
771
|
-
"type": "boolean"
|
|
824
|
+
"out": {
|
|
825
|
+
"char": "o",
|
|
826
|
+
"description": "Output zip path",
|
|
827
|
+
"name": "out",
|
|
828
|
+
"required": true,
|
|
829
|
+
"hasDynamicHelp": false,
|
|
830
|
+
"multiple": false,
|
|
831
|
+
"type": "option"
|
|
772
832
|
},
|
|
773
833
|
"tag": {
|
|
774
834
|
"char": "t",
|
|
775
|
-
"description": "
|
|
835
|
+
"description": "Release tag to bundle (e.g. v5.38.0). Defaults to the latest branch tip.",
|
|
776
836
|
"name": "tag",
|
|
777
837
|
"hasDynamicHelp": false,
|
|
778
838
|
"multiple": false,
|
|
779
839
|
"type": "option"
|
|
780
840
|
},
|
|
781
|
-
"
|
|
782
|
-
"
|
|
783
|
-
"
|
|
784
|
-
"
|
|
841
|
+
"source": {
|
|
842
|
+
"description": "Bundle from a local working-tree directory instead of fetching from the repo",
|
|
843
|
+
"name": "source",
|
|
844
|
+
"hasDynamicHelp": false,
|
|
845
|
+
"multiple": false,
|
|
846
|
+
"type": "option"
|
|
847
|
+
},
|
|
848
|
+
"with-migrations": {
|
|
849
|
+
"description": "Include the migration tree(s) so an air-gapped \"mj migrate\" can run offline. Ships both SQL Server and PostgreSQL trees by default.",
|
|
850
|
+
"name": "with-migrations",
|
|
785
851
|
"allowNo": false,
|
|
786
852
|
"type": "boolean"
|
|
787
853
|
},
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
|
|
791
|
-
|
|
854
|
+
"db-platform": {
|
|
855
|
+
"dependsOn": [
|
|
856
|
+
"with-migrations"
|
|
857
|
+
],
|
|
858
|
+
"description": "With --with-migrations, ship only this platform's migration tree instead of both",
|
|
859
|
+
"name": "db-platform",
|
|
860
|
+
"hasDynamicHelp": false,
|
|
861
|
+
"multiple": false,
|
|
862
|
+
"options": [
|
|
863
|
+
"sqlserver",
|
|
864
|
+
"postgresql"
|
|
865
|
+
],
|
|
866
|
+
"type": "option"
|
|
867
|
+
},
|
|
868
|
+
"verbose": {
|
|
869
|
+
"char": "v",
|
|
870
|
+
"description": "Show detailed output",
|
|
871
|
+
"name": "verbose",
|
|
792
872
|
"allowNo": false,
|
|
793
873
|
"type": "boolean"
|
|
794
874
|
}
|
|
795
875
|
},
|
|
796
876
|
"hasDynamicHelp": false,
|
|
797
877
|
"hiddenAliases": [],
|
|
798
|
-
"id": "
|
|
878
|
+
"id": "bundle",
|
|
799
879
|
"pluginAlias": "@memberjunction/cli",
|
|
800
880
|
"pluginName": "@memberjunction/cli",
|
|
801
881
|
"pluginType": "core",
|
|
@@ -805,7 +885,7 @@
|
|
|
805
885
|
"relativePath": [
|
|
806
886
|
"dist",
|
|
807
887
|
"commands",
|
|
808
|
-
"
|
|
888
|
+
"bundle",
|
|
809
889
|
"index.js"
|
|
810
890
|
]
|
|
811
891
|
},
|
|
@@ -1244,63 +1324,6 @@
|
|
|
1244
1324
|
"manifest.js"
|
|
1245
1325
|
]
|
|
1246
1326
|
},
|
|
1247
|
-
"doctor": {
|
|
1248
|
-
"aliases": [],
|
|
1249
|
-
"args": {},
|
|
1250
|
-
"description": "Diagnose a MemberJunction installation",
|
|
1251
|
-
"examples": [
|
|
1252
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1253
|
-
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
1254
|
-
"<%= config.bin %> <%= command.id %> --verbose",
|
|
1255
|
-
"<%= config.bin %> <%= command.id %> --report",
|
|
1256
|
-
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
1257
|
-
],
|
|
1258
|
-
"flags": {
|
|
1259
|
-
"dir": {
|
|
1260
|
-
"description": "Target directory to diagnose",
|
|
1261
|
-
"name": "dir",
|
|
1262
|
-
"default": ".",
|
|
1263
|
-
"hasDynamicHelp": false,
|
|
1264
|
-
"multiple": false,
|
|
1265
|
-
"type": "option"
|
|
1266
|
-
},
|
|
1267
|
-
"verbose": {
|
|
1268
|
-
"char": "v",
|
|
1269
|
-
"description": "Show detailed output including suggested fixes inline",
|
|
1270
|
-
"name": "verbose",
|
|
1271
|
-
"allowNo": false,
|
|
1272
|
-
"type": "boolean"
|
|
1273
|
-
},
|
|
1274
|
-
"report": {
|
|
1275
|
-
"char": "r",
|
|
1276
|
-
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
1277
|
-
"name": "report",
|
|
1278
|
-
"allowNo": false,
|
|
1279
|
-
"type": "boolean"
|
|
1280
|
-
},
|
|
1281
|
-
"report_extended": {
|
|
1282
|
-
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
1283
|
-
"name": "report_extended",
|
|
1284
|
-
"allowNo": false,
|
|
1285
|
-
"type": "boolean"
|
|
1286
|
-
}
|
|
1287
|
-
},
|
|
1288
|
-
"hasDynamicHelp": false,
|
|
1289
|
-
"hiddenAliases": [],
|
|
1290
|
-
"id": "doctor",
|
|
1291
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1292
|
-
"pluginName": "@memberjunction/cli",
|
|
1293
|
-
"pluginType": "core",
|
|
1294
|
-
"strict": true,
|
|
1295
|
-
"enableJsonFlag": false,
|
|
1296
|
-
"isESM": true,
|
|
1297
|
-
"relativePath": [
|
|
1298
|
-
"dist",
|
|
1299
|
-
"commands",
|
|
1300
|
-
"doctor",
|
|
1301
|
-
"index.js"
|
|
1302
|
-
]
|
|
1303
|
-
},
|
|
1304
1327
|
"dbdoc:analyze": {
|
|
1305
1328
|
"aliases": [],
|
|
1306
1329
|
"args": {},
|
|
@@ -1738,64 +1761,236 @@
|
|
|
1738
1761
|
"status.js"
|
|
1739
1762
|
]
|
|
1740
1763
|
},
|
|
1741
|
-
"
|
|
1764
|
+
"doctor": {
|
|
1742
1765
|
"aliases": [],
|
|
1743
1766
|
"args": {},
|
|
1744
|
-
"description": "
|
|
1767
|
+
"description": "Diagnose a MemberJunction installation",
|
|
1745
1768
|
"examples": [
|
|
1746
|
-
"<%= config.bin %>
|
|
1747
|
-
"<%= config.bin %>
|
|
1748
|
-
"<%= config.bin %>
|
|
1749
|
-
"<%= config.bin %>
|
|
1750
|
-
"<%= config.bin %>
|
|
1769
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1770
|
+
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
1771
|
+
"<%= config.bin %> <%= command.id %> --verbose",
|
|
1772
|
+
"<%= config.bin %> <%= command.id %> --report",
|
|
1773
|
+
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
1751
1774
|
],
|
|
1752
1775
|
"flags": {
|
|
1753
|
-
"
|
|
1754
|
-
"description": "
|
|
1755
|
-
"name": "
|
|
1756
|
-
"default": "
|
|
1757
|
-
"hasDynamicHelp": false,
|
|
1758
|
-
"multiple": false,
|
|
1759
|
-
"type": "option"
|
|
1760
|
-
},
|
|
1761
|
-
"output-dir": {
|
|
1762
|
-
"description": "Output PG migrations directory",
|
|
1763
|
-
"name": "output-dir",
|
|
1764
|
-
"default": "./migrations-pg/v5",
|
|
1765
|
-
"hasDynamicHelp": false,
|
|
1766
|
-
"multiple": false,
|
|
1767
|
-
"type": "option"
|
|
1768
|
-
},
|
|
1769
|
-
"file": {
|
|
1770
|
-
"description": "Convert a specific file (filename only, looked up in source-dir)",
|
|
1771
|
-
"name": "file",
|
|
1772
|
-
"hasDynamicHelp": false,
|
|
1773
|
-
"multiple": false,
|
|
1774
|
-
"type": "option"
|
|
1775
|
-
},
|
|
1776
|
-
"schema": {
|
|
1777
|
-
"description": "Target schema name",
|
|
1778
|
-
"name": "schema",
|
|
1779
|
-
"default": "__mj",
|
|
1776
|
+
"dir": {
|
|
1777
|
+
"description": "Target directory to diagnose",
|
|
1778
|
+
"name": "dir",
|
|
1779
|
+
"default": ".",
|
|
1780
1780
|
"hasDynamicHelp": false,
|
|
1781
1781
|
"multiple": false,
|
|
1782
1782
|
"type": "option"
|
|
1783
1783
|
},
|
|
1784
|
-
"
|
|
1785
|
-
"
|
|
1786
|
-
"
|
|
1784
|
+
"verbose": {
|
|
1785
|
+
"char": "v",
|
|
1786
|
+
"description": "Show detailed output including suggested fixes inline",
|
|
1787
|
+
"name": "verbose",
|
|
1787
1788
|
"allowNo": false,
|
|
1788
1789
|
"type": "boolean"
|
|
1789
1790
|
},
|
|
1790
|
-
"
|
|
1791
|
-
"
|
|
1792
|
-
"
|
|
1791
|
+
"report": {
|
|
1792
|
+
"char": "r",
|
|
1793
|
+
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
1794
|
+
"name": "report",
|
|
1793
1795
|
"allowNo": false,
|
|
1794
1796
|
"type": "boolean"
|
|
1795
1797
|
},
|
|
1796
|
-
"
|
|
1797
|
-
"
|
|
1798
|
-
"
|
|
1798
|
+
"report_extended": {
|
|
1799
|
+
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
1800
|
+
"name": "report_extended",
|
|
1801
|
+
"allowNo": false,
|
|
1802
|
+
"type": "boolean"
|
|
1803
|
+
}
|
|
1804
|
+
},
|
|
1805
|
+
"hasDynamicHelp": false,
|
|
1806
|
+
"hiddenAliases": [],
|
|
1807
|
+
"id": "doctor",
|
|
1808
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1809
|
+
"pluginName": "@memberjunction/cli",
|
|
1810
|
+
"pluginType": "core",
|
|
1811
|
+
"strict": true,
|
|
1812
|
+
"enableJsonFlag": false,
|
|
1813
|
+
"isESM": true,
|
|
1814
|
+
"relativePath": [
|
|
1815
|
+
"dist",
|
|
1816
|
+
"commands",
|
|
1817
|
+
"doctor",
|
|
1818
|
+
"index.js"
|
|
1819
|
+
]
|
|
1820
|
+
},
|
|
1821
|
+
"install": {
|
|
1822
|
+
"aliases": [],
|
|
1823
|
+
"args": {},
|
|
1824
|
+
"description": "Install MemberJunction from a GitHub release",
|
|
1825
|
+
"examples": [
|
|
1826
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1827
|
+
"<%= config.bin %> <%= command.id %> -t v4.3.0",
|
|
1828
|
+
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
1829
|
+
"<%= config.bin %> <%= command.id %> --yes"
|
|
1830
|
+
],
|
|
1831
|
+
"flags": {
|
|
1832
|
+
"tag": {
|
|
1833
|
+
"char": "t",
|
|
1834
|
+
"description": "Release tag to install (e.g. v4.3.0). If omitted, shows a version picker.",
|
|
1835
|
+
"name": "tag",
|
|
1836
|
+
"hasDynamicHelp": false,
|
|
1837
|
+
"multiple": false,
|
|
1838
|
+
"type": "option"
|
|
1839
|
+
},
|
|
1840
|
+
"dir": {
|
|
1841
|
+
"description": "Target directory for the installation",
|
|
1842
|
+
"name": "dir",
|
|
1843
|
+
"default": ".",
|
|
1844
|
+
"hasDynamicHelp": false,
|
|
1845
|
+
"multiple": false,
|
|
1846
|
+
"type": "option"
|
|
1847
|
+
},
|
|
1848
|
+
"config": {
|
|
1849
|
+
"char": "c",
|
|
1850
|
+
"description": "Path to JSON config file with install settings (database, auth, ports, etc.)",
|
|
1851
|
+
"name": "config",
|
|
1852
|
+
"hasDynamicHelp": false,
|
|
1853
|
+
"multiple": false,
|
|
1854
|
+
"type": "option"
|
|
1855
|
+
},
|
|
1856
|
+
"legacy": {
|
|
1857
|
+
"description": "Use the legacy interactive installer (ZIP-only distribution)",
|
|
1858
|
+
"hidden": true,
|
|
1859
|
+
"name": "legacy",
|
|
1860
|
+
"allowNo": false,
|
|
1861
|
+
"type": "boolean"
|
|
1862
|
+
},
|
|
1863
|
+
"dry-run": {
|
|
1864
|
+
"description": "Show the install plan without executing it",
|
|
1865
|
+
"name": "dry-run",
|
|
1866
|
+
"allowNo": false,
|
|
1867
|
+
"type": "boolean"
|
|
1868
|
+
},
|
|
1869
|
+
"yes": {
|
|
1870
|
+
"char": "y",
|
|
1871
|
+
"description": "Non-interactive mode: auto-select latest version and accept defaults",
|
|
1872
|
+
"name": "yes",
|
|
1873
|
+
"allowNo": false,
|
|
1874
|
+
"type": "boolean"
|
|
1875
|
+
},
|
|
1876
|
+
"verbose": {
|
|
1877
|
+
"char": "v",
|
|
1878
|
+
"description": "Show detailed output",
|
|
1879
|
+
"name": "verbose",
|
|
1880
|
+
"allowNo": false,
|
|
1881
|
+
"type": "boolean"
|
|
1882
|
+
},
|
|
1883
|
+
"skip-db": {
|
|
1884
|
+
"description": "Skip database provisioning phases",
|
|
1885
|
+
"name": "skip-db",
|
|
1886
|
+
"allowNo": false,
|
|
1887
|
+
"type": "boolean"
|
|
1888
|
+
},
|
|
1889
|
+
"skip-start": {
|
|
1890
|
+
"description": "Skip service startup and smoke tests",
|
|
1891
|
+
"name": "skip-start",
|
|
1892
|
+
"allowNo": false,
|
|
1893
|
+
"type": "boolean"
|
|
1894
|
+
},
|
|
1895
|
+
"no-resume": {
|
|
1896
|
+
"description": "Ignore any existing checkpoint and start fresh",
|
|
1897
|
+
"name": "no-resume",
|
|
1898
|
+
"allowNo": false,
|
|
1899
|
+
"type": "boolean"
|
|
1900
|
+
},
|
|
1901
|
+
"fast": {
|
|
1902
|
+
"description": "Fast mode: skip smoke test and optimize post-codegen steps. Re-run without --fast if you encounter issues.",
|
|
1903
|
+
"name": "fast",
|
|
1904
|
+
"allowNo": false,
|
|
1905
|
+
"type": "boolean"
|
|
1906
|
+
},
|
|
1907
|
+
"overwrite-config": {
|
|
1908
|
+
"description": "Overwrite existing config files (.env, mj.config.cjs, environment.ts) instead of preserving them",
|
|
1909
|
+
"name": "overwrite-config",
|
|
1910
|
+
"allowNo": false,
|
|
1911
|
+
"type": "boolean"
|
|
1912
|
+
},
|
|
1913
|
+
"monorepo": {
|
|
1914
|
+
"description": "Install the full MemberJunction source repository instead of the lightweight distribution. Use this for MJ framework development.",
|
|
1915
|
+
"name": "monorepo",
|
|
1916
|
+
"allowNo": false,
|
|
1917
|
+
"type": "boolean"
|
|
1918
|
+
}
|
|
1919
|
+
},
|
|
1920
|
+
"hasDynamicHelp": false,
|
|
1921
|
+
"hiddenAliases": [],
|
|
1922
|
+
"id": "install",
|
|
1923
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1924
|
+
"pluginName": "@memberjunction/cli",
|
|
1925
|
+
"pluginType": "core",
|
|
1926
|
+
"strict": true,
|
|
1927
|
+
"enableJsonFlag": false,
|
|
1928
|
+
"isESM": true,
|
|
1929
|
+
"relativePath": [
|
|
1930
|
+
"dist",
|
|
1931
|
+
"commands",
|
|
1932
|
+
"install",
|
|
1933
|
+
"index.js"
|
|
1934
|
+
]
|
|
1935
|
+
},
|
|
1936
|
+
"migrate:convert": {
|
|
1937
|
+
"aliases": [],
|
|
1938
|
+
"args": {},
|
|
1939
|
+
"description": "Convert T-SQL migrations to PostgreSQL using the BatchConverter pipeline",
|
|
1940
|
+
"examples": [
|
|
1941
|
+
"<%= config.bin %> migrate convert",
|
|
1942
|
+
"<%= config.bin %> migrate convert --dry-run",
|
|
1943
|
+
"<%= config.bin %> migrate convert --file V202604060452__v5.24.x__KnowledgeHub.sql",
|
|
1944
|
+
"<%= config.bin %> migrate convert --source-dir ./migrations/v5 --output-dir ./migrations-pg/v5",
|
|
1945
|
+
"<%= config.bin %> migrate convert --verbose"
|
|
1946
|
+
],
|
|
1947
|
+
"flags": {
|
|
1948
|
+
"source-dir": {
|
|
1949
|
+
"description": "Source T-SQL migrations directory",
|
|
1950
|
+
"name": "source-dir",
|
|
1951
|
+
"default": "./migrations/v5",
|
|
1952
|
+
"hasDynamicHelp": false,
|
|
1953
|
+
"multiple": false,
|
|
1954
|
+
"type": "option"
|
|
1955
|
+
},
|
|
1956
|
+
"output-dir": {
|
|
1957
|
+
"description": "Output PG migrations directory",
|
|
1958
|
+
"name": "output-dir",
|
|
1959
|
+
"default": "./migrations-pg/v5",
|
|
1960
|
+
"hasDynamicHelp": false,
|
|
1961
|
+
"multiple": false,
|
|
1962
|
+
"type": "option"
|
|
1963
|
+
},
|
|
1964
|
+
"file": {
|
|
1965
|
+
"description": "Convert a specific file (filename only, looked up in source-dir)",
|
|
1966
|
+
"name": "file",
|
|
1967
|
+
"hasDynamicHelp": false,
|
|
1968
|
+
"multiple": false,
|
|
1969
|
+
"type": "option"
|
|
1970
|
+
},
|
|
1971
|
+
"schema": {
|
|
1972
|
+
"description": "Target schema name",
|
|
1973
|
+
"name": "schema",
|
|
1974
|
+
"default": "__mj",
|
|
1975
|
+
"hasDynamicHelp": false,
|
|
1976
|
+
"multiple": false,
|
|
1977
|
+
"type": "option"
|
|
1978
|
+
},
|
|
1979
|
+
"dry-run": {
|
|
1980
|
+
"description": "Show what would be converted without writing files",
|
|
1981
|
+
"name": "dry-run",
|
|
1982
|
+
"allowNo": false,
|
|
1983
|
+
"type": "boolean"
|
|
1984
|
+
},
|
|
1985
|
+
"no-header": {
|
|
1986
|
+
"description": "Skip PG header (extensions, schema, implicit cast)",
|
|
1987
|
+
"name": "no-header",
|
|
1988
|
+
"allowNo": false,
|
|
1989
|
+
"type": "boolean"
|
|
1990
|
+
},
|
|
1991
|
+
"verbose": {
|
|
1992
|
+
"char": "v",
|
|
1993
|
+
"description": "Show per-statement progress",
|
|
1799
1994
|
"name": "verbose",
|
|
1800
1995
|
"allowNo": false,
|
|
1801
1996
|
"type": "boolean"
|
|
@@ -1922,6 +2117,12 @@
|
|
|
1922
2117
|
"hasDynamicHelp": false,
|
|
1923
2118
|
"multiple": false,
|
|
1924
2119
|
"type": "option"
|
|
2120
|
+
},
|
|
2121
|
+
"check-connection": {
|
|
2122
|
+
"description": "Verify the database connection (including TLS) and exit without migrating",
|
|
2123
|
+
"name": "check-connection",
|
|
2124
|
+
"allowNo": false,
|
|
2125
|
+
"type": "boolean"
|
|
1925
2126
|
}
|
|
1926
2127
|
},
|
|
1927
2128
|
"hasDynamicHelp": false,
|
|
@@ -2800,48 +3001,147 @@
|
|
|
2800
3001
|
"watch.js"
|
|
2801
3002
|
]
|
|
2802
3003
|
},
|
|
2803
|
-
"
|
|
3004
|
+
"translate-sql": {
|
|
2804
3005
|
"aliases": [],
|
|
2805
|
-
"args": {
|
|
2806
|
-
|
|
2807
|
-
"description": "First test run ID to compare",
|
|
2808
|
-
"name": "runId1",
|
|
2809
|
-
"required": false
|
|
2810
|
-
},
|
|
2811
|
-
"runId2": {
|
|
2812
|
-
"description": "Second test run ID to compare",
|
|
2813
|
-
"name": "runId2",
|
|
2814
|
-
"required": false
|
|
2815
|
-
}
|
|
2816
|
-
},
|
|
2817
|
-
"description": "Compare test runs for regression detection",
|
|
3006
|
+
"args": {},
|
|
3007
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
2818
3008
|
"examples": [
|
|
2819
|
-
"<%= config.bin %>
|
|
2820
|
-
"<%= config.bin %>
|
|
2821
|
-
"<%= config.bin %>
|
|
2822
|
-
"<%= config.bin %>
|
|
2823
|
-
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
2824
|
-
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
2825
|
-
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
3009
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
3010
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
3011
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
3012
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
2826
3013
|
],
|
|
2827
3014
|
"flags": {
|
|
2828
|
-
"
|
|
2829
|
-
"
|
|
2830
|
-
"
|
|
2831
|
-
"
|
|
3015
|
+
"from": {
|
|
3016
|
+
"description": "Source SQL dialect",
|
|
3017
|
+
"name": "from",
|
|
3018
|
+
"required": true,
|
|
2832
3019
|
"hasDynamicHelp": false,
|
|
2833
|
-
"multiple":
|
|
3020
|
+
"multiple": false,
|
|
3021
|
+
"options": [
|
|
3022
|
+
"sqlserver",
|
|
3023
|
+
"postgresql"
|
|
3024
|
+
],
|
|
2834
3025
|
"type": "option"
|
|
2835
3026
|
},
|
|
2836
|
-
"
|
|
2837
|
-
"
|
|
2838
|
-
"
|
|
2839
|
-
"
|
|
3027
|
+
"to": {
|
|
3028
|
+
"description": "Target SQL dialect",
|
|
3029
|
+
"name": "to",
|
|
3030
|
+
"required": true,
|
|
2840
3031
|
"hasDynamicHelp": false,
|
|
2841
|
-
"multiple":
|
|
3032
|
+
"multiple": false,
|
|
3033
|
+
"options": [
|
|
3034
|
+
"sqlserver",
|
|
3035
|
+
"postgresql"
|
|
3036
|
+
],
|
|
2842
3037
|
"type": "option"
|
|
2843
3038
|
},
|
|
2844
|
-
"
|
|
3039
|
+
"scope": {
|
|
3040
|
+
"description": "What to scan for translation",
|
|
3041
|
+
"name": "scope",
|
|
3042
|
+
"default": "all",
|
|
3043
|
+
"hasDynamicHelp": false,
|
|
3044
|
+
"multiple": false,
|
|
3045
|
+
"options": [
|
|
3046
|
+
"queries",
|
|
3047
|
+
"views",
|
|
3048
|
+
"filters",
|
|
3049
|
+
"all"
|
|
3050
|
+
],
|
|
3051
|
+
"type": "option"
|
|
3052
|
+
},
|
|
3053
|
+
"sql": {
|
|
3054
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
3055
|
+
"name": "sql",
|
|
3056
|
+
"hasDynamicHelp": false,
|
|
3057
|
+
"multiple": false,
|
|
3058
|
+
"type": "option"
|
|
3059
|
+
},
|
|
3060
|
+
"dry-run": {
|
|
3061
|
+
"description": "Show what would be translated without making changes",
|
|
3062
|
+
"name": "dry-run",
|
|
3063
|
+
"allowNo": false,
|
|
3064
|
+
"type": "boolean"
|
|
3065
|
+
},
|
|
3066
|
+
"review": {
|
|
3067
|
+
"description": "Generate review report only (no writes to database)",
|
|
3068
|
+
"name": "review",
|
|
3069
|
+
"allowNo": false,
|
|
3070
|
+
"type": "boolean"
|
|
3071
|
+
},
|
|
3072
|
+
"output": {
|
|
3073
|
+
"char": "o",
|
|
3074
|
+
"description": "Output directory for the translation report",
|
|
3075
|
+
"name": "output",
|
|
3076
|
+
"hasDynamicHelp": false,
|
|
3077
|
+
"multiple": false,
|
|
3078
|
+
"type": "option"
|
|
3079
|
+
},
|
|
3080
|
+
"force": {
|
|
3081
|
+
"description": "Re-translate even if platform variants already exist",
|
|
3082
|
+
"name": "force",
|
|
3083
|
+
"allowNo": false,
|
|
3084
|
+
"type": "boolean"
|
|
3085
|
+
}
|
|
3086
|
+
},
|
|
3087
|
+
"hasDynamicHelp": false,
|
|
3088
|
+
"hiddenAliases": [],
|
|
3089
|
+
"id": "translate-sql",
|
|
3090
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3091
|
+
"pluginName": "@memberjunction/cli",
|
|
3092
|
+
"pluginType": "core",
|
|
3093
|
+
"strict": true,
|
|
3094
|
+
"enableJsonFlag": false,
|
|
3095
|
+
"isESM": true,
|
|
3096
|
+
"relativePath": [
|
|
3097
|
+
"dist",
|
|
3098
|
+
"commands",
|
|
3099
|
+
"translate-sql",
|
|
3100
|
+
"index.js"
|
|
3101
|
+
]
|
|
3102
|
+
},
|
|
3103
|
+
"test:compare": {
|
|
3104
|
+
"aliases": [],
|
|
3105
|
+
"args": {
|
|
3106
|
+
"runId1": {
|
|
3107
|
+
"description": "First test run ID to compare",
|
|
3108
|
+
"name": "runId1",
|
|
3109
|
+
"required": false
|
|
3110
|
+
},
|
|
3111
|
+
"runId2": {
|
|
3112
|
+
"description": "Second test run ID to compare",
|
|
3113
|
+
"name": "runId2",
|
|
3114
|
+
"required": false
|
|
3115
|
+
}
|
|
3116
|
+
},
|
|
3117
|
+
"description": "Compare test runs for regression detection",
|
|
3118
|
+
"examples": [
|
|
3119
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3120
|
+
"<%= config.bin %> <%= command.id %> --latest",
|
|
3121
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
3122
|
+
"<%= config.bin %> <%= command.id %> -v 5.17.0 -v 5.18.0",
|
|
3123
|
+
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
3124
|
+
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
3125
|
+
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
3126
|
+
],
|
|
3127
|
+
"flags": {
|
|
3128
|
+
"version": {
|
|
3129
|
+
"char": "v",
|
|
3130
|
+
"description": "Compare runs by version",
|
|
3131
|
+
"name": "version",
|
|
3132
|
+
"hasDynamicHelp": false,
|
|
3133
|
+
"multiple": true,
|
|
3134
|
+
"type": "option"
|
|
3135
|
+
},
|
|
3136
|
+
"commit": {
|
|
3137
|
+
"char": "c",
|
|
3138
|
+
"description": "Compare runs by git commit",
|
|
3139
|
+
"name": "commit",
|
|
3140
|
+
"hasDynamicHelp": false,
|
|
3141
|
+
"multiple": true,
|
|
3142
|
+
"type": "option"
|
|
3143
|
+
},
|
|
3144
|
+
"diff-only": {
|
|
2845
3145
|
"description": "Show only differences",
|
|
2846
3146
|
"name": "diff-only",
|
|
2847
3147
|
"allowNo": false,
|
|
@@ -3412,92 +3712,34 @@
|
|
|
3412
3712
|
"validate.js"
|
|
3413
3713
|
]
|
|
3414
3714
|
},
|
|
3415
|
-
"
|
|
3715
|
+
"ai:actions:list": {
|
|
3416
3716
|
"aliases": [],
|
|
3417
3717
|
"args": {},
|
|
3418
|
-
"description": "
|
|
3718
|
+
"description": "List available AI actions",
|
|
3419
3719
|
"examples": [
|
|
3420
|
-
"<%= config.bin %>
|
|
3421
|
-
"<%= config.bin %>
|
|
3422
|
-
"<%= config.bin %>
|
|
3423
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
3720
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3721
|
+
"<%= config.bin %> <%= command.id %> --output=table",
|
|
3722
|
+
"<%= config.bin %> <%= command.id %> --output=json"
|
|
3424
3723
|
],
|
|
3425
3724
|
"flags": {
|
|
3426
|
-
"from": {
|
|
3427
|
-
"description": "Source SQL dialect",
|
|
3428
|
-
"name": "from",
|
|
3429
|
-
"required": true,
|
|
3430
|
-
"hasDynamicHelp": false,
|
|
3431
|
-
"multiple": false,
|
|
3432
|
-
"options": [
|
|
3433
|
-
"sqlserver",
|
|
3434
|
-
"postgresql"
|
|
3435
|
-
],
|
|
3436
|
-
"type": "option"
|
|
3437
|
-
},
|
|
3438
|
-
"to": {
|
|
3439
|
-
"description": "Target SQL dialect",
|
|
3440
|
-
"name": "to",
|
|
3441
|
-
"required": true,
|
|
3442
|
-
"hasDynamicHelp": false,
|
|
3443
|
-
"multiple": false,
|
|
3444
|
-
"options": [
|
|
3445
|
-
"sqlserver",
|
|
3446
|
-
"postgresql"
|
|
3447
|
-
],
|
|
3448
|
-
"type": "option"
|
|
3449
|
-
},
|
|
3450
|
-
"scope": {
|
|
3451
|
-
"description": "What to scan for translation",
|
|
3452
|
-
"name": "scope",
|
|
3453
|
-
"default": "all",
|
|
3454
|
-
"hasDynamicHelp": false,
|
|
3455
|
-
"multiple": false,
|
|
3456
|
-
"options": [
|
|
3457
|
-
"queries",
|
|
3458
|
-
"views",
|
|
3459
|
-
"filters",
|
|
3460
|
-
"all"
|
|
3461
|
-
],
|
|
3462
|
-
"type": "option"
|
|
3463
|
-
},
|
|
3464
|
-
"sql": {
|
|
3465
|
-
"description": "Translate a single SQL fragment (inline mode)",
|
|
3466
|
-
"name": "sql",
|
|
3467
|
-
"hasDynamicHelp": false,
|
|
3468
|
-
"multiple": false,
|
|
3469
|
-
"type": "option"
|
|
3470
|
-
},
|
|
3471
|
-
"dry-run": {
|
|
3472
|
-
"description": "Show what would be translated without making changes",
|
|
3473
|
-
"name": "dry-run",
|
|
3474
|
-
"allowNo": false,
|
|
3475
|
-
"type": "boolean"
|
|
3476
|
-
},
|
|
3477
|
-
"review": {
|
|
3478
|
-
"description": "Generate review report only (no writes to database)",
|
|
3479
|
-
"name": "review",
|
|
3480
|
-
"allowNo": false,
|
|
3481
|
-
"type": "boolean"
|
|
3482
|
-
},
|
|
3483
3725
|
"output": {
|
|
3484
3726
|
"char": "o",
|
|
3485
|
-
"description": "Output
|
|
3727
|
+
"description": "Output format",
|
|
3486
3728
|
"name": "output",
|
|
3729
|
+
"default": "compact",
|
|
3487
3730
|
"hasDynamicHelp": false,
|
|
3488
3731
|
"multiple": false,
|
|
3732
|
+
"options": [
|
|
3733
|
+
"compact",
|
|
3734
|
+
"json",
|
|
3735
|
+
"table"
|
|
3736
|
+
],
|
|
3489
3737
|
"type": "option"
|
|
3490
|
-
},
|
|
3491
|
-
"force": {
|
|
3492
|
-
"description": "Re-translate even if platform variants already exist",
|
|
3493
|
-
"name": "force",
|
|
3494
|
-
"allowNo": false,
|
|
3495
|
-
"type": "boolean"
|
|
3496
3738
|
}
|
|
3497
3739
|
},
|
|
3498
3740
|
"hasDynamicHelp": false,
|
|
3499
3741
|
"hiddenAliases": [],
|
|
3500
|
-
"id": "
|
|
3742
|
+
"id": "ai:actions:list",
|
|
3501
3743
|
"pluginAlias": "@memberjunction/cli",
|
|
3502
3744
|
"pluginName": "@memberjunction/cli",
|
|
3503
3745
|
"pluginType": "core",
|
|
@@ -3507,112 +3749,78 @@
|
|
|
3507
3749
|
"relativePath": [
|
|
3508
3750
|
"dist",
|
|
3509
3751
|
"commands",
|
|
3510
|
-
"
|
|
3511
|
-
"
|
|
3752
|
+
"ai",
|
|
3753
|
+
"actions",
|
|
3754
|
+
"list.js"
|
|
3512
3755
|
]
|
|
3513
3756
|
},
|
|
3514
|
-
"
|
|
3757
|
+
"ai:actions:run": {
|
|
3515
3758
|
"aliases": [],
|
|
3516
3759
|
"args": {},
|
|
3517
|
-
"description": "
|
|
3760
|
+
"description": "Execute an AI action with parameters",
|
|
3518
3761
|
"examples": [
|
|
3519
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3520
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3521
|
-
"<%= config.bin %> <%= command.id %>
|
|
3522
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3762
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
3763
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
3764
|
+
"<%= 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\"",
|
|
3765
|
+
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
3523
3766
|
],
|
|
3524
3767
|
"flags": {
|
|
3525
|
-
"
|
|
3526
|
-
"char": "
|
|
3527
|
-
"description": "
|
|
3528
|
-
"name": "
|
|
3529
|
-
"
|
|
3530
|
-
"multiple": false,
|
|
3531
|
-
"type": "option"
|
|
3532
|
-
},
|
|
3533
|
-
"dir": {
|
|
3534
|
-
"description": "Target directory for the installation",
|
|
3535
|
-
"name": "dir",
|
|
3536
|
-
"default": ".",
|
|
3768
|
+
"name": {
|
|
3769
|
+
"char": "n",
|
|
3770
|
+
"description": "Action name",
|
|
3771
|
+
"name": "name",
|
|
3772
|
+
"required": true,
|
|
3537
3773
|
"hasDynamicHelp": false,
|
|
3538
3774
|
"multiple": false,
|
|
3539
3775
|
"type": "option"
|
|
3540
3776
|
},
|
|
3541
|
-
"
|
|
3542
|
-
"char": "
|
|
3543
|
-
"description": "
|
|
3544
|
-
"name": "
|
|
3777
|
+
"param": {
|
|
3778
|
+
"char": "p",
|
|
3779
|
+
"description": "Action parameters in key=value format",
|
|
3780
|
+
"name": "param",
|
|
3545
3781
|
"hasDynamicHelp": false,
|
|
3546
|
-
"multiple":
|
|
3782
|
+
"multiple": true,
|
|
3547
3783
|
"type": "option"
|
|
3548
3784
|
},
|
|
3549
|
-
"legacy": {
|
|
3550
|
-
"description": "Use the legacy interactive installer (ZIP-only distribution)",
|
|
3551
|
-
"hidden": true,
|
|
3552
|
-
"name": "legacy",
|
|
3553
|
-
"allowNo": false,
|
|
3554
|
-
"type": "boolean"
|
|
3555
|
-
},
|
|
3556
3785
|
"dry-run": {
|
|
3557
|
-
"description": "
|
|
3786
|
+
"description": "Validate without executing",
|
|
3558
3787
|
"name": "dry-run",
|
|
3559
3788
|
"allowNo": false,
|
|
3560
3789
|
"type": "boolean"
|
|
3561
3790
|
},
|
|
3562
|
-
"
|
|
3563
|
-
"char": "
|
|
3564
|
-
"description": "
|
|
3565
|
-
"name": "
|
|
3566
|
-
"
|
|
3567
|
-
"
|
|
3791
|
+
"output": {
|
|
3792
|
+
"char": "o",
|
|
3793
|
+
"description": "Output format",
|
|
3794
|
+
"name": "output",
|
|
3795
|
+
"default": "compact",
|
|
3796
|
+
"hasDynamicHelp": false,
|
|
3797
|
+
"multiple": false,
|
|
3798
|
+
"options": [
|
|
3799
|
+
"compact",
|
|
3800
|
+
"json",
|
|
3801
|
+
"table"
|
|
3802
|
+
],
|
|
3803
|
+
"type": "option"
|
|
3568
3804
|
},
|
|
3569
3805
|
"verbose": {
|
|
3570
3806
|
"char": "v",
|
|
3571
|
-
"description": "Show detailed
|
|
3807
|
+
"description": "Show detailed execution information",
|
|
3572
3808
|
"name": "verbose",
|
|
3573
3809
|
"allowNo": false,
|
|
3574
3810
|
"type": "boolean"
|
|
3575
3811
|
},
|
|
3576
|
-
"
|
|
3577
|
-
"description": "
|
|
3578
|
-
"name": "
|
|
3579
|
-
"
|
|
3580
|
-
"
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
"description": "Skip service startup and smoke tests",
|
|
3584
|
-
"name": "skip-start",
|
|
3585
|
-
"allowNo": false,
|
|
3586
|
-
"type": "boolean"
|
|
3587
|
-
},
|
|
3588
|
-
"no-resume": {
|
|
3589
|
-
"description": "Ignore any existing checkpoint and start fresh",
|
|
3590
|
-
"name": "no-resume",
|
|
3591
|
-
"allowNo": false,
|
|
3592
|
-
"type": "boolean"
|
|
3593
|
-
},
|
|
3594
|
-
"fast": {
|
|
3595
|
-
"description": "Fast mode: skip smoke test and optimize post-codegen steps. Re-run without --fast if you encounter issues.",
|
|
3596
|
-
"name": "fast",
|
|
3597
|
-
"allowNo": false,
|
|
3598
|
-
"type": "boolean"
|
|
3599
|
-
},
|
|
3600
|
-
"overwrite-config": {
|
|
3601
|
-
"description": "Overwrite existing config files (.env, mj.config.cjs, environment.ts) instead of preserving them",
|
|
3602
|
-
"name": "overwrite-config",
|
|
3603
|
-
"allowNo": false,
|
|
3604
|
-
"type": "boolean"
|
|
3605
|
-
},
|
|
3606
|
-
"monorepo": {
|
|
3607
|
-
"description": "Install the full MemberJunction source repository instead of the lightweight distribution. Use this for MJ framework development.",
|
|
3608
|
-
"name": "monorepo",
|
|
3609
|
-
"allowNo": false,
|
|
3610
|
-
"type": "boolean"
|
|
3812
|
+
"timeout": {
|
|
3813
|
+
"description": "Execution timeout in milliseconds",
|
|
3814
|
+
"name": "timeout",
|
|
3815
|
+
"default": 300000,
|
|
3816
|
+
"hasDynamicHelp": false,
|
|
3817
|
+
"multiple": false,
|
|
3818
|
+
"type": "option"
|
|
3611
3819
|
}
|
|
3612
3820
|
},
|
|
3613
3821
|
"hasDynamicHelp": false,
|
|
3614
3822
|
"hiddenAliases": [],
|
|
3615
|
-
"id": "
|
|
3823
|
+
"id": "ai:actions:run",
|
|
3616
3824
|
"pluginAlias": "@memberjunction/cli",
|
|
3617
3825
|
"pluginName": "@memberjunction/cli",
|
|
3618
3826
|
"pluginType": "core",
|
|
@@ -3622,8 +3830,9 @@
|
|
|
3622
3830
|
"relativePath": [
|
|
3623
3831
|
"dist",
|
|
3624
3832
|
"commands",
|
|
3625
|
-
"
|
|
3626
|
-
"
|
|
3833
|
+
"ai",
|
|
3834
|
+
"actions",
|
|
3835
|
+
"run.js"
|
|
3627
3836
|
]
|
|
3628
3837
|
},
|
|
3629
3838
|
"ai:agents:list": {
|
|
@@ -3971,129 +4180,6 @@
|
|
|
3971
4180
|
"index.js"
|
|
3972
4181
|
]
|
|
3973
4182
|
},
|
|
3974
|
-
"ai:actions:list": {
|
|
3975
|
-
"aliases": [],
|
|
3976
|
-
"args": {},
|
|
3977
|
-
"description": "List available AI actions",
|
|
3978
|
-
"examples": [
|
|
3979
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3980
|
-
"<%= config.bin %> <%= command.id %> --output=table",
|
|
3981
|
-
"<%= config.bin %> <%= command.id %> --output=json"
|
|
3982
|
-
],
|
|
3983
|
-
"flags": {
|
|
3984
|
-
"output": {
|
|
3985
|
-
"char": "o",
|
|
3986
|
-
"description": "Output format",
|
|
3987
|
-
"name": "output",
|
|
3988
|
-
"default": "compact",
|
|
3989
|
-
"hasDynamicHelp": false,
|
|
3990
|
-
"multiple": false,
|
|
3991
|
-
"options": [
|
|
3992
|
-
"compact",
|
|
3993
|
-
"json",
|
|
3994
|
-
"table"
|
|
3995
|
-
],
|
|
3996
|
-
"type": "option"
|
|
3997
|
-
}
|
|
3998
|
-
},
|
|
3999
|
-
"hasDynamicHelp": false,
|
|
4000
|
-
"hiddenAliases": [],
|
|
4001
|
-
"id": "ai:actions:list",
|
|
4002
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4003
|
-
"pluginName": "@memberjunction/cli",
|
|
4004
|
-
"pluginType": "core",
|
|
4005
|
-
"strict": true,
|
|
4006
|
-
"enableJsonFlag": false,
|
|
4007
|
-
"isESM": true,
|
|
4008
|
-
"relativePath": [
|
|
4009
|
-
"dist",
|
|
4010
|
-
"commands",
|
|
4011
|
-
"ai",
|
|
4012
|
-
"actions",
|
|
4013
|
-
"list.js"
|
|
4014
|
-
]
|
|
4015
|
-
},
|
|
4016
|
-
"ai:actions:run": {
|
|
4017
|
-
"aliases": [],
|
|
4018
|
-
"args": {},
|
|
4019
|
-
"description": "Execute an AI action with parameters",
|
|
4020
|
-
"examples": [
|
|
4021
|
-
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
4022
|
-
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
4023
|
-
"<%= 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\"",
|
|
4024
|
-
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
4025
|
-
],
|
|
4026
|
-
"flags": {
|
|
4027
|
-
"name": {
|
|
4028
|
-
"char": "n",
|
|
4029
|
-
"description": "Action name",
|
|
4030
|
-
"name": "name",
|
|
4031
|
-
"required": true,
|
|
4032
|
-
"hasDynamicHelp": false,
|
|
4033
|
-
"multiple": false,
|
|
4034
|
-
"type": "option"
|
|
4035
|
-
},
|
|
4036
|
-
"param": {
|
|
4037
|
-
"char": "p",
|
|
4038
|
-
"description": "Action parameters in key=value format",
|
|
4039
|
-
"name": "param",
|
|
4040
|
-
"hasDynamicHelp": false,
|
|
4041
|
-
"multiple": true,
|
|
4042
|
-
"type": "option"
|
|
4043
|
-
},
|
|
4044
|
-
"dry-run": {
|
|
4045
|
-
"description": "Validate without executing",
|
|
4046
|
-
"name": "dry-run",
|
|
4047
|
-
"allowNo": false,
|
|
4048
|
-
"type": "boolean"
|
|
4049
|
-
},
|
|
4050
|
-
"output": {
|
|
4051
|
-
"char": "o",
|
|
4052
|
-
"description": "Output format",
|
|
4053
|
-
"name": "output",
|
|
4054
|
-
"default": "compact",
|
|
4055
|
-
"hasDynamicHelp": false,
|
|
4056
|
-
"multiple": false,
|
|
4057
|
-
"options": [
|
|
4058
|
-
"compact",
|
|
4059
|
-
"json",
|
|
4060
|
-
"table"
|
|
4061
|
-
],
|
|
4062
|
-
"type": "option"
|
|
4063
|
-
},
|
|
4064
|
-
"verbose": {
|
|
4065
|
-
"char": "v",
|
|
4066
|
-
"description": "Show detailed execution information",
|
|
4067
|
-
"name": "verbose",
|
|
4068
|
-
"allowNo": false,
|
|
4069
|
-
"type": "boolean"
|
|
4070
|
-
},
|
|
4071
|
-
"timeout": {
|
|
4072
|
-
"description": "Execution timeout in milliseconds",
|
|
4073
|
-
"name": "timeout",
|
|
4074
|
-
"default": 300000,
|
|
4075
|
-
"hasDynamicHelp": false,
|
|
4076
|
-
"multiple": false,
|
|
4077
|
-
"type": "option"
|
|
4078
|
-
}
|
|
4079
|
-
},
|
|
4080
|
-
"hasDynamicHelp": false,
|
|
4081
|
-
"hiddenAliases": [],
|
|
4082
|
-
"id": "ai:actions:run",
|
|
4083
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4084
|
-
"pluginName": "@memberjunction/cli",
|
|
4085
|
-
"pluginType": "core",
|
|
4086
|
-
"strict": true,
|
|
4087
|
-
"enableJsonFlag": false,
|
|
4088
|
-
"isESM": true,
|
|
4089
|
-
"relativePath": [
|
|
4090
|
-
"dist",
|
|
4091
|
-
"commands",
|
|
4092
|
-
"ai",
|
|
4093
|
-
"actions",
|
|
4094
|
-
"run.js"
|
|
4095
|
-
]
|
|
4096
|
-
},
|
|
4097
4183
|
"ai:prompts:list": {
|
|
4098
4184
|
"aliases": [],
|
|
4099
4185
|
"args": {},
|
|
@@ -4674,5 +4760,5 @@
|
|
|
4674
4760
|
]
|
|
4675
4761
|
}
|
|
4676
4762
|
},
|
|
4677
|
-
"version": "5.
|
|
4763
|
+
"version": "5.40.0"
|
|
4678
4764
|
}
|