@memberjunction/cli 5.26.0 → 5.27.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/oclif.manifest.json +828 -828
- package/package.json +13 -13
package/oclif.manifest.json
CHANGED
|
@@ -320,6 +320,38 @@
|
|
|
320
320
|
"upgrade.js"
|
|
321
321
|
]
|
|
322
322
|
},
|
|
323
|
+
"clean": {
|
|
324
|
+
"aliases": [],
|
|
325
|
+
"args": {},
|
|
326
|
+
"description": "Resets the MemberJunction database to a pre-installation state",
|
|
327
|
+
"examples": [
|
|
328
|
+
"<%= config.bin %> <%= command.id %>\n"
|
|
329
|
+
],
|
|
330
|
+
"flags": {
|
|
331
|
+
"verbose": {
|
|
332
|
+
"char": "v",
|
|
333
|
+
"description": "Enable additional logging",
|
|
334
|
+
"name": "verbose",
|
|
335
|
+
"allowNo": false,
|
|
336
|
+
"type": "boolean"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"hasDynamicHelp": false,
|
|
340
|
+
"hiddenAliases": [],
|
|
341
|
+
"id": "clean",
|
|
342
|
+
"pluginAlias": "@memberjunction/cli",
|
|
343
|
+
"pluginName": "@memberjunction/cli",
|
|
344
|
+
"pluginType": "core",
|
|
345
|
+
"strict": true,
|
|
346
|
+
"enableJsonFlag": false,
|
|
347
|
+
"isESM": true,
|
|
348
|
+
"relativePath": [
|
|
349
|
+
"dist",
|
|
350
|
+
"commands",
|
|
351
|
+
"clean",
|
|
352
|
+
"index.js"
|
|
353
|
+
]
|
|
354
|
+
},
|
|
323
355
|
"bump": {
|
|
324
356
|
"aliases": [],
|
|
325
357
|
"args": {},
|
|
@@ -392,38 +424,6 @@
|
|
|
392
424
|
"index.js"
|
|
393
425
|
]
|
|
394
426
|
},
|
|
395
|
-
"clean": {
|
|
396
|
-
"aliases": [],
|
|
397
|
-
"args": {},
|
|
398
|
-
"description": "Resets the MemberJunction database to a pre-installation state",
|
|
399
|
-
"examples": [
|
|
400
|
-
"<%= config.bin %> <%= command.id %>\n"
|
|
401
|
-
],
|
|
402
|
-
"flags": {
|
|
403
|
-
"verbose": {
|
|
404
|
-
"char": "v",
|
|
405
|
-
"description": "Enable additional logging",
|
|
406
|
-
"name": "verbose",
|
|
407
|
-
"allowNo": false,
|
|
408
|
-
"type": "boolean"
|
|
409
|
-
}
|
|
410
|
-
},
|
|
411
|
-
"hasDynamicHelp": false,
|
|
412
|
-
"hiddenAliases": [],
|
|
413
|
-
"id": "clean",
|
|
414
|
-
"pluginAlias": "@memberjunction/cli",
|
|
415
|
-
"pluginName": "@memberjunction/cli",
|
|
416
|
-
"pluginType": "core",
|
|
417
|
-
"strict": true,
|
|
418
|
-
"enableJsonFlag": false,
|
|
419
|
-
"isESM": true,
|
|
420
|
-
"relativePath": [
|
|
421
|
-
"dist",
|
|
422
|
-
"commands",
|
|
423
|
-
"clean",
|
|
424
|
-
"index.js"
|
|
425
|
-
]
|
|
426
|
-
},
|
|
427
427
|
"codegen:5-0-fix-entity-names": {
|
|
428
428
|
"aliases": [],
|
|
429
429
|
"args": {},
|
|
@@ -1688,73 +1688,6 @@
|
|
|
1688
1688
|
"validate.js"
|
|
1689
1689
|
]
|
|
1690
1690
|
},
|
|
1691
|
-
"sql-audit": {
|
|
1692
|
-
"aliases": [],
|
|
1693
|
-
"args": {},
|
|
1694
|
-
"description": "Compare source and target databases for migration verification",
|
|
1695
|
-
"examples": [
|
|
1696
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
1697
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
1698
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
1699
|
-
],
|
|
1700
|
-
"flags": {
|
|
1701
|
-
"source": {
|
|
1702
|
-
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
1703
|
-
"name": "source",
|
|
1704
|
-
"required": true,
|
|
1705
|
-
"hasDynamicHelp": false,
|
|
1706
|
-
"multiple": false,
|
|
1707
|
-
"type": "option"
|
|
1708
|
-
},
|
|
1709
|
-
"target": {
|
|
1710
|
-
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
1711
|
-
"name": "target",
|
|
1712
|
-
"required": true,
|
|
1713
|
-
"hasDynamicHelp": false,
|
|
1714
|
-
"multiple": false,
|
|
1715
|
-
"type": "option"
|
|
1716
|
-
},
|
|
1717
|
-
"source-schema": {
|
|
1718
|
-
"description": "Source schema name",
|
|
1719
|
-
"name": "source-schema",
|
|
1720
|
-
"default": "__mj",
|
|
1721
|
-
"hasDynamicHelp": false,
|
|
1722
|
-
"multiple": false,
|
|
1723
|
-
"type": "option"
|
|
1724
|
-
},
|
|
1725
|
-
"target-schema": {
|
|
1726
|
-
"description": "Target schema name",
|
|
1727
|
-
"name": "target-schema",
|
|
1728
|
-
"default": "__mj",
|
|
1729
|
-
"hasDynamicHelp": false,
|
|
1730
|
-
"multiple": false,
|
|
1731
|
-
"type": "option"
|
|
1732
|
-
},
|
|
1733
|
-
"output": {
|
|
1734
|
-
"char": "o",
|
|
1735
|
-
"description": "Save report to file",
|
|
1736
|
-
"name": "output",
|
|
1737
|
-
"hasDynamicHelp": false,
|
|
1738
|
-
"multiple": false,
|
|
1739
|
-
"type": "option"
|
|
1740
|
-
}
|
|
1741
|
-
},
|
|
1742
|
-
"hasDynamicHelp": false,
|
|
1743
|
-
"hiddenAliases": [],
|
|
1744
|
-
"id": "sql-audit",
|
|
1745
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1746
|
-
"pluginName": "@memberjunction/cli",
|
|
1747
|
-
"pluginType": "core",
|
|
1748
|
-
"strict": true,
|
|
1749
|
-
"enableJsonFlag": false,
|
|
1750
|
-
"isESM": true,
|
|
1751
|
-
"relativePath": [
|
|
1752
|
-
"dist",
|
|
1753
|
-
"commands",
|
|
1754
|
-
"sql-audit",
|
|
1755
|
-
"index.js"
|
|
1756
|
-
]
|
|
1757
|
-
},
|
|
1758
1691
|
"sql-convert": {
|
|
1759
1692
|
"aliases": [],
|
|
1760
1693
|
"args": {
|
|
@@ -1840,84 +1773,60 @@
|
|
|
1840
1773
|
"index.js"
|
|
1841
1774
|
]
|
|
1842
1775
|
},
|
|
1843
|
-
"
|
|
1776
|
+
"sql-audit": {
|
|
1844
1777
|
"aliases": [],
|
|
1845
1778
|
"args": {},
|
|
1846
|
-
"description": "
|
|
1779
|
+
"description": "Compare source and target databases for migration verification",
|
|
1847
1780
|
"examples": [
|
|
1848
|
-
"<%= config.bin %>
|
|
1849
|
-
"<%= config.bin %>
|
|
1850
|
-
"<%= config.bin %>
|
|
1851
|
-
"<%= config.bin %> <%= command.id %> --all"
|
|
1781
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
1782
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
1783
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
1852
1784
|
],
|
|
1853
1785
|
"flags": {
|
|
1854
|
-
"
|
|
1855
|
-
"description": "
|
|
1856
|
-
"name": "
|
|
1786
|
+
"source": {
|
|
1787
|
+
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
1788
|
+
"name": "source",
|
|
1789
|
+
"required": true,
|
|
1857
1790
|
"hasDynamicHelp": false,
|
|
1858
1791
|
"multiple": false,
|
|
1859
1792
|
"type": "option"
|
|
1860
1793
|
},
|
|
1861
|
-
"
|
|
1862
|
-
"description": "
|
|
1863
|
-
"name": "
|
|
1794
|
+
"target": {
|
|
1795
|
+
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
1796
|
+
"name": "target",
|
|
1797
|
+
"required": true,
|
|
1864
1798
|
"hasDynamicHelp": false,
|
|
1865
1799
|
"multiple": false,
|
|
1866
1800
|
"type": "option"
|
|
1867
1801
|
},
|
|
1868
|
-
"
|
|
1869
|
-
"description": "
|
|
1870
|
-
"name": "
|
|
1871
|
-
"
|
|
1872
|
-
"
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
"description": "Show what would be reset without actually resetting",
|
|
1876
|
-
"name": "dry-run",
|
|
1877
|
-
"allowNo": false,
|
|
1878
|
-
"type": "boolean"
|
|
1802
|
+
"source-schema": {
|
|
1803
|
+
"description": "Source schema name",
|
|
1804
|
+
"name": "source-schema",
|
|
1805
|
+
"default": "__mj",
|
|
1806
|
+
"hasDynamicHelp": false,
|
|
1807
|
+
"multiple": false,
|
|
1808
|
+
"type": "option"
|
|
1879
1809
|
},
|
|
1880
|
-
"
|
|
1881
|
-
"description": "
|
|
1882
|
-
"name": "
|
|
1883
|
-
"
|
|
1884
|
-
"
|
|
1810
|
+
"target-schema": {
|
|
1811
|
+
"description": "Target schema name",
|
|
1812
|
+
"name": "target-schema",
|
|
1813
|
+
"default": "__mj",
|
|
1814
|
+
"hasDynamicHelp": false,
|
|
1815
|
+
"multiple": false,
|
|
1816
|
+
"type": "option"
|
|
1885
1817
|
},
|
|
1886
|
-
"
|
|
1887
|
-
"char": "
|
|
1888
|
-
"description": "
|
|
1889
|
-
"name": "
|
|
1890
|
-
"
|
|
1891
|
-
"
|
|
1818
|
+
"output": {
|
|
1819
|
+
"char": "o",
|
|
1820
|
+
"description": "Save report to file",
|
|
1821
|
+
"name": "output",
|
|
1822
|
+
"hasDynamicHelp": false,
|
|
1823
|
+
"multiple": false,
|
|
1824
|
+
"type": "option"
|
|
1892
1825
|
}
|
|
1893
1826
|
},
|
|
1894
1827
|
"hasDynamicHelp": false,
|
|
1895
1828
|
"hiddenAliases": [],
|
|
1896
|
-
"id": "
|
|
1897
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1898
|
-
"pluginName": "@memberjunction/cli",
|
|
1899
|
-
"pluginType": "core",
|
|
1900
|
-
"strict": true,
|
|
1901
|
-
"enableJsonFlag": false,
|
|
1902
|
-
"isESM": true,
|
|
1903
|
-
"relativePath": [
|
|
1904
|
-
"dist",
|
|
1905
|
-
"commands",
|
|
1906
|
-
"sync",
|
|
1907
|
-
"file-reset.js"
|
|
1908
|
-
]
|
|
1909
|
-
},
|
|
1910
|
-
"sync:init": {
|
|
1911
|
-
"aliases": [],
|
|
1912
|
-
"args": {},
|
|
1913
|
-
"description": "Initialize a directory for metadata synchronization",
|
|
1914
|
-
"examples": [
|
|
1915
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1916
|
-
],
|
|
1917
|
-
"flags": {},
|
|
1918
|
-
"hasDynamicHelp": false,
|
|
1919
|
-
"hiddenAliases": [],
|
|
1920
|
-
"id": "sync:init",
|
|
1829
|
+
"id": "sql-audit",
|
|
1921
1830
|
"pluginAlias": "@memberjunction/cli",
|
|
1922
1831
|
"pluginName": "@memberjunction/cli",
|
|
1923
1832
|
"pluginType": "core",
|
|
@@ -1927,127 +1836,86 @@
|
|
|
1927
1836
|
"relativePath": [
|
|
1928
1837
|
"dist",
|
|
1929
1838
|
"commands",
|
|
1930
|
-
"
|
|
1931
|
-
"
|
|
1839
|
+
"sql-audit",
|
|
1840
|
+
"index.js"
|
|
1932
1841
|
]
|
|
1933
1842
|
},
|
|
1934
|
-
"
|
|
1843
|
+
"test:compare": {
|
|
1935
1844
|
"aliases": [],
|
|
1936
|
-
"args": {
|
|
1937
|
-
|
|
1845
|
+
"args": {
|
|
1846
|
+
"runId1": {
|
|
1847
|
+
"description": "First test run ID to compare",
|
|
1848
|
+
"name": "runId1",
|
|
1849
|
+
"required": false
|
|
1850
|
+
},
|
|
1851
|
+
"runId2": {
|
|
1852
|
+
"description": "Second test run ID to compare",
|
|
1853
|
+
"name": "runId2",
|
|
1854
|
+
"required": false
|
|
1855
|
+
}
|
|
1856
|
+
},
|
|
1857
|
+
"description": "Compare test runs for regression detection",
|
|
1938
1858
|
"examples": [
|
|
1939
|
-
"<%= config.bin %> <%= command.id %>
|
|
1940
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1941
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1942
|
-
"<%= config.bin %> <%= command.id %>
|
|
1943
|
-
"<%= config.bin %> <%= command.id %> --entity=\"Templates\" --dry-run --verbose",
|
|
1944
|
-
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\" --exclude-fields=InternalNotes,DebugInfo"
|
|
1859
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
1860
|
+
"<%= config.bin %> <%= command.id %> --baseline=<run-id> --current=<run-id>",
|
|
1861
|
+
"<%= config.bin %> <%= command.id %> --suite=<suite-id> --since=\"2024-01-01\"",
|
|
1862
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2> --format=json"
|
|
1945
1863
|
],
|
|
1946
1864
|
"flags": {
|
|
1947
|
-
"
|
|
1948
|
-
"
|
|
1949
|
-
"
|
|
1950
|
-
"
|
|
1951
|
-
"hasDynamicHelp": false,
|
|
1952
|
-
"multiple": false,
|
|
1953
|
-
"type": "option"
|
|
1954
|
-
},
|
|
1955
|
-
"filter": {
|
|
1956
|
-
"description": "Additional filter for pulling specific records",
|
|
1957
|
-
"name": "filter",
|
|
1865
|
+
"version": {
|
|
1866
|
+
"char": "v",
|
|
1867
|
+
"description": "Compare runs by version",
|
|
1868
|
+
"name": "version",
|
|
1958
1869
|
"hasDynamicHelp": false,
|
|
1959
|
-
"multiple":
|
|
1870
|
+
"multiple": true,
|
|
1960
1871
|
"type": "option"
|
|
1961
1872
|
},
|
|
1962
|
-
"
|
|
1963
|
-
"
|
|
1964
|
-
"
|
|
1965
|
-
"
|
|
1966
|
-
"type": "boolean"
|
|
1967
|
-
},
|
|
1968
|
-
"multi-file": {
|
|
1969
|
-
"description": "Create a single file with multiple records (provide filename)",
|
|
1970
|
-
"name": "multi-file",
|
|
1873
|
+
"commit": {
|
|
1874
|
+
"char": "c",
|
|
1875
|
+
"description": "Compare runs by git commit",
|
|
1876
|
+
"name": "commit",
|
|
1971
1877
|
"hasDynamicHelp": false,
|
|
1972
|
-
"multiple":
|
|
1878
|
+
"multiple": true,
|
|
1973
1879
|
"type": "option"
|
|
1974
1880
|
},
|
|
1975
|
-
"
|
|
1976
|
-
"
|
|
1977
|
-
"
|
|
1978
|
-
"name": "verbose",
|
|
1979
|
-
"allowNo": false,
|
|
1980
|
-
"type": "boolean"
|
|
1981
|
-
},
|
|
1982
|
-
"no-validate": {
|
|
1983
|
-
"description": "Skip validation before pull",
|
|
1984
|
-
"name": "no-validate",
|
|
1985
|
-
"allowNo": false,
|
|
1986
|
-
"type": "boolean"
|
|
1987
|
-
},
|
|
1988
|
-
"update-existing": {
|
|
1989
|
-
"description": "Update existing records during pull",
|
|
1990
|
-
"name": "update-existing",
|
|
1991
|
-
"allowNo": false,
|
|
1992
|
-
"type": "boolean"
|
|
1993
|
-
},
|
|
1994
|
-
"create-new": {
|
|
1995
|
-
"description": "Create new files for records not found locally",
|
|
1996
|
-
"name": "create-new",
|
|
1997
|
-
"allowNo": false,
|
|
1998
|
-
"type": "boolean"
|
|
1999
|
-
},
|
|
2000
|
-
"backup-before-update": {
|
|
2001
|
-
"description": "Create backups before updating files",
|
|
2002
|
-
"name": "backup-before-update",
|
|
1881
|
+
"diff-only": {
|
|
1882
|
+
"description": "Show only differences",
|
|
1883
|
+
"name": "diff-only",
|
|
2003
1884
|
"allowNo": false,
|
|
2004
1885
|
"type": "boolean"
|
|
2005
1886
|
},
|
|
2006
|
-
"
|
|
2007
|
-
"
|
|
2008
|
-
"
|
|
2009
|
-
"
|
|
1887
|
+
"format": {
|
|
1888
|
+
"char": "f",
|
|
1889
|
+
"description": "Output format",
|
|
1890
|
+
"name": "format",
|
|
1891
|
+
"default": "console",
|
|
2010
1892
|
"hasDynamicHelp": false,
|
|
2011
1893
|
"multiple": false,
|
|
2012
1894
|
"options": [
|
|
2013
|
-
"
|
|
2014
|
-
"
|
|
2015
|
-
"
|
|
1895
|
+
"console",
|
|
1896
|
+
"json",
|
|
1897
|
+
"markdown"
|
|
2016
1898
|
],
|
|
2017
1899
|
"type": "option"
|
|
2018
1900
|
},
|
|
2019
|
-
"
|
|
2020
|
-
"
|
|
2021
|
-
"
|
|
1901
|
+
"output": {
|
|
1902
|
+
"char": "o",
|
|
1903
|
+
"description": "Output file path",
|
|
1904
|
+
"name": "output",
|
|
2022
1905
|
"hasDynamicHelp": false,
|
|
2023
1906
|
"multiple": false,
|
|
2024
1907
|
"type": "option"
|
|
2025
1908
|
},
|
|
2026
|
-
"
|
|
2027
|
-
"description": "
|
|
2028
|
-
"name": "
|
|
2029
|
-
"
|
|
2030
|
-
"
|
|
2031
|
-
"type": "option"
|
|
2032
|
-
},
|
|
2033
|
-
"exclude-fields": {
|
|
2034
|
-
"description": "Comma-separated list of fields to exclude from pull",
|
|
2035
|
-
"name": "exclude-fields",
|
|
2036
|
-
"hasDynamicHelp": false,
|
|
2037
|
-
"multiple": true,
|
|
2038
|
-
"type": "option"
|
|
2039
|
-
},
|
|
2040
|
-
"target-dir": {
|
|
2041
|
-
"description": "Specific target directory (overrides auto-discovery)",
|
|
2042
|
-
"name": "target-dir",
|
|
2043
|
-
"hasDynamicHelp": false,
|
|
2044
|
-
"multiple": false,
|
|
2045
|
-
"type": "option"
|
|
1909
|
+
"verbose": {
|
|
1910
|
+
"description": "Show detailed information",
|
|
1911
|
+
"name": "verbose",
|
|
1912
|
+
"allowNo": false,
|
|
1913
|
+
"type": "boolean"
|
|
2046
1914
|
}
|
|
2047
1915
|
},
|
|
2048
1916
|
"hasDynamicHelp": false,
|
|
2049
1917
|
"hiddenAliases": [],
|
|
2050
|
-
"id": "
|
|
1918
|
+
"id": "test:compare",
|
|
2051
1919
|
"pluginAlias": "@memberjunction/cli",
|
|
2052
1920
|
"pluginName": "@memberjunction/cli",
|
|
2053
1921
|
"pluginType": "core",
|
|
@@ -2057,140 +1925,86 @@
|
|
|
2057
1925
|
"relativePath": [
|
|
2058
1926
|
"dist",
|
|
2059
1927
|
"commands",
|
|
2060
|
-
"
|
|
2061
|
-
"
|
|
1928
|
+
"test",
|
|
1929
|
+
"compare.js"
|
|
2062
1930
|
]
|
|
2063
1931
|
},
|
|
2064
|
-
"
|
|
1932
|
+
"test:history": {
|
|
2065
1933
|
"aliases": [],
|
|
2066
1934
|
"args": {},
|
|
2067
|
-
"description": "
|
|
1935
|
+
"description": "View test execution history",
|
|
2068
1936
|
"examples": [
|
|
2069
1937
|
"<%= config.bin %> <%= command.id %>",
|
|
2070
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2071
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2072
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1938
|
+
"<%= config.bin %> <%= command.id %> --test=<test-id>",
|
|
1939
|
+
"<%= config.bin %> <%= command.id %> --suite=<suite-id>",
|
|
1940
|
+
"<%= config.bin %> <%= command.id %> --since=\"2024-01-01\"",
|
|
1941
|
+
"<%= config.bin %> <%= command.id %> --limit=50"
|
|
2073
1942
|
],
|
|
2074
1943
|
"flags": {
|
|
2075
|
-
"
|
|
2076
|
-
"
|
|
2077
|
-
"
|
|
1944
|
+
"test": {
|
|
1945
|
+
"char": "t",
|
|
1946
|
+
"description": "Filter by test ID",
|
|
1947
|
+
"name": "test",
|
|
2078
1948
|
"hasDynamicHelp": false,
|
|
2079
1949
|
"multiple": false,
|
|
2080
1950
|
"type": "option"
|
|
2081
1951
|
},
|
|
2082
|
-
"
|
|
2083
|
-
"
|
|
2084
|
-
"
|
|
2085
|
-
"
|
|
2086
|
-
"
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
"description": "CI mode - no prompts, fail on issues",
|
|
2090
|
-
"name": "ci",
|
|
2091
|
-
"allowNo": false,
|
|
2092
|
-
"type": "boolean"
|
|
2093
|
-
},
|
|
2094
|
-
"verbose": {
|
|
2095
|
-
"char": "v",
|
|
2096
|
-
"description": "Show detailed field-level output",
|
|
2097
|
-
"name": "verbose",
|
|
2098
|
-
"allowNo": false,
|
|
2099
|
-
"type": "boolean"
|
|
2100
|
-
},
|
|
2101
|
-
"no-validate": {
|
|
2102
|
-
"description": "Skip validation before push",
|
|
2103
|
-
"name": "no-validate",
|
|
2104
|
-
"allowNo": false,
|
|
2105
|
-
"type": "boolean"
|
|
2106
|
-
},
|
|
2107
|
-
"delete-db-only": {
|
|
2108
|
-
"description": "Delete database-only records that reference records being deleted (prevents FK errors)",
|
|
2109
|
-
"name": "delete-db-only",
|
|
2110
|
-
"allowNo": false,
|
|
2111
|
-
"type": "boolean"
|
|
1952
|
+
"recent": {
|
|
1953
|
+
"char": "r",
|
|
1954
|
+
"description": "Number of recent runs to show",
|
|
1955
|
+
"name": "recent",
|
|
1956
|
+
"hasDynamicHelp": false,
|
|
1957
|
+
"multiple": false,
|
|
1958
|
+
"type": "option"
|
|
2112
1959
|
},
|
|
2113
|
-
"
|
|
2114
|
-
"description": "
|
|
2115
|
-
"name": "
|
|
2116
|
-
"default": 10,
|
|
1960
|
+
"from": {
|
|
1961
|
+
"description": "Show history from date (YYYY-MM-DD)",
|
|
1962
|
+
"name": "from",
|
|
2117
1963
|
"hasDynamicHelp": false,
|
|
2118
1964
|
"multiple": false,
|
|
2119
1965
|
"type": "option"
|
|
2120
1966
|
},
|
|
2121
|
-
"
|
|
2122
|
-
"
|
|
2123
|
-
"
|
|
1967
|
+
"status": {
|
|
1968
|
+
"char": "s",
|
|
1969
|
+
"description": "Filter by status",
|
|
1970
|
+
"name": "status",
|
|
2124
1971
|
"hasDynamicHelp": false,
|
|
2125
1972
|
"multiple": false,
|
|
2126
1973
|
"type": "option"
|
|
2127
1974
|
},
|
|
2128
|
-
"
|
|
2129
|
-
"
|
|
2130
|
-
"
|
|
1975
|
+
"format": {
|
|
1976
|
+
"char": "f",
|
|
1977
|
+
"description": "Output format",
|
|
1978
|
+
"name": "format",
|
|
1979
|
+
"default": "console",
|
|
2131
1980
|
"hasDynamicHelp": false,
|
|
2132
1981
|
"multiple": false,
|
|
1982
|
+
"options": [
|
|
1983
|
+
"console",
|
|
1984
|
+
"json",
|
|
1985
|
+
"markdown"
|
|
1986
|
+
],
|
|
2133
1987
|
"type": "option"
|
|
2134
|
-
}
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2140
|
-
"pluginName": "@memberjunction/cli",
|
|
2141
|
-
"pluginType": "core",
|
|
2142
|
-
"strict": true,
|
|
2143
|
-
"enableJsonFlag": false,
|
|
2144
|
-
"isESM": true,
|
|
2145
|
-
"relativePath": [
|
|
2146
|
-
"dist",
|
|
2147
|
-
"commands",
|
|
2148
|
-
"sync",
|
|
2149
|
-
"push.js"
|
|
2150
|
-
]
|
|
2151
|
-
},
|
|
2152
|
-
"sync:status": {
|
|
2153
|
-
"aliases": [],
|
|
2154
|
-
"args": {},
|
|
2155
|
-
"description": "Show status of local files vs database",
|
|
2156
|
-
"examples": [
|
|
2157
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2158
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2159
|
-
"<%= config.bin %> <%= command.id %> --verbose"
|
|
2160
|
-
],
|
|
2161
|
-
"flags": {
|
|
2162
|
-
"dir": {
|
|
2163
|
-
"description": "Specific entity directory to check status",
|
|
2164
|
-
"name": "dir",
|
|
1988
|
+
},
|
|
1989
|
+
"output": {
|
|
1990
|
+
"char": "o",
|
|
1991
|
+
"description": "Output file path",
|
|
1992
|
+
"name": "output",
|
|
2165
1993
|
"hasDynamicHelp": false,
|
|
2166
1994
|
"multiple": false,
|
|
2167
1995
|
"type": "option"
|
|
2168
1996
|
},
|
|
2169
1997
|
"verbose": {
|
|
2170
1998
|
"char": "v",
|
|
2171
|
-
"description": "Show detailed
|
|
1999
|
+
"description": "Show detailed information",
|
|
2172
2000
|
"name": "verbose",
|
|
2173
2001
|
"allowNo": false,
|
|
2174
2002
|
"type": "boolean"
|
|
2175
|
-
},
|
|
2176
|
-
"include": {
|
|
2177
|
-
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
2178
|
-
"name": "include",
|
|
2179
|
-
"hasDynamicHelp": false,
|
|
2180
|
-
"multiple": false,
|
|
2181
|
-
"type": "option"
|
|
2182
|
-
},
|
|
2183
|
-
"exclude": {
|
|
2184
|
-
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
2185
|
-
"name": "exclude",
|
|
2186
|
-
"hasDynamicHelp": false,
|
|
2187
|
-
"multiple": false,
|
|
2188
|
-
"type": "option"
|
|
2189
2003
|
}
|
|
2190
2004
|
},
|
|
2191
2005
|
"hasDynamicHelp": false,
|
|
2192
2006
|
"hiddenAliases": [],
|
|
2193
|
-
"id": "
|
|
2007
|
+
"id": "test:history",
|
|
2194
2008
|
"pluginAlias": "@memberjunction/cli",
|
|
2195
2009
|
"pluginName": "@memberjunction/cli",
|
|
2196
2010
|
"pluginType": "core",
|
|
@@ -2200,52 +2014,26 @@
|
|
|
2200
2014
|
"relativePath": [
|
|
2201
2015
|
"dist",
|
|
2202
2016
|
"commands",
|
|
2203
|
-
"
|
|
2204
|
-
"
|
|
2017
|
+
"test",
|
|
2018
|
+
"history.js"
|
|
2205
2019
|
]
|
|
2206
2020
|
},
|
|
2207
|
-
"
|
|
2021
|
+
"test": {
|
|
2208
2022
|
"aliases": [],
|
|
2209
2023
|
"args": {},
|
|
2210
|
-
"description": "
|
|
2024
|
+
"description": "MemberJunction Testing Framework - Execute and manage tests",
|
|
2211
2025
|
"examples": [
|
|
2212
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2213
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2214
|
-
"<%= config.bin %> <%= command.id %>
|
|
2215
|
-
"<%= config.bin %> <%= command.id %>
|
|
2026
|
+
"<%= config.bin %> <%= command.id %> run <test-id>",
|
|
2027
|
+
"<%= config.bin %> <%= command.id %> run --name=\"Active Members Count\"",
|
|
2028
|
+
"<%= config.bin %> <%= command.id %> suite <suite-id>",
|
|
2029
|
+
"<%= config.bin %> <%= command.id %> list",
|
|
2030
|
+
"<%= config.bin %> <%= command.id %> list --suites",
|
|
2031
|
+
"<%= config.bin %> <%= command.id %> validate --all"
|
|
2216
2032
|
],
|
|
2217
|
-
"flags": {
|
|
2218
|
-
"dir": {
|
|
2219
|
-
"description": "Specific entity directory to validate",
|
|
2220
|
-
"name": "dir",
|
|
2221
|
-
"hasDynamicHelp": false,
|
|
2222
|
-
"multiple": false,
|
|
2223
|
-
"type": "option"
|
|
2224
|
-
},
|
|
2225
|
-
"verbose": {
|
|
2226
|
-
"char": "v",
|
|
2227
|
-
"description": "Show detailed validation output",
|
|
2228
|
-
"name": "verbose",
|
|
2229
|
-
"allowNo": false,
|
|
2230
|
-
"type": "boolean"
|
|
2231
|
-
},
|
|
2232
|
-
"save-report": {
|
|
2233
|
-
"description": "Save validation report as markdown file",
|
|
2234
|
-
"name": "save-report",
|
|
2235
|
-
"allowNo": false,
|
|
2236
|
-
"type": "boolean"
|
|
2237
|
-
},
|
|
2238
|
-
"output": {
|
|
2239
|
-
"description": "Output file path for validation report (default: validation-report.md)",
|
|
2240
|
-
"name": "output",
|
|
2241
|
-
"hasDynamicHelp": false,
|
|
2242
|
-
"multiple": false,
|
|
2243
|
-
"type": "option"
|
|
2244
|
-
}
|
|
2245
|
-
},
|
|
2033
|
+
"flags": {},
|
|
2246
2034
|
"hasDynamicHelp": false,
|
|
2247
2035
|
"hiddenAliases": [],
|
|
2248
|
-
"id": "
|
|
2036
|
+
"id": "test",
|
|
2249
2037
|
"pluginAlias": "@memberjunction/cli",
|
|
2250
2038
|
"pluginName": "@memberjunction/cli",
|
|
2251
2039
|
"pluginType": "core",
|
|
@@ -2255,44 +2043,83 @@
|
|
|
2255
2043
|
"relativePath": [
|
|
2256
2044
|
"dist",
|
|
2257
2045
|
"commands",
|
|
2258
|
-
"
|
|
2259
|
-
"
|
|
2046
|
+
"test",
|
|
2047
|
+
"index.js"
|
|
2260
2048
|
]
|
|
2261
2049
|
},
|
|
2262
|
-
"
|
|
2050
|
+
"test:list": {
|
|
2263
2051
|
"aliases": [],
|
|
2264
2052
|
"args": {},
|
|
2265
|
-
"description": "
|
|
2053
|
+
"description": "List available tests, suites, and types",
|
|
2266
2054
|
"examples": [
|
|
2267
2055
|
"<%= config.bin %> <%= command.id %>",
|
|
2268
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2269
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2270
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2056
|
+
"<%= config.bin %> <%= command.id %> --suites",
|
|
2057
|
+
"<%= config.bin %> <%= command.id %> --types",
|
|
2058
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
2059
|
+
"<%= config.bin %> <%= command.id %> --tag=smoke",
|
|
2060
|
+
"<%= config.bin %> <%= command.id %> --status=active --verbose"
|
|
2271
2061
|
],
|
|
2272
2062
|
"flags": {
|
|
2273
|
-
"
|
|
2274
|
-
"description": "
|
|
2275
|
-
"name": "
|
|
2063
|
+
"suites": {
|
|
2064
|
+
"description": "List test suites instead of tests",
|
|
2065
|
+
"name": "suites",
|
|
2066
|
+
"allowNo": false,
|
|
2067
|
+
"type": "boolean"
|
|
2068
|
+
},
|
|
2069
|
+
"types": {
|
|
2070
|
+
"description": "List test types",
|
|
2071
|
+
"name": "types",
|
|
2072
|
+
"allowNo": false,
|
|
2073
|
+
"type": "boolean"
|
|
2074
|
+
},
|
|
2075
|
+
"type": {
|
|
2076
|
+
"char": "t",
|
|
2077
|
+
"description": "Filter by test type",
|
|
2078
|
+
"name": "type",
|
|
2276
2079
|
"hasDynamicHelp": false,
|
|
2277
2080
|
"multiple": false,
|
|
2278
2081
|
"type": "option"
|
|
2279
2082
|
},
|
|
2280
|
-
"
|
|
2281
|
-
"description": "
|
|
2282
|
-
"name": "
|
|
2083
|
+
"tag": {
|
|
2084
|
+
"description": "Filter by tag",
|
|
2085
|
+
"name": "tag",
|
|
2283
2086
|
"hasDynamicHelp": false,
|
|
2284
2087
|
"multiple": false,
|
|
2285
2088
|
"type": "option"
|
|
2286
2089
|
},
|
|
2287
|
-
"
|
|
2288
|
-
"
|
|
2289
|
-
"
|
|
2290
|
-
"
|
|
2291
|
-
"
|
|
2090
|
+
"status": {
|
|
2091
|
+
"char": "s",
|
|
2092
|
+
"description": "Filter by status",
|
|
2093
|
+
"name": "status",
|
|
2094
|
+
"hasDynamicHelp": false,
|
|
2095
|
+
"multiple": false,
|
|
2096
|
+
"type": "option"
|
|
2097
|
+
},
|
|
2098
|
+
"format": {
|
|
2099
|
+
"char": "f",
|
|
2100
|
+
"description": "Output format",
|
|
2101
|
+
"name": "format",
|
|
2102
|
+
"default": "console",
|
|
2103
|
+
"hasDynamicHelp": false,
|
|
2104
|
+
"multiple": false,
|
|
2105
|
+
"options": [
|
|
2106
|
+
"console",
|
|
2107
|
+
"json",
|
|
2108
|
+
"markdown"
|
|
2109
|
+
],
|
|
2110
|
+
"type": "option"
|
|
2111
|
+
},
|
|
2112
|
+
"output": {
|
|
2113
|
+
"char": "o",
|
|
2114
|
+
"description": "Output file path",
|
|
2115
|
+
"name": "output",
|
|
2116
|
+
"hasDynamicHelp": false,
|
|
2117
|
+
"multiple": false,
|
|
2118
|
+
"type": "option"
|
|
2292
2119
|
},
|
|
2293
2120
|
"verbose": {
|
|
2294
2121
|
"char": "v",
|
|
2295
|
-
"description": "Show detailed
|
|
2122
|
+
"description": "Show detailed information",
|
|
2296
2123
|
"name": "verbose",
|
|
2297
2124
|
"allowNo": false,
|
|
2298
2125
|
"type": "boolean"
|
|
@@ -2300,7 +2127,7 @@
|
|
|
2300
2127
|
},
|
|
2301
2128
|
"hasDynamicHelp": false,
|
|
2302
2129
|
"hiddenAliases": [],
|
|
2303
|
-
"id": "
|
|
2130
|
+
"id": "test:list",
|
|
2304
2131
|
"pluginAlias": "@memberjunction/cli",
|
|
2305
2132
|
"pluginName": "@memberjunction/cli",
|
|
2306
2133
|
"pluginType": "core",
|
|
@@ -2310,54 +2137,44 @@
|
|
|
2310
2137
|
"relativePath": [
|
|
2311
2138
|
"dist",
|
|
2312
2139
|
"commands",
|
|
2313
|
-
"
|
|
2314
|
-
"
|
|
2140
|
+
"test",
|
|
2141
|
+
"list.js"
|
|
2315
2142
|
]
|
|
2316
2143
|
},
|
|
2317
|
-
"test:
|
|
2144
|
+
"test:run": {
|
|
2318
2145
|
"aliases": [],
|
|
2319
2146
|
"args": {
|
|
2320
|
-
"
|
|
2321
|
-
"description": "
|
|
2322
|
-
"name": "
|
|
2323
|
-
"required": false
|
|
2324
|
-
},
|
|
2325
|
-
"runId2": {
|
|
2326
|
-
"description": "Second test run ID to compare",
|
|
2327
|
-
"name": "runId2",
|
|
2147
|
+
"testId": {
|
|
2148
|
+
"description": "Test ID to execute",
|
|
2149
|
+
"name": "testId",
|
|
2328
2150
|
"required": false
|
|
2329
2151
|
}
|
|
2330
2152
|
},
|
|
2331
|
-
"description": "
|
|
2153
|
+
"description": "Execute a single test by ID or name",
|
|
2332
2154
|
"examples": [
|
|
2333
|
-
"<%= config.bin %> <%= command.id %> <
|
|
2334
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2335
|
-
"<%= config.bin %> <%= command.id %>
|
|
2336
|
-
"<%= config.bin %> <%= command.id %> <
|
|
2155
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
2156
|
+
"<%= config.bin %> <%= command.id %> --name=\"Active Members Count\"",
|
|
2157
|
+
"<%= config.bin %> <%= command.id %> <test-id> --environment=staging",
|
|
2158
|
+
"<%= config.bin %> <%= command.id %> <test-id> --format=json --output=results.json",
|
|
2159
|
+
"<%= config.bin %> <%= command.id %> <test-id> --dry-run"
|
|
2337
2160
|
],
|
|
2338
2161
|
"flags": {
|
|
2339
|
-
"
|
|
2340
|
-
"char": "
|
|
2341
|
-
"description": "
|
|
2342
|
-
"name": "
|
|
2162
|
+
"name": {
|
|
2163
|
+
"char": "n",
|
|
2164
|
+
"description": "Test name to execute",
|
|
2165
|
+
"name": "name",
|
|
2343
2166
|
"hasDynamicHelp": false,
|
|
2344
|
-
"multiple":
|
|
2167
|
+
"multiple": false,
|
|
2345
2168
|
"type": "option"
|
|
2346
2169
|
},
|
|
2347
|
-
"
|
|
2348
|
-
"char": "
|
|
2349
|
-
"description": "
|
|
2350
|
-
"name": "
|
|
2170
|
+
"environment": {
|
|
2171
|
+
"char": "e",
|
|
2172
|
+
"description": "Environment context (dev, staging, prod)",
|
|
2173
|
+
"name": "environment",
|
|
2351
2174
|
"hasDynamicHelp": false,
|
|
2352
|
-
"multiple":
|
|
2175
|
+
"multiple": false,
|
|
2353
2176
|
"type": "option"
|
|
2354
2177
|
},
|
|
2355
|
-
"diff-only": {
|
|
2356
|
-
"description": "Show only differences",
|
|
2357
|
-
"name": "diff-only",
|
|
2358
|
-
"allowNo": false,
|
|
2359
|
-
"type": "boolean"
|
|
2360
|
-
},
|
|
2361
2178
|
"format": {
|
|
2362
2179
|
"char": "f",
|
|
2363
2180
|
"description": "Output format",
|
|
@@ -2380,8 +2197,15 @@
|
|
|
2380
2197
|
"multiple": false,
|
|
2381
2198
|
"type": "option"
|
|
2382
2199
|
},
|
|
2200
|
+
"dry-run": {
|
|
2201
|
+
"description": "Validate without executing",
|
|
2202
|
+
"name": "dry-run",
|
|
2203
|
+
"allowNo": false,
|
|
2204
|
+
"type": "boolean"
|
|
2205
|
+
},
|
|
2383
2206
|
"verbose": {
|
|
2384
|
-
"
|
|
2207
|
+
"char": "v",
|
|
2208
|
+
"description": "Show detailed execution information",
|
|
2385
2209
|
"name": "verbose",
|
|
2386
2210
|
"allowNo": false,
|
|
2387
2211
|
"type": "boolean"
|
|
@@ -2389,7 +2213,7 @@
|
|
|
2389
2213
|
},
|
|
2390
2214
|
"hasDynamicHelp": false,
|
|
2391
2215
|
"hiddenAliases": [],
|
|
2392
|
-
"id": "test:
|
|
2216
|
+
"id": "test:run",
|
|
2393
2217
|
"pluginAlias": "@memberjunction/cli",
|
|
2394
2218
|
"pluginName": "@memberjunction/cli",
|
|
2395
2219
|
"pluginType": "core",
|
|
@@ -2400,48 +2224,30 @@
|
|
|
2400
2224
|
"dist",
|
|
2401
2225
|
"commands",
|
|
2402
2226
|
"test",
|
|
2403
|
-
"
|
|
2227
|
+
"run.js"
|
|
2404
2228
|
]
|
|
2405
2229
|
},
|
|
2406
|
-
"test:
|
|
2230
|
+
"test:suite": {
|
|
2407
2231
|
"aliases": [],
|
|
2408
|
-
"args": {
|
|
2409
|
-
|
|
2232
|
+
"args": {
|
|
2233
|
+
"suiteId": {
|
|
2234
|
+
"description": "Test suite ID to execute",
|
|
2235
|
+
"name": "suiteId",
|
|
2236
|
+
"required": false
|
|
2237
|
+
}
|
|
2238
|
+
},
|
|
2239
|
+
"description": "Execute a test suite",
|
|
2410
2240
|
"examples": [
|
|
2411
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2412
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2413
|
-
"<%= config.bin %> <%= command.id %>
|
|
2414
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2415
|
-
"<%= config.bin %> <%= command.id %> --limit=50"
|
|
2241
|
+
"<%= config.bin %> <%= command.id %> <suite-id>",
|
|
2242
|
+
"<%= config.bin %> <%= command.id %> --name=\"Agent Quality Suite\"",
|
|
2243
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --format=json",
|
|
2244
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json"
|
|
2416
2245
|
],
|
|
2417
2246
|
"flags": {
|
|
2418
|
-
"
|
|
2419
|
-
"char": "
|
|
2420
|
-
"description": "
|
|
2421
|
-
"name": "
|
|
2422
|
-
"hasDynamicHelp": false,
|
|
2423
|
-
"multiple": false,
|
|
2424
|
-
"type": "option"
|
|
2425
|
-
},
|
|
2426
|
-
"recent": {
|
|
2427
|
-
"char": "r",
|
|
2428
|
-
"description": "Number of recent runs to show",
|
|
2429
|
-
"name": "recent",
|
|
2430
|
-
"hasDynamicHelp": false,
|
|
2431
|
-
"multiple": false,
|
|
2432
|
-
"type": "option"
|
|
2433
|
-
},
|
|
2434
|
-
"from": {
|
|
2435
|
-
"description": "Show history from date (YYYY-MM-DD)",
|
|
2436
|
-
"name": "from",
|
|
2437
|
-
"hasDynamicHelp": false,
|
|
2438
|
-
"multiple": false,
|
|
2439
|
-
"type": "option"
|
|
2440
|
-
},
|
|
2441
|
-
"status": {
|
|
2442
|
-
"char": "s",
|
|
2443
|
-
"description": "Filter by status",
|
|
2444
|
-
"name": "status",
|
|
2247
|
+
"name": {
|
|
2248
|
+
"char": "n",
|
|
2249
|
+
"description": "Test suite name to execute",
|
|
2250
|
+
"name": "name",
|
|
2445
2251
|
"hasDynamicHelp": false,
|
|
2446
2252
|
"multiple": false,
|
|
2447
2253
|
"type": "option"
|
|
@@ -2470,7 +2276,7 @@
|
|
|
2470
2276
|
},
|
|
2471
2277
|
"verbose": {
|
|
2472
2278
|
"char": "v",
|
|
2473
|
-
"description": "Show detailed information",
|
|
2279
|
+
"description": "Show detailed execution information",
|
|
2474
2280
|
"name": "verbose",
|
|
2475
2281
|
"allowNo": false,
|
|
2476
2282
|
"type": "boolean"
|
|
@@ -2478,7 +2284,7 @@
|
|
|
2478
2284
|
},
|
|
2479
2285
|
"hasDynamicHelp": false,
|
|
2480
2286
|
"hiddenAliases": [],
|
|
2481
|
-
"id": "test:
|
|
2287
|
+
"id": "test:suite",
|
|
2482
2288
|
"pluginAlias": "@memberjunction/cli",
|
|
2483
2289
|
"pluginName": "@memberjunction/cli",
|
|
2484
2290
|
"pluginType": "core",
|
|
@@ -2489,85 +2295,47 @@
|
|
|
2489
2295
|
"dist",
|
|
2490
2296
|
"commands",
|
|
2491
2297
|
"test",
|
|
2492
|
-
"
|
|
2298
|
+
"suite.js"
|
|
2493
2299
|
]
|
|
2494
2300
|
},
|
|
2495
|
-
"test": {
|
|
2301
|
+
"test:validate": {
|
|
2496
2302
|
"aliases": [],
|
|
2497
|
-
"args": {
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
"<%= config.bin %> <%= command.id %> validate --all"
|
|
2506
|
-
],
|
|
2507
|
-
"flags": {},
|
|
2508
|
-
"hasDynamicHelp": false,
|
|
2509
|
-
"hiddenAliases": [],
|
|
2510
|
-
"id": "test",
|
|
2511
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2512
|
-
"pluginName": "@memberjunction/cli",
|
|
2513
|
-
"pluginType": "core",
|
|
2514
|
-
"strict": true,
|
|
2515
|
-
"enableJsonFlag": false,
|
|
2516
|
-
"isESM": true,
|
|
2517
|
-
"relativePath": [
|
|
2518
|
-
"dist",
|
|
2519
|
-
"commands",
|
|
2520
|
-
"test",
|
|
2521
|
-
"index.js"
|
|
2522
|
-
]
|
|
2523
|
-
},
|
|
2524
|
-
"test:list": {
|
|
2525
|
-
"aliases": [],
|
|
2526
|
-
"args": {},
|
|
2527
|
-
"description": "List available tests, suites, and types",
|
|
2303
|
+
"args": {
|
|
2304
|
+
"testId": {
|
|
2305
|
+
"description": "Test ID to validate",
|
|
2306
|
+
"name": "testId",
|
|
2307
|
+
"required": false
|
|
2308
|
+
}
|
|
2309
|
+
},
|
|
2310
|
+
"description": "Validate test definitions without executing",
|
|
2528
2311
|
"examples": [
|
|
2529
|
-
"<%= config.bin %> <%= command.id %>",
|
|
2530
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2531
|
-
"<%= config.bin %> <%= command.id %> --types",
|
|
2312
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
2313
|
+
"<%= config.bin %> <%= command.id %> --all",
|
|
2532
2314
|
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
2533
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2534
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2315
|
+
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
2316
|
+
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
2535
2317
|
],
|
|
2536
2318
|
"flags": {
|
|
2537
|
-
"
|
|
2538
|
-
"
|
|
2539
|
-
"
|
|
2540
|
-
"
|
|
2541
|
-
"type": "boolean"
|
|
2542
|
-
},
|
|
2543
|
-
"types": {
|
|
2544
|
-
"description": "List test types",
|
|
2545
|
-
"name": "types",
|
|
2319
|
+
"all": {
|
|
2320
|
+
"char": "a",
|
|
2321
|
+
"description": "Validate all tests",
|
|
2322
|
+
"name": "all",
|
|
2546
2323
|
"allowNo": false,
|
|
2547
2324
|
"type": "boolean"
|
|
2548
2325
|
},
|
|
2549
2326
|
"type": {
|
|
2550
2327
|
"char": "t",
|
|
2551
|
-
"description": "
|
|
2328
|
+
"description": "Validate tests by type",
|
|
2552
2329
|
"name": "type",
|
|
2553
2330
|
"hasDynamicHelp": false,
|
|
2554
2331
|
"multiple": false,
|
|
2555
2332
|
"type": "option"
|
|
2556
2333
|
},
|
|
2557
|
-
"
|
|
2558
|
-
"description": "
|
|
2559
|
-
"name": "
|
|
2560
|
-
"
|
|
2561
|
-
"
|
|
2562
|
-
"type": "option"
|
|
2563
|
-
},
|
|
2564
|
-
"status": {
|
|
2565
|
-
"char": "s",
|
|
2566
|
-
"description": "Filter by status",
|
|
2567
|
-
"name": "status",
|
|
2568
|
-
"hasDynamicHelp": false,
|
|
2569
|
-
"multiple": false,
|
|
2570
|
-
"type": "option"
|
|
2334
|
+
"save-report": {
|
|
2335
|
+
"description": "Save validation report to file",
|
|
2336
|
+
"name": "save-report",
|
|
2337
|
+
"allowNo": false,
|
|
2338
|
+
"type": "boolean"
|
|
2571
2339
|
},
|
|
2572
2340
|
"format": {
|
|
2573
2341
|
"char": "f",
|
|
@@ -2601,7 +2369,7 @@
|
|
|
2601
2369
|
},
|
|
2602
2370
|
"hasDynamicHelp": false,
|
|
2603
2371
|
"hiddenAliases": [],
|
|
2604
|
-
"id": "test:
|
|
2372
|
+
"id": "test:validate",
|
|
2605
2373
|
"pluginAlias": "@memberjunction/cli",
|
|
2606
2374
|
"pluginName": "@memberjunction/cli",
|
|
2607
2375
|
"pluginType": "core",
|
|
@@ -2612,74 +2380,154 @@
|
|
|
2612
2380
|
"dist",
|
|
2613
2381
|
"commands",
|
|
2614
2382
|
"test",
|
|
2615
|
-
"
|
|
2383
|
+
"validate.js"
|
|
2616
2384
|
]
|
|
2617
2385
|
},
|
|
2618
|
-
"
|
|
2386
|
+
"translate-sql": {
|
|
2619
2387
|
"aliases": [],
|
|
2620
|
-
"args": {
|
|
2621
|
-
|
|
2622
|
-
"description": "Test ID to execute",
|
|
2623
|
-
"name": "testId",
|
|
2624
|
-
"required": false
|
|
2625
|
-
}
|
|
2626
|
-
},
|
|
2627
|
-
"description": "Execute a single test by ID or name",
|
|
2388
|
+
"args": {},
|
|
2389
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
2628
2390
|
"examples": [
|
|
2629
|
-
"<%= config.bin %>
|
|
2630
|
-
"<%= config.bin %>
|
|
2631
|
-
"<%= config.bin %>
|
|
2632
|
-
"<%= config.bin %>
|
|
2633
|
-
"<%= config.bin %> <%= command.id %> <test-id> --dry-run"
|
|
2391
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
2392
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
2393
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
2394
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
2634
2395
|
],
|
|
2635
2396
|
"flags": {
|
|
2636
|
-
"
|
|
2637
|
-
"
|
|
2638
|
-
"
|
|
2639
|
-
"
|
|
2397
|
+
"from": {
|
|
2398
|
+
"description": "Source SQL dialect",
|
|
2399
|
+
"name": "from",
|
|
2400
|
+
"required": true,
|
|
2640
2401
|
"hasDynamicHelp": false,
|
|
2641
2402
|
"multiple": false,
|
|
2403
|
+
"options": [
|
|
2404
|
+
"sqlserver",
|
|
2405
|
+
"postgresql"
|
|
2406
|
+
],
|
|
2642
2407
|
"type": "option"
|
|
2643
2408
|
},
|
|
2644
|
-
"
|
|
2645
|
-
"
|
|
2646
|
-
"
|
|
2647
|
-
"
|
|
2409
|
+
"to": {
|
|
2410
|
+
"description": "Target SQL dialect",
|
|
2411
|
+
"name": "to",
|
|
2412
|
+
"required": true,
|
|
2648
2413
|
"hasDynamicHelp": false,
|
|
2649
2414
|
"multiple": false,
|
|
2415
|
+
"options": [
|
|
2416
|
+
"sqlserver",
|
|
2417
|
+
"postgresql"
|
|
2418
|
+
],
|
|
2650
2419
|
"type": "option"
|
|
2651
2420
|
},
|
|
2652
|
-
"
|
|
2653
|
-
"
|
|
2654
|
-
"
|
|
2655
|
-
"
|
|
2656
|
-
"default": "console",
|
|
2421
|
+
"scope": {
|
|
2422
|
+
"description": "What to scan for translation",
|
|
2423
|
+
"name": "scope",
|
|
2424
|
+
"default": "all",
|
|
2657
2425
|
"hasDynamicHelp": false,
|
|
2658
2426
|
"multiple": false,
|
|
2659
2427
|
"options": [
|
|
2660
|
-
"
|
|
2661
|
-
"
|
|
2662
|
-
"
|
|
2428
|
+
"queries",
|
|
2429
|
+
"views",
|
|
2430
|
+
"filters",
|
|
2431
|
+
"all"
|
|
2663
2432
|
],
|
|
2664
2433
|
"type": "option"
|
|
2665
2434
|
},
|
|
2435
|
+
"sql": {
|
|
2436
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
2437
|
+
"name": "sql",
|
|
2438
|
+
"hasDynamicHelp": false,
|
|
2439
|
+
"multiple": false,
|
|
2440
|
+
"type": "option"
|
|
2441
|
+
},
|
|
2442
|
+
"dry-run": {
|
|
2443
|
+
"description": "Show what would be translated without making changes",
|
|
2444
|
+
"name": "dry-run",
|
|
2445
|
+
"allowNo": false,
|
|
2446
|
+
"type": "boolean"
|
|
2447
|
+
},
|
|
2448
|
+
"review": {
|
|
2449
|
+
"description": "Generate review report only (no writes to database)",
|
|
2450
|
+
"name": "review",
|
|
2451
|
+
"allowNo": false,
|
|
2452
|
+
"type": "boolean"
|
|
2453
|
+
},
|
|
2666
2454
|
"output": {
|
|
2667
2455
|
"char": "o",
|
|
2668
|
-
"description": "Output
|
|
2456
|
+
"description": "Output directory for the translation report",
|
|
2669
2457
|
"name": "output",
|
|
2670
2458
|
"hasDynamicHelp": false,
|
|
2671
2459
|
"multiple": false,
|
|
2672
2460
|
"type": "option"
|
|
2673
2461
|
},
|
|
2462
|
+
"force": {
|
|
2463
|
+
"description": "Re-translate even if platform variants already exist",
|
|
2464
|
+
"name": "force",
|
|
2465
|
+
"allowNo": false,
|
|
2466
|
+
"type": "boolean"
|
|
2467
|
+
}
|
|
2468
|
+
},
|
|
2469
|
+
"hasDynamicHelp": false,
|
|
2470
|
+
"hiddenAliases": [],
|
|
2471
|
+
"id": "translate-sql",
|
|
2472
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2473
|
+
"pluginName": "@memberjunction/cli",
|
|
2474
|
+
"pluginType": "core",
|
|
2475
|
+
"strict": true,
|
|
2476
|
+
"enableJsonFlag": false,
|
|
2477
|
+
"isESM": true,
|
|
2478
|
+
"relativePath": [
|
|
2479
|
+
"dist",
|
|
2480
|
+
"commands",
|
|
2481
|
+
"translate-sql",
|
|
2482
|
+
"index.js"
|
|
2483
|
+
]
|
|
2484
|
+
},
|
|
2485
|
+
"sync:file-reset": {
|
|
2486
|
+
"aliases": [],
|
|
2487
|
+
"args": {},
|
|
2488
|
+
"description": "Reset file metadata sections",
|
|
2489
|
+
"examples": [
|
|
2490
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2491
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2492
|
+
"<%= config.bin %> <%= command.id %> --sections=\"dependencies,references\"",
|
|
2493
|
+
"<%= config.bin %> <%= command.id %> --all"
|
|
2494
|
+
],
|
|
2495
|
+
"flags": {
|
|
2496
|
+
"dir": {
|
|
2497
|
+
"description": "Specific entity directory to reset",
|
|
2498
|
+
"name": "dir",
|
|
2499
|
+
"hasDynamicHelp": false,
|
|
2500
|
+
"multiple": false,
|
|
2501
|
+
"type": "option"
|
|
2502
|
+
},
|
|
2503
|
+
"sections": {
|
|
2504
|
+
"description": "Comma-separated list of sections to reset (dependencies,references,related,lookup)",
|
|
2505
|
+
"name": "sections",
|
|
2506
|
+
"hasDynamicHelp": false,
|
|
2507
|
+
"multiple": false,
|
|
2508
|
+
"type": "option"
|
|
2509
|
+
},
|
|
2510
|
+
"all": {
|
|
2511
|
+
"description": "Reset all metadata sections",
|
|
2512
|
+
"name": "all",
|
|
2513
|
+
"allowNo": false,
|
|
2514
|
+
"type": "boolean"
|
|
2515
|
+
},
|
|
2674
2516
|
"dry-run": {
|
|
2675
|
-
"description": "
|
|
2517
|
+
"description": "Show what would be reset without actually resetting",
|
|
2676
2518
|
"name": "dry-run",
|
|
2677
2519
|
"allowNo": false,
|
|
2678
2520
|
"type": "boolean"
|
|
2679
2521
|
},
|
|
2522
|
+
"force": {
|
|
2523
|
+
"description": "Skip confirmation prompts",
|
|
2524
|
+
"name": "force",
|
|
2525
|
+
"allowNo": false,
|
|
2526
|
+
"type": "boolean"
|
|
2527
|
+
},
|
|
2680
2528
|
"verbose": {
|
|
2681
2529
|
"char": "v",
|
|
2682
|
-
"description": "Show detailed
|
|
2530
|
+
"description": "Show detailed output",
|
|
2683
2531
|
"name": "verbose",
|
|
2684
2532
|
"allowNo": false,
|
|
2685
2533
|
"type": "boolean"
|
|
@@ -2687,7 +2535,7 @@
|
|
|
2687
2535
|
},
|
|
2688
2536
|
"hasDynamicHelp": false,
|
|
2689
2537
|
"hiddenAliases": [],
|
|
2690
|
-
"id": "
|
|
2538
|
+
"id": "sync:file-reset",
|
|
2691
2539
|
"pluginAlias": "@memberjunction/cli",
|
|
2692
2540
|
"pluginName": "@memberjunction/cli",
|
|
2693
2541
|
"pluginType": "core",
|
|
@@ -2697,68 +2545,151 @@
|
|
|
2697
2545
|
"relativePath": [
|
|
2698
2546
|
"dist",
|
|
2699
2547
|
"commands",
|
|
2700
|
-
"
|
|
2701
|
-
"
|
|
2548
|
+
"sync",
|
|
2549
|
+
"file-reset.js"
|
|
2702
2550
|
]
|
|
2703
2551
|
},
|
|
2704
|
-
"
|
|
2552
|
+
"sync:init": {
|
|
2705
2553
|
"aliases": [],
|
|
2706
|
-
"args": {
|
|
2707
|
-
|
|
2708
|
-
"description": "Test suite ID to execute",
|
|
2709
|
-
"name": "suiteId",
|
|
2710
|
-
"required": false
|
|
2711
|
-
}
|
|
2712
|
-
},
|
|
2713
|
-
"description": "Execute a test suite",
|
|
2554
|
+
"args": {},
|
|
2555
|
+
"description": "Initialize a directory for metadata synchronization",
|
|
2714
2556
|
"examples": [
|
|
2715
|
-
"<%= config.bin %> <%= command.id %>
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2557
|
+
"<%= config.bin %> <%= command.id %>"
|
|
2558
|
+
],
|
|
2559
|
+
"flags": {},
|
|
2560
|
+
"hasDynamicHelp": false,
|
|
2561
|
+
"hiddenAliases": [],
|
|
2562
|
+
"id": "sync:init",
|
|
2563
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2564
|
+
"pluginName": "@memberjunction/cli",
|
|
2565
|
+
"pluginType": "core",
|
|
2566
|
+
"strict": true,
|
|
2567
|
+
"enableJsonFlag": false,
|
|
2568
|
+
"isESM": true,
|
|
2569
|
+
"relativePath": [
|
|
2570
|
+
"dist",
|
|
2571
|
+
"commands",
|
|
2572
|
+
"sync",
|
|
2573
|
+
"init.js"
|
|
2574
|
+
]
|
|
2575
|
+
},
|
|
2576
|
+
"sync:pull": {
|
|
2577
|
+
"aliases": [],
|
|
2578
|
+
"args": {},
|
|
2579
|
+
"description": "Pull metadata from database to local files",
|
|
2580
|
+
"examples": [
|
|
2581
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\"",
|
|
2582
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\" --filter=\"CategoryID='customer-service-id'\"",
|
|
2583
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Agents\" --merge-strategy=overwrite",
|
|
2584
|
+
"<%= config.bin %> <%= command.id %> --entity=\"Actions\" --target-dir=./custom-actions --no-validate",
|
|
2585
|
+
"<%= config.bin %> <%= command.id %> --entity=\"Templates\" --dry-run --verbose",
|
|
2586
|
+
"<%= config.bin %> <%= command.id %> --entity=\"MJ: AI Prompts\" --exclude-fields=InternalNotes,DebugInfo"
|
|
2719
2587
|
],
|
|
2720
2588
|
"flags": {
|
|
2721
|
-
"
|
|
2722
|
-
"
|
|
2723
|
-
"
|
|
2724
|
-
"
|
|
2589
|
+
"entity": {
|
|
2590
|
+
"description": "Entity name to pull",
|
|
2591
|
+
"name": "entity",
|
|
2592
|
+
"required": true,
|
|
2725
2593
|
"hasDynamicHelp": false,
|
|
2726
2594
|
"multiple": false,
|
|
2727
2595
|
"type": "option"
|
|
2728
2596
|
},
|
|
2729
|
-
"
|
|
2730
|
-
"
|
|
2731
|
-
"
|
|
2732
|
-
"
|
|
2733
|
-
"
|
|
2597
|
+
"filter": {
|
|
2598
|
+
"description": "Additional filter for pulling specific records",
|
|
2599
|
+
"name": "filter",
|
|
2600
|
+
"hasDynamicHelp": false,
|
|
2601
|
+
"multiple": false,
|
|
2602
|
+
"type": "option"
|
|
2603
|
+
},
|
|
2604
|
+
"dry-run": {
|
|
2605
|
+
"description": "Show what would be pulled without actually pulling",
|
|
2606
|
+
"name": "dry-run",
|
|
2607
|
+
"allowNo": false,
|
|
2608
|
+
"type": "boolean"
|
|
2609
|
+
},
|
|
2610
|
+
"multi-file": {
|
|
2611
|
+
"description": "Create a single file with multiple records (provide filename)",
|
|
2612
|
+
"name": "multi-file",
|
|
2613
|
+
"hasDynamicHelp": false,
|
|
2614
|
+
"multiple": false,
|
|
2615
|
+
"type": "option"
|
|
2616
|
+
},
|
|
2617
|
+
"verbose": {
|
|
2618
|
+
"char": "v",
|
|
2619
|
+
"description": "Show detailed output",
|
|
2620
|
+
"name": "verbose",
|
|
2621
|
+
"allowNo": false,
|
|
2622
|
+
"type": "boolean"
|
|
2623
|
+
},
|
|
2624
|
+
"no-validate": {
|
|
2625
|
+
"description": "Skip validation before pull",
|
|
2626
|
+
"name": "no-validate",
|
|
2627
|
+
"allowNo": false,
|
|
2628
|
+
"type": "boolean"
|
|
2629
|
+
},
|
|
2630
|
+
"update-existing": {
|
|
2631
|
+
"description": "Update existing records during pull",
|
|
2632
|
+
"name": "update-existing",
|
|
2633
|
+
"allowNo": false,
|
|
2634
|
+
"type": "boolean"
|
|
2635
|
+
},
|
|
2636
|
+
"create-new": {
|
|
2637
|
+
"description": "Create new files for records not found locally",
|
|
2638
|
+
"name": "create-new",
|
|
2639
|
+
"allowNo": false,
|
|
2640
|
+
"type": "boolean"
|
|
2641
|
+
},
|
|
2642
|
+
"backup-before-update": {
|
|
2643
|
+
"description": "Create backups before updating files",
|
|
2644
|
+
"name": "backup-before-update",
|
|
2645
|
+
"allowNo": false,
|
|
2646
|
+
"type": "boolean"
|
|
2647
|
+
},
|
|
2648
|
+
"merge-strategy": {
|
|
2649
|
+
"description": "Merge strategy for updates",
|
|
2650
|
+
"name": "merge-strategy",
|
|
2651
|
+
"default": "merge",
|
|
2734
2652
|
"hasDynamicHelp": false,
|
|
2735
2653
|
"multiple": false,
|
|
2736
2654
|
"options": [
|
|
2737
|
-
"
|
|
2738
|
-
"
|
|
2739
|
-
"
|
|
2655
|
+
"merge",
|
|
2656
|
+
"overwrite",
|
|
2657
|
+
"skip"
|
|
2740
2658
|
],
|
|
2741
2659
|
"type": "option"
|
|
2742
2660
|
},
|
|
2743
|
-
"
|
|
2744
|
-
"
|
|
2745
|
-
"
|
|
2746
|
-
"
|
|
2661
|
+
"backup-directory": {
|
|
2662
|
+
"description": "Custom backup directory (default: .backups)",
|
|
2663
|
+
"name": "backup-directory",
|
|
2664
|
+
"hasDynamicHelp": false,
|
|
2665
|
+
"multiple": false,
|
|
2666
|
+
"type": "option"
|
|
2667
|
+
},
|
|
2668
|
+
"preserve-fields": {
|
|
2669
|
+
"description": "Comma-separated list of fields to preserve during updates",
|
|
2670
|
+
"name": "preserve-fields",
|
|
2671
|
+
"hasDynamicHelp": false,
|
|
2672
|
+
"multiple": true,
|
|
2673
|
+
"type": "option"
|
|
2674
|
+
},
|
|
2675
|
+
"exclude-fields": {
|
|
2676
|
+
"description": "Comma-separated list of fields to exclude from pull",
|
|
2677
|
+
"name": "exclude-fields",
|
|
2678
|
+
"hasDynamicHelp": false,
|
|
2679
|
+
"multiple": true,
|
|
2680
|
+
"type": "option"
|
|
2681
|
+
},
|
|
2682
|
+
"target-dir": {
|
|
2683
|
+
"description": "Specific target directory (overrides auto-discovery)",
|
|
2684
|
+
"name": "target-dir",
|
|
2747
2685
|
"hasDynamicHelp": false,
|
|
2748
2686
|
"multiple": false,
|
|
2749
2687
|
"type": "option"
|
|
2750
|
-
},
|
|
2751
|
-
"verbose": {
|
|
2752
|
-
"char": "v",
|
|
2753
|
-
"description": "Show detailed execution information",
|
|
2754
|
-
"name": "verbose",
|
|
2755
|
-
"allowNo": false,
|
|
2756
|
-
"type": "boolean"
|
|
2757
2688
|
}
|
|
2758
2689
|
},
|
|
2759
2690
|
"hasDynamicHelp": false,
|
|
2760
2691
|
"hiddenAliases": [],
|
|
2761
|
-
"id": "
|
|
2692
|
+
"id": "sync:pull",
|
|
2762
2693
|
"pluginAlias": "@memberjunction/cli",
|
|
2763
2694
|
"pluginName": "@memberjunction/cli",
|
|
2764
2695
|
"pluginType": "core",
|
|
@@ -2768,82 +2699,85 @@
|
|
|
2768
2699
|
"relativePath": [
|
|
2769
2700
|
"dist",
|
|
2770
2701
|
"commands",
|
|
2771
|
-
"
|
|
2772
|
-
"
|
|
2702
|
+
"sync",
|
|
2703
|
+
"pull.js"
|
|
2773
2704
|
]
|
|
2774
2705
|
},
|
|
2775
|
-
"
|
|
2706
|
+
"sync:push": {
|
|
2776
2707
|
"aliases": [],
|
|
2777
|
-
"args": {
|
|
2778
|
-
|
|
2779
|
-
"description": "Test ID to validate",
|
|
2780
|
-
"name": "testId",
|
|
2781
|
-
"required": false
|
|
2782
|
-
}
|
|
2783
|
-
},
|
|
2784
|
-
"description": "Validate test definitions without executing",
|
|
2708
|
+
"args": {},
|
|
2709
|
+
"description": "Push local file changes to the database",
|
|
2785
2710
|
"examples": [
|
|
2786
|
-
"<%= config.bin %> <%= command.id %>
|
|
2787
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2788
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2789
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2790
|
-
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
2711
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2712
|
+
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
2713
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2714
|
+
"<%= config.bin %> <%= command.id %> --ci"
|
|
2791
2715
|
],
|
|
2792
2716
|
"flags": {
|
|
2793
|
-
"
|
|
2794
|
-
"
|
|
2795
|
-
"
|
|
2796
|
-
"name": "all",
|
|
2797
|
-
"allowNo": false,
|
|
2798
|
-
"type": "boolean"
|
|
2799
|
-
},
|
|
2800
|
-
"type": {
|
|
2801
|
-
"char": "t",
|
|
2802
|
-
"description": "Validate tests by type",
|
|
2803
|
-
"name": "type",
|
|
2717
|
+
"dir": {
|
|
2718
|
+
"description": "Specific entity directory to push",
|
|
2719
|
+
"name": "dir",
|
|
2804
2720
|
"hasDynamicHelp": false,
|
|
2805
2721
|
"multiple": false,
|
|
2806
2722
|
"type": "option"
|
|
2807
2723
|
},
|
|
2808
|
-
"
|
|
2809
|
-
"description": "
|
|
2810
|
-
"name": "
|
|
2724
|
+
"dry-run": {
|
|
2725
|
+
"description": "Show what would be pushed without actually pushing",
|
|
2726
|
+
"name": "dry-run",
|
|
2811
2727
|
"allowNo": false,
|
|
2812
2728
|
"type": "boolean"
|
|
2813
2729
|
},
|
|
2814
|
-
"
|
|
2815
|
-
"
|
|
2816
|
-
"
|
|
2817
|
-
"
|
|
2818
|
-
"
|
|
2730
|
+
"ci": {
|
|
2731
|
+
"description": "CI mode - no prompts, fail on issues",
|
|
2732
|
+
"name": "ci",
|
|
2733
|
+
"allowNo": false,
|
|
2734
|
+
"type": "boolean"
|
|
2735
|
+
},
|
|
2736
|
+
"verbose": {
|
|
2737
|
+
"char": "v",
|
|
2738
|
+
"description": "Show detailed field-level output",
|
|
2739
|
+
"name": "verbose",
|
|
2740
|
+
"allowNo": false,
|
|
2741
|
+
"type": "boolean"
|
|
2742
|
+
},
|
|
2743
|
+
"no-validate": {
|
|
2744
|
+
"description": "Skip validation before push",
|
|
2745
|
+
"name": "no-validate",
|
|
2746
|
+
"allowNo": false,
|
|
2747
|
+
"type": "boolean"
|
|
2748
|
+
},
|
|
2749
|
+
"delete-db-only": {
|
|
2750
|
+
"description": "Delete database-only records that reference records being deleted (prevents FK errors)",
|
|
2751
|
+
"name": "delete-db-only",
|
|
2752
|
+
"allowNo": false,
|
|
2753
|
+
"type": "boolean"
|
|
2754
|
+
},
|
|
2755
|
+
"parallel-batch-size": {
|
|
2756
|
+
"description": "Number of records to process in parallel (default: 10)",
|
|
2757
|
+
"name": "parallel-batch-size",
|
|
2758
|
+
"default": 10,
|
|
2819
2759
|
"hasDynamicHelp": false,
|
|
2820
2760
|
"multiple": false,
|
|
2821
|
-
"options": [
|
|
2822
|
-
"console",
|
|
2823
|
-
"json",
|
|
2824
|
-
"markdown"
|
|
2825
|
-
],
|
|
2826
2761
|
"type": "option"
|
|
2827
2762
|
},
|
|
2828
|
-
"
|
|
2829
|
-
"
|
|
2830
|
-
"
|
|
2831
|
-
"name": "output",
|
|
2763
|
+
"include": {
|
|
2764
|
+
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
2765
|
+
"name": "include",
|
|
2832
2766
|
"hasDynamicHelp": false,
|
|
2833
2767
|
"multiple": false,
|
|
2834
2768
|
"type": "option"
|
|
2835
2769
|
},
|
|
2836
|
-
"
|
|
2837
|
-
"
|
|
2838
|
-
"
|
|
2839
|
-
"
|
|
2840
|
-
"
|
|
2841
|
-
"type": "
|
|
2770
|
+
"exclude": {
|
|
2771
|
+
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
2772
|
+
"name": "exclude",
|
|
2773
|
+
"hasDynamicHelp": false,
|
|
2774
|
+
"multiple": false,
|
|
2775
|
+
"type": "option"
|
|
2842
2776
|
}
|
|
2843
2777
|
},
|
|
2844
2778
|
"hasDynamicHelp": false,
|
|
2845
2779
|
"hiddenAliases": [],
|
|
2846
|
-
"id": "
|
|
2780
|
+
"id": "sync:push",
|
|
2847
2781
|
"pluginAlias": "@memberjunction/cli",
|
|
2848
2782
|
"pluginName": "@memberjunction/cli",
|
|
2849
2783
|
"pluginType": "core",
|
|
@@ -2853,96 +2787,52 @@
|
|
|
2853
2787
|
"relativePath": [
|
|
2854
2788
|
"dist",
|
|
2855
2789
|
"commands",
|
|
2856
|
-
"
|
|
2857
|
-
"
|
|
2790
|
+
"sync",
|
|
2791
|
+
"push.js"
|
|
2858
2792
|
]
|
|
2859
2793
|
},
|
|
2860
|
-
"
|
|
2794
|
+
"sync:status": {
|
|
2861
2795
|
"aliases": [],
|
|
2862
2796
|
"args": {},
|
|
2863
|
-
"description": "
|
|
2797
|
+
"description": "Show status of local files vs database",
|
|
2864
2798
|
"examples": [
|
|
2865
|
-
"<%= config.bin %>
|
|
2866
|
-
"<%= config.bin %>
|
|
2867
|
-
"<%= config.bin %>
|
|
2868
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
2799
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2800
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2801
|
+
"<%= config.bin %> <%= command.id %> --verbose"
|
|
2869
2802
|
],
|
|
2870
2803
|
"flags": {
|
|
2871
|
-
"
|
|
2872
|
-
"description": "
|
|
2873
|
-
"name": "
|
|
2874
|
-
"required": true,
|
|
2875
|
-
"hasDynamicHelp": false,
|
|
2876
|
-
"multiple": false,
|
|
2877
|
-
"options": [
|
|
2878
|
-
"sqlserver",
|
|
2879
|
-
"postgresql"
|
|
2880
|
-
],
|
|
2881
|
-
"type": "option"
|
|
2882
|
-
},
|
|
2883
|
-
"to": {
|
|
2884
|
-
"description": "Target SQL dialect",
|
|
2885
|
-
"name": "to",
|
|
2886
|
-
"required": true,
|
|
2804
|
+
"dir": {
|
|
2805
|
+
"description": "Specific entity directory to check status",
|
|
2806
|
+
"name": "dir",
|
|
2887
2807
|
"hasDynamicHelp": false,
|
|
2888
2808
|
"multiple": false,
|
|
2889
|
-
"options": [
|
|
2890
|
-
"sqlserver",
|
|
2891
|
-
"postgresql"
|
|
2892
|
-
],
|
|
2893
2809
|
"type": "option"
|
|
2894
2810
|
},
|
|
2895
|
-
"
|
|
2896
|
-
"
|
|
2897
|
-
"
|
|
2898
|
-
"
|
|
2899
|
-
"
|
|
2900
|
-
"
|
|
2901
|
-
"options": [
|
|
2902
|
-
"queries",
|
|
2903
|
-
"views",
|
|
2904
|
-
"filters",
|
|
2905
|
-
"all"
|
|
2906
|
-
],
|
|
2907
|
-
"type": "option"
|
|
2811
|
+
"verbose": {
|
|
2812
|
+
"char": "v",
|
|
2813
|
+
"description": "Show detailed field-level differences",
|
|
2814
|
+
"name": "verbose",
|
|
2815
|
+
"allowNo": false,
|
|
2816
|
+
"type": "boolean"
|
|
2908
2817
|
},
|
|
2909
|
-
"
|
|
2910
|
-
"description": "
|
|
2911
|
-
"name": "
|
|
2818
|
+
"include": {
|
|
2819
|
+
"description": "Only process these directories (comma-separated, supports patterns)",
|
|
2820
|
+
"name": "include",
|
|
2912
2821
|
"hasDynamicHelp": false,
|
|
2913
2822
|
"multiple": false,
|
|
2914
2823
|
"type": "option"
|
|
2915
2824
|
},
|
|
2916
|
-
"
|
|
2917
|
-
"description": "
|
|
2918
|
-
"name": "
|
|
2919
|
-
"allowNo": false,
|
|
2920
|
-
"type": "boolean"
|
|
2921
|
-
},
|
|
2922
|
-
"review": {
|
|
2923
|
-
"description": "Generate review report only (no writes to database)",
|
|
2924
|
-
"name": "review",
|
|
2925
|
-
"allowNo": false,
|
|
2926
|
-
"type": "boolean"
|
|
2927
|
-
},
|
|
2928
|
-
"output": {
|
|
2929
|
-
"char": "o",
|
|
2930
|
-
"description": "Output directory for the translation report",
|
|
2931
|
-
"name": "output",
|
|
2825
|
+
"exclude": {
|
|
2826
|
+
"description": "Skip these directories (comma-separated, supports patterns)",
|
|
2827
|
+
"name": "exclude",
|
|
2932
2828
|
"hasDynamicHelp": false,
|
|
2933
2829
|
"multiple": false,
|
|
2934
2830
|
"type": "option"
|
|
2935
|
-
},
|
|
2936
|
-
"force": {
|
|
2937
|
-
"description": "Re-translate even if platform variants already exist",
|
|
2938
|
-
"name": "force",
|
|
2939
|
-
"allowNo": false,
|
|
2940
|
-
"type": "boolean"
|
|
2941
2831
|
}
|
|
2942
2832
|
},
|
|
2943
2833
|
"hasDynamicHelp": false,
|
|
2944
2834
|
"hiddenAliases": [],
|
|
2945
|
-
"id": "
|
|
2835
|
+
"id": "sync:status",
|
|
2946
2836
|
"pluginAlias": "@memberjunction/cli",
|
|
2947
2837
|
"pluginName": "@memberjunction/cli",
|
|
2948
2838
|
"pluginType": "core",
|
|
@@ -2952,38 +2842,52 @@
|
|
|
2952
2842
|
"relativePath": [
|
|
2953
2843
|
"dist",
|
|
2954
2844
|
"commands",
|
|
2955
|
-
"
|
|
2956
|
-
"
|
|
2845
|
+
"sync",
|
|
2846
|
+
"status.js"
|
|
2957
2847
|
]
|
|
2958
2848
|
},
|
|
2959
|
-
"
|
|
2849
|
+
"sync:validate": {
|
|
2960
2850
|
"aliases": [],
|
|
2961
2851
|
"args": {},
|
|
2962
|
-
"description": "
|
|
2852
|
+
"description": "Validate metadata files",
|
|
2963
2853
|
"examples": [
|
|
2964
2854
|
"<%= config.bin %> <%= command.id %>",
|
|
2965
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2966
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2855
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2856
|
+
"<%= config.bin %> <%= command.id %> --save-report",
|
|
2857
|
+
"<%= config.bin %> <%= command.id %> --verbose"
|
|
2967
2858
|
],
|
|
2968
2859
|
"flags": {
|
|
2969
|
-
"
|
|
2970
|
-
"
|
|
2971
|
-
"
|
|
2972
|
-
"
|
|
2973
|
-
"
|
|
2860
|
+
"dir": {
|
|
2861
|
+
"description": "Specific entity directory to validate",
|
|
2862
|
+
"name": "dir",
|
|
2863
|
+
"hasDynamicHelp": false,
|
|
2864
|
+
"multiple": false,
|
|
2865
|
+
"type": "option"
|
|
2866
|
+
},
|
|
2867
|
+
"verbose": {
|
|
2868
|
+
"char": "v",
|
|
2869
|
+
"description": "Show detailed validation output",
|
|
2870
|
+
"name": "verbose",
|
|
2871
|
+
"allowNo": false,
|
|
2872
|
+
"type": "boolean"
|
|
2873
|
+
},
|
|
2874
|
+
"save-report": {
|
|
2875
|
+
"description": "Save validation report as markdown file",
|
|
2876
|
+
"name": "save-report",
|
|
2877
|
+
"allowNo": false,
|
|
2878
|
+
"type": "boolean"
|
|
2879
|
+
},
|
|
2880
|
+
"output": {
|
|
2881
|
+
"description": "Output file path for validation report (default: validation-report.md)",
|
|
2882
|
+
"name": "output",
|
|
2974
2883
|
"hasDynamicHelp": false,
|
|
2975
2884
|
"multiple": false,
|
|
2976
|
-
"options": [
|
|
2977
|
-
"compact",
|
|
2978
|
-
"json",
|
|
2979
|
-
"table"
|
|
2980
|
-
],
|
|
2981
2885
|
"type": "option"
|
|
2982
2886
|
}
|
|
2983
2887
|
},
|
|
2984
2888
|
"hasDynamicHelp": false,
|
|
2985
2889
|
"hiddenAliases": [],
|
|
2986
|
-
"id": "
|
|
2890
|
+
"id": "sync:validate",
|
|
2987
2891
|
"pluginAlias": "@memberjunction/cli",
|
|
2988
2892
|
"pluginName": "@memberjunction/cli",
|
|
2989
2893
|
"pluginType": "core",
|
|
@@ -2993,78 +2897,52 @@
|
|
|
2993
2897
|
"relativePath": [
|
|
2994
2898
|
"dist",
|
|
2995
2899
|
"commands",
|
|
2996
|
-
"
|
|
2997
|
-
"
|
|
2998
|
-
"list.js"
|
|
2900
|
+
"sync",
|
|
2901
|
+
"validate.js"
|
|
2999
2902
|
]
|
|
3000
2903
|
},
|
|
3001
|
-
"
|
|
2904
|
+
"sync:watch": {
|
|
3002
2905
|
"aliases": [],
|
|
3003
2906
|
"args": {},
|
|
3004
|
-
"description": "
|
|
2907
|
+
"description": "Watch for file changes and sync automatically",
|
|
3005
2908
|
"examples": [
|
|
3006
|
-
"<%= config.bin %> <%= command.id %>
|
|
3007
|
-
"<%= config.bin %> <%= command.id %>
|
|
3008
|
-
"<%= config.bin %> <%= command.id %>
|
|
3009
|
-
"<%= config.bin %> <%= command.id %>
|
|
2909
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2910
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
2911
|
+
"<%= config.bin %> <%= command.id %> --debounce=1000",
|
|
2912
|
+
"<%= config.bin %> <%= command.id %> --no-validate"
|
|
3010
2913
|
],
|
|
3011
2914
|
"flags": {
|
|
3012
|
-
"
|
|
3013
|
-
"
|
|
3014
|
-
"
|
|
3015
|
-
"name": "name",
|
|
3016
|
-
"required": true,
|
|
2915
|
+
"dir": {
|
|
2916
|
+
"description": "Specific entity directory to watch",
|
|
2917
|
+
"name": "dir",
|
|
3017
2918
|
"hasDynamicHelp": false,
|
|
3018
2919
|
"multiple": false,
|
|
3019
2920
|
"type": "option"
|
|
3020
2921
|
},
|
|
3021
|
-
"
|
|
3022
|
-
"
|
|
3023
|
-
"
|
|
3024
|
-
"name": "param",
|
|
2922
|
+
"debounce": {
|
|
2923
|
+
"description": "Debounce delay in milliseconds (default: 500)",
|
|
2924
|
+
"name": "debounce",
|
|
3025
2925
|
"hasDynamicHelp": false,
|
|
3026
|
-
"multiple":
|
|
2926
|
+
"multiple": false,
|
|
3027
2927
|
"type": "option"
|
|
3028
2928
|
},
|
|
3029
|
-
"
|
|
3030
|
-
"description": "
|
|
3031
|
-
"name": "
|
|
2929
|
+
"no-validate": {
|
|
2930
|
+
"description": "Skip validation before sync",
|
|
2931
|
+
"name": "no-validate",
|
|
3032
2932
|
"allowNo": false,
|
|
3033
2933
|
"type": "boolean"
|
|
3034
2934
|
},
|
|
3035
|
-
"output": {
|
|
3036
|
-
"char": "o",
|
|
3037
|
-
"description": "Output format",
|
|
3038
|
-
"name": "output",
|
|
3039
|
-
"default": "compact",
|
|
3040
|
-
"hasDynamicHelp": false,
|
|
3041
|
-
"multiple": false,
|
|
3042
|
-
"options": [
|
|
3043
|
-
"compact",
|
|
3044
|
-
"json",
|
|
3045
|
-
"table"
|
|
3046
|
-
],
|
|
3047
|
-
"type": "option"
|
|
3048
|
-
},
|
|
3049
2935
|
"verbose": {
|
|
3050
2936
|
"char": "v",
|
|
3051
|
-
"description": "Show detailed
|
|
2937
|
+
"description": "Show detailed output",
|
|
3052
2938
|
"name": "verbose",
|
|
3053
2939
|
"allowNo": false,
|
|
3054
2940
|
"type": "boolean"
|
|
3055
|
-
},
|
|
3056
|
-
"timeout": {
|
|
3057
|
-
"description": "Execution timeout in milliseconds",
|
|
3058
|
-
"name": "timeout",
|
|
3059
|
-
"default": 300000,
|
|
3060
|
-
"hasDynamicHelp": false,
|
|
3061
|
-
"multiple": false,
|
|
3062
|
-
"type": "option"
|
|
3063
2941
|
}
|
|
3064
2942
|
},
|
|
3065
2943
|
"hasDynamicHelp": false,
|
|
3066
2944
|
"hiddenAliases": [],
|
|
3067
|
-
"id": "
|
|
2945
|
+
"id": "sync:watch",
|
|
3068
2946
|
"pluginAlias": "@memberjunction/cli",
|
|
3069
2947
|
"pluginName": "@memberjunction/cli",
|
|
3070
2948
|
"pluginType": "core",
|
|
@@ -3074,15 +2952,14 @@
|
|
|
3074
2952
|
"relativePath": [
|
|
3075
2953
|
"dist",
|
|
3076
2954
|
"commands",
|
|
3077
|
-
"
|
|
3078
|
-
"
|
|
3079
|
-
"run.js"
|
|
2955
|
+
"sync",
|
|
2956
|
+
"watch.js"
|
|
3080
2957
|
]
|
|
3081
2958
|
},
|
|
3082
|
-
"ai:
|
|
2959
|
+
"ai:actions:list": {
|
|
3083
2960
|
"aliases": [],
|
|
3084
2961
|
"args": {},
|
|
3085
|
-
"description": "List available AI
|
|
2962
|
+
"description": "List available AI actions",
|
|
3086
2963
|
"examples": [
|
|
3087
2964
|
"<%= config.bin %> <%= command.id %>",
|
|
3088
2965
|
"<%= config.bin %> <%= command.id %> --output=table",
|
|
@@ -3106,7 +2983,7 @@
|
|
|
3106
2983
|
},
|
|
3107
2984
|
"hasDynamicHelp": false,
|
|
3108
2985
|
"hiddenAliases": [],
|
|
3109
|
-
"id": "ai:
|
|
2986
|
+
"id": "ai:actions:list",
|
|
3110
2987
|
"pluginAlias": "@memberjunction/cli",
|
|
3111
2988
|
"pluginName": "@memberjunction/cli",
|
|
3112
2989
|
"pluginType": "core",
|
|
@@ -3117,47 +2994,41 @@
|
|
|
3117
2994
|
"dist",
|
|
3118
2995
|
"commands",
|
|
3119
2996
|
"ai",
|
|
3120
|
-
"
|
|
2997
|
+
"actions",
|
|
3121
2998
|
"list.js"
|
|
3122
2999
|
]
|
|
3123
3000
|
},
|
|
3124
|
-
"ai:
|
|
3001
|
+
"ai:actions:run": {
|
|
3125
3002
|
"aliases": [],
|
|
3126
3003
|
"args": {},
|
|
3127
|
-
"description": "Execute an AI
|
|
3004
|
+
"description": "Execute an AI action with parameters",
|
|
3128
3005
|
"examples": [
|
|
3129
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3130
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3131
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3006
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
3007
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
3008
|
+
"<%= 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\"",
|
|
3009
|
+
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
3132
3010
|
],
|
|
3133
3011
|
"flags": {
|
|
3134
|
-
"
|
|
3135
|
-
"char": "
|
|
3136
|
-
"description": "
|
|
3137
|
-
"name": "
|
|
3012
|
+
"name": {
|
|
3013
|
+
"char": "n",
|
|
3014
|
+
"description": "Action name",
|
|
3015
|
+
"name": "name",
|
|
3138
3016
|
"required": true,
|
|
3139
3017
|
"hasDynamicHelp": false,
|
|
3140
3018
|
"multiple": false,
|
|
3141
3019
|
"type": "option"
|
|
3142
3020
|
},
|
|
3143
|
-
"
|
|
3021
|
+
"param": {
|
|
3144
3022
|
"char": "p",
|
|
3145
|
-
"description": "
|
|
3146
|
-
"
|
|
3147
|
-
"chat"
|
|
3148
|
-
],
|
|
3149
|
-
"name": "prompt",
|
|
3023
|
+
"description": "Action parameters in key=value format",
|
|
3024
|
+
"name": "param",
|
|
3150
3025
|
"hasDynamicHelp": false,
|
|
3151
|
-
"multiple":
|
|
3026
|
+
"multiple": true,
|
|
3152
3027
|
"type": "option"
|
|
3153
3028
|
},
|
|
3154
|
-
"
|
|
3155
|
-
"
|
|
3156
|
-
"
|
|
3157
|
-
"exclusive": [
|
|
3158
|
-
"prompt"
|
|
3159
|
-
],
|
|
3160
|
-
"name": "chat",
|
|
3029
|
+
"dry-run": {
|
|
3030
|
+
"description": "Validate without executing",
|
|
3031
|
+
"name": "dry-run",
|
|
3161
3032
|
"allowNo": false,
|
|
3162
3033
|
"type": "boolean"
|
|
3163
3034
|
},
|
|
@@ -3193,7 +3064,7 @@
|
|
|
3193
3064
|
},
|
|
3194
3065
|
"hasDynamicHelp": false,
|
|
3195
3066
|
"hiddenAliases": [],
|
|
3196
|
-
"id": "ai:
|
|
3067
|
+
"id": "ai:actions:run",
|
|
3197
3068
|
"pluginAlias": "@memberjunction/cli",
|
|
3198
3069
|
"pluginName": "@memberjunction/cli",
|
|
3199
3070
|
"pluginType": "core",
|
|
@@ -3204,7 +3075,7 @@
|
|
|
3204
3075
|
"dist",
|
|
3205
3076
|
"commands",
|
|
3206
3077
|
"ai",
|
|
3207
|
-
"
|
|
3078
|
+
"actions",
|
|
3208
3079
|
"run.js"
|
|
3209
3080
|
]
|
|
3210
3081
|
},
|
|
@@ -3424,6 +3295,135 @@
|
|
|
3424
3295
|
"index.js"
|
|
3425
3296
|
]
|
|
3426
3297
|
},
|
|
3298
|
+
"ai:agents:list": {
|
|
3299
|
+
"aliases": [],
|
|
3300
|
+
"args": {},
|
|
3301
|
+
"description": "List available AI agents",
|
|
3302
|
+
"examples": [
|
|
3303
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3304
|
+
"<%= config.bin %> <%= command.id %> --output=table",
|
|
3305
|
+
"<%= config.bin %> <%= command.id %> --output=json"
|
|
3306
|
+
],
|
|
3307
|
+
"flags": {
|
|
3308
|
+
"output": {
|
|
3309
|
+
"char": "o",
|
|
3310
|
+
"description": "Output format",
|
|
3311
|
+
"name": "output",
|
|
3312
|
+
"default": "compact",
|
|
3313
|
+
"hasDynamicHelp": false,
|
|
3314
|
+
"multiple": false,
|
|
3315
|
+
"options": [
|
|
3316
|
+
"compact",
|
|
3317
|
+
"json",
|
|
3318
|
+
"table"
|
|
3319
|
+
],
|
|
3320
|
+
"type": "option"
|
|
3321
|
+
}
|
|
3322
|
+
},
|
|
3323
|
+
"hasDynamicHelp": false,
|
|
3324
|
+
"hiddenAliases": [],
|
|
3325
|
+
"id": "ai:agents:list",
|
|
3326
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3327
|
+
"pluginName": "@memberjunction/cli",
|
|
3328
|
+
"pluginType": "core",
|
|
3329
|
+
"strict": true,
|
|
3330
|
+
"enableJsonFlag": false,
|
|
3331
|
+
"isESM": true,
|
|
3332
|
+
"relativePath": [
|
|
3333
|
+
"dist",
|
|
3334
|
+
"commands",
|
|
3335
|
+
"ai",
|
|
3336
|
+
"agents",
|
|
3337
|
+
"list.js"
|
|
3338
|
+
]
|
|
3339
|
+
},
|
|
3340
|
+
"ai:agents:run": {
|
|
3341
|
+
"aliases": [],
|
|
3342
|
+
"args": {},
|
|
3343
|
+
"description": "Execute an AI agent with a prompt or start interactive chat",
|
|
3344
|
+
"examples": [
|
|
3345
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Requirements Expert\" -p \"Create a dashboard for sales metrics\"",
|
|
3346
|
+
"<%= config.bin %> <%= command.id %> -a \"Child Component Generator Sub-agent\" --chat",
|
|
3347
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Technical Design Expert\" -p \"Build a React component\" --verbose --timeout=600000"
|
|
3348
|
+
],
|
|
3349
|
+
"flags": {
|
|
3350
|
+
"agent": {
|
|
3351
|
+
"char": "a",
|
|
3352
|
+
"description": "Agent name",
|
|
3353
|
+
"name": "agent",
|
|
3354
|
+
"required": true,
|
|
3355
|
+
"hasDynamicHelp": false,
|
|
3356
|
+
"multiple": false,
|
|
3357
|
+
"type": "option"
|
|
3358
|
+
},
|
|
3359
|
+
"prompt": {
|
|
3360
|
+
"char": "p",
|
|
3361
|
+
"description": "Prompt to execute",
|
|
3362
|
+
"exclusive": [
|
|
3363
|
+
"chat"
|
|
3364
|
+
],
|
|
3365
|
+
"name": "prompt",
|
|
3366
|
+
"hasDynamicHelp": false,
|
|
3367
|
+
"multiple": false,
|
|
3368
|
+
"type": "option"
|
|
3369
|
+
},
|
|
3370
|
+
"chat": {
|
|
3371
|
+
"char": "c",
|
|
3372
|
+
"description": "Start interactive chat mode",
|
|
3373
|
+
"exclusive": [
|
|
3374
|
+
"prompt"
|
|
3375
|
+
],
|
|
3376
|
+
"name": "chat",
|
|
3377
|
+
"allowNo": false,
|
|
3378
|
+
"type": "boolean"
|
|
3379
|
+
},
|
|
3380
|
+
"output": {
|
|
3381
|
+
"char": "o",
|
|
3382
|
+
"description": "Output format",
|
|
3383
|
+
"name": "output",
|
|
3384
|
+
"default": "compact",
|
|
3385
|
+
"hasDynamicHelp": false,
|
|
3386
|
+
"multiple": false,
|
|
3387
|
+
"options": [
|
|
3388
|
+
"compact",
|
|
3389
|
+
"json",
|
|
3390
|
+
"table"
|
|
3391
|
+
],
|
|
3392
|
+
"type": "option"
|
|
3393
|
+
},
|
|
3394
|
+
"verbose": {
|
|
3395
|
+
"char": "v",
|
|
3396
|
+
"description": "Show detailed execution information",
|
|
3397
|
+
"name": "verbose",
|
|
3398
|
+
"allowNo": false,
|
|
3399
|
+
"type": "boolean"
|
|
3400
|
+
},
|
|
3401
|
+
"timeout": {
|
|
3402
|
+
"description": "Execution timeout in milliseconds",
|
|
3403
|
+
"name": "timeout",
|
|
3404
|
+
"default": 300000,
|
|
3405
|
+
"hasDynamicHelp": false,
|
|
3406
|
+
"multiple": false,
|
|
3407
|
+
"type": "option"
|
|
3408
|
+
}
|
|
3409
|
+
},
|
|
3410
|
+
"hasDynamicHelp": false,
|
|
3411
|
+
"hiddenAliases": [],
|
|
3412
|
+
"id": "ai:agents:run",
|
|
3413
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3414
|
+
"pluginName": "@memberjunction/cli",
|
|
3415
|
+
"pluginType": "core",
|
|
3416
|
+
"strict": true,
|
|
3417
|
+
"enableJsonFlag": false,
|
|
3418
|
+
"isESM": true,
|
|
3419
|
+
"relativePath": [
|
|
3420
|
+
"dist",
|
|
3421
|
+
"commands",
|
|
3422
|
+
"ai",
|
|
3423
|
+
"agents",
|
|
3424
|
+
"run.js"
|
|
3425
|
+
]
|
|
3426
|
+
},
|
|
3427
3427
|
"ai:prompts:list": {
|
|
3428
3428
|
"aliases": [],
|
|
3429
3429
|
"args": {},
|
|
@@ -3564,5 +3564,5 @@
|
|
|
3564
3564
|
]
|
|
3565
3565
|
}
|
|
3566
3566
|
},
|
|
3567
|
-
"version": "5.
|
|
3567
|
+
"version": "5.27.0"
|
|
3568
3568
|
}
|