@memberjunction/cli 6.3.0-edge.0 → 6.3.0-edge.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1047 -359
- package/dist/baseline/connection.d.ts.map +1 -1
- package/dist/baseline/connection.js +12 -1
- package/dist/baseline/connection.js.map +1 -1
- package/dist/commands/agent/usage.d.ts +7 -0
- package/dist/commands/agent/usage.d.ts.map +1 -0
- package/dist/commands/agent/usage.js +10 -0
- package/dist/commands/agent/usage.js.map +1 -0
- package/dist/commands/app/check-updates.d.ts +2 -2
- package/dist/commands/app/check-updates.d.ts.map +1 -1
- package/dist/commands/app/check-updates.js +8 -7
- package/dist/commands/app/check-updates.js.map +1 -1
- package/dist/commands/app/install.d.ts +2 -2
- package/dist/commands/app/install.d.ts.map +1 -1
- package/dist/commands/app/install.js +29 -18
- package/dist/commands/app/install.js.map +1 -1
- package/dist/commands/app/remove.d.ts.map +1 -1
- package/dist/commands/app/remove.js +3 -1
- package/dist/commands/app/remove.js.map +1 -1
- package/dist/commands/app/upgrade.d.ts +1 -0
- package/dist/commands/app/upgrade.d.ts.map +1 -1
- package/dist/commands/app/upgrade.js +6 -0
- package/dist/commands/app/upgrade.js.map +1 -1
- package/dist/commands/codegen/index.d.ts +1 -0
- package/dist/commands/codegen/index.d.ts.map +1 -1
- package/dist/commands/codegen/manifest.d.ts +40 -0
- package/dist/commands/codegen/manifest.d.ts.map +1 -1
- package/dist/commands/codegen/manifest.js +124 -3
- package/dist/commands/codegen/manifest.js.map +1 -1
- package/dist/commands/diag/usage.d.ts +7 -0
- package/dist/commands/diag/usage.d.ts.map +1 -0
- package/dist/commands/diag/usage.js +10 -0
- package/dist/commands/diag/usage.js.map +1 -0
- package/dist/commands/doctor/index.d.ts +6 -0
- package/dist/commands/doctor/index.d.ts.map +1 -1
- package/dist/commands/doctor/index.js +42 -0
- package/dist/commands/doctor/index.js.map +1 -1
- package/dist/commands/explorer/postbuild.d.ts +14 -0
- package/dist/commands/explorer/postbuild.d.ts.map +1 -0
- package/dist/commands/explorer/postbuild.js +49 -0
- package/dist/commands/explorer/postbuild.js.map +1 -0
- package/dist/commands/explorer/usage.d.ts +7 -0
- package/dist/commands/explorer/usage.d.ts.map +1 -0
- package/dist/commands/explorer/usage.js +10 -0
- package/dist/commands/explorer/usage.js.map +1 -0
- package/dist/commands/harness/account/add.d.ts +22 -0
- package/dist/commands/harness/account/add.d.ts.map +1 -0
- package/dist/commands/harness/account/add.js +100 -0
- package/dist/commands/harness/account/add.js.map +1 -0
- package/dist/commands/harness/account/clear-cooldown.d.ts +13 -0
- package/dist/commands/harness/account/clear-cooldown.d.ts.map +1 -0
- package/dist/commands/harness/account/clear-cooldown.js +32 -0
- package/dist/commands/harness/account/clear-cooldown.js.map +1 -0
- package/dist/commands/harness/account/disable.d.ts +13 -0
- package/dist/commands/harness/account/disable.d.ts.map +1 -0
- package/dist/commands/harness/account/disable.js +34 -0
- package/dist/commands/harness/account/disable.js.map +1 -0
- package/dist/commands/harness/account/enable.d.ts +13 -0
- package/dist/commands/harness/account/enable.d.ts.map +1 -0
- package/dist/commands/harness/account/enable.js +34 -0
- package/dist/commands/harness/account/enable.js.map +1 -0
- package/dist/commands/harness/account/index.d.ts +7 -0
- package/dist/commands/harness/account/index.d.ts.map +1 -0
- package/dist/commands/harness/account/index.js +23 -0
- package/dist/commands/harness/account/index.js.map +1 -0
- package/dist/commands/harness/account/list.d.ts +15 -0
- package/dist/commands/harness/account/list.d.ts.map +1 -0
- package/dist/commands/harness/account/list.js +58 -0
- package/dist/commands/harness/account/list.js.map +1 -0
- package/dist/commands/harness/account/login.d.ts +16 -0
- package/dist/commands/harness/account/login.d.ts.map +1 -0
- package/dist/commands/harness/account/login.js +50 -0
- package/dist/commands/harness/account/login.js.map +1 -0
- package/dist/commands/harness/account/remove.d.ts +14 -0
- package/dist/commands/harness/account/remove.d.ts.map +1 -0
- package/dist/commands/harness/account/remove.js +43 -0
- package/dist/commands/harness/account/remove.js.map +1 -0
- package/dist/commands/harness/account/set-strategy.d.ts +13 -0
- package/dist/commands/harness/account/set-strategy.d.ts.map +1 -0
- package/dist/commands/harness/account/set-strategy.js +38 -0
- package/dist/commands/harness/account/set-strategy.js.map +1 -0
- package/dist/commands/harness/index.d.ts +7 -0
- package/dist/commands/harness/index.d.ts.map +1 -0
- package/dist/commands/harness/index.js +22 -0
- package/dist/commands/harness/index.js.map +1 -0
- package/dist/commands/harness/usage.d.ts +7 -0
- package/dist/commands/harness/usage.d.ts.map +1 -0
- package/dist/commands/harness/usage.js +10 -0
- package/dist/commands/harness/usage.js.map +1 -0
- package/dist/commands/migrate/convert.d.ts +25 -1
- package/dist/commands/migrate/convert.d.ts.map +1 -1
- package/dist/commands/migrate/convert.js +160 -46
- package/dist/commands/migrate/convert.js.map +1 -1
- package/dist/commands/migrate/index.d.ts +8 -0
- package/dist/commands/migrate/index.d.ts.map +1 -1
- package/dist/commands/migrate/index.js +41 -2
- package/dist/commands/migrate/index.js.map +1 -1
- package/dist/commands/migrate/rebake.d.ts +13 -0
- package/dist/commands/migrate/rebake.d.ts.map +1 -1
- package/dist/commands/migrate/rebake.js +48 -14
- package/dist/commands/migrate/rebake.js.map +1 -1
- package/dist/commands/queue/export-topology.d.ts +2 -0
- package/dist/commands/queue/export-topology.d.ts.map +1 -1
- package/dist/commands/queue/export-topology.js +3 -1
- package/dist/commands/queue/export-topology.js.map +1 -1
- package/dist/commands/queue/import-bindings.d.ts +2 -0
- package/dist/commands/queue/import-bindings.d.ts.map +1 -1
- package/dist/commands/queue/import-bindings.js +3 -1
- package/dist/commands/queue/import-bindings.js.map +1 -1
- package/dist/commands/queue/index.d.ts.map +1 -1
- package/dist/commands/queue/index.js +1 -0
- package/dist/commands/queue/index.js.map +1 -1
- package/dist/commands/queue/sweep.d.ts +11 -0
- package/dist/commands/queue/sweep.d.ts.map +1 -0
- package/dist/commands/queue/sweep.js +36 -0
- package/dist/commands/queue/sweep.js.map +1 -0
- package/dist/commands/queue/validate-bindings.d.ts +2 -0
- package/dist/commands/queue/validate-bindings.d.ts.map +1 -1
- package/dist/commands/queue/validate-bindings.js +3 -1
- package/dist/commands/queue/validate-bindings.js.map +1 -1
- package/dist/commands/queue/work.d.ts +4 -0
- package/dist/commands/queue/work.d.ts.map +1 -1
- package/dist/commands/queue/work.js +9 -9
- package/dist/commands/queue/work.js.map +1 -1
- package/dist/commands/rubric/usage.d.ts +7 -0
- package/dist/commands/rubric/usage.d.ts.map +1 -0
- package/dist/commands/rubric/usage.js +10 -0
- package/dist/commands/rubric/usage.js.map +1 -0
- package/dist/commands/test/regression/index.d.ts.map +1 -1
- package/dist/commands/test/regression/index.js +2 -0
- package/dist/commands/test/regression/index.js.map +1 -1
- package/dist/commands/test/regression/new.d.ts +21 -0
- package/dist/commands/test/regression/new.d.ts.map +1 -0
- package/dist/commands/test/regression/new.js +82 -0
- package/dist/commands/test/regression/new.js.map +1 -0
- package/dist/commands/test/regression/up.d.ts +1 -0
- package/dist/commands/test/regression/up.d.ts.map +1 -1
- package/dist/commands/test/regression/up.js +17 -0
- package/dist/commands/test/regression/up.js.map +1 -1
- package/dist/commands/test/scripts.d.ts +6 -4
- package/dist/commands/test/scripts.d.ts.map +1 -1
- package/dist/commands/test/scripts.js +14 -0
- package/dist/commands/test/scripts.js.map +1 -1
- package/dist/commands/test/suite.d.ts +1 -0
- package/dist/commands/test/suite.d.ts.map +1 -1
- package/dist/commands/test/suite.js +6 -0
- package/dist/commands/test/suite.js.map +1 -1
- package/dist/commands/usage.js +2 -1
- package/dist/commands/usage.js.map +1 -1
- package/dist/commands/user/usage.d.ts +7 -0
- package/dist/commands/user/usage.d.ts.map +1 -0
- package/dist/commands/user/usage.js +10 -0
- package/dist/commands/user/usage.js.map +1 -0
- package/dist/config.d.ts +119 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +43 -1
- package/dist/config.js.map +1 -1
- package/dist/init-templates/citizen-builder/.env.example +5 -0
- package/dist/init-templates/citizen-builder/docker-compose.yml +9 -0
- package/dist/init-templates/citizen-builder/scripts/docker-entrypoint.sh +18 -1
- package/dist/lib/db-preflight.d.ts.map +1 -1
- package/dist/lib/db-preflight.js +22 -0
- package/dist/lib/db-preflight.js.map +1 -1
- package/dist/lib/derived-usage.d.ts +8 -0
- package/dist/lib/derived-usage.d.ts.map +1 -1
- package/dist/lib/derived-usage.js +30 -20
- package/dist/lib/derived-usage.js.map +1 -1
- package/dist/lib/dev-workspace/prebundle.d.ts +3 -1
- package/dist/lib/dev-workspace/prebundle.d.ts.map +1 -1
- package/dist/lib/dev-workspace/prebundle.js +4 -3
- package/dist/lib/dev-workspace/prebundle.js.map +1 -1
- package/dist/lib/domain-profiles.d.ts.map +1 -1
- package/dist/lib/domain-profiles.js +24 -0
- package/dist/lib/domain-profiles.js.map +1 -1
- package/dist/lib/domain-usage-command.js +2 -1
- package/dist/lib/domain-usage-command.js.map +1 -1
- package/dist/lib/explorer-postbuild/public-page-html.d.ts +48 -0
- package/dist/lib/explorer-postbuild/public-page-html.d.ts.map +1 -0
- package/dist/lib/explorer-postbuild/public-page-html.js +284 -0
- package/dist/lib/explorer-postbuild/public-page-html.js.map +1 -0
- package/dist/lib/explorer-postbuild/service-worker-check.d.ts +13 -0
- package/dist/lib/explorer-postbuild/service-worker-check.d.ts.map +1 -0
- package/dist/lib/explorer-postbuild/service-worker-check.js +41 -0
- package/dist/lib/explorer-postbuild/service-worker-check.js.map +1 -0
- package/dist/lib/harness-account.d.ts +34 -0
- package/dist/lib/harness-account.d.ts.map +1 -0
- package/dist/lib/harness-account.js +105 -0
- package/dist/lib/harness-account.js.map +1 -0
- package/dist/lib/pg-preflight/checks.d.ts +28 -0
- package/dist/lib/pg-preflight/checks.d.ts.map +1 -0
- package/dist/lib/pg-preflight/checks.js +94 -0
- package/dist/lib/pg-preflight/checks.js.map +1 -0
- package/dist/lib/pg-preflight/extension-check.d.ts +28 -0
- package/dist/lib/pg-preflight/extension-check.d.ts.map +1 -0
- package/dist/lib/pg-preflight/extension-check.js +86 -0
- package/dist/lib/pg-preflight/extension-check.js.map +1 -0
- package/dist/lib/pg-preflight/extension-scan.d.ts +24 -0
- package/dist/lib/pg-preflight/extension-scan.d.ts.map +1 -0
- package/dist/lib/pg-preflight/extension-scan.js +58 -0
- package/dist/lib/pg-preflight/extension-scan.js.map +1 -0
- package/dist/lib/pg-preflight/pending-migrations.d.ts +28 -0
- package/dist/lib/pg-preflight/pending-migrations.d.ts.map +1 -0
- package/dist/lib/pg-preflight/pending-migrations.js +48 -0
- package/dist/lib/pg-preflight/pending-migrations.js.map +1 -0
- package/dist/lib/pg-preflight/preflight.d.ts +18 -0
- package/dist/lib/pg-preflight/preflight.d.ts.map +1 -0
- package/dist/lib/pg-preflight/preflight.js +43 -0
- package/dist/lib/pg-preflight/preflight.js.map +1 -0
- package/dist/lib/pg-preflight/remediation.d.ts +27 -0
- package/dist/lib/pg-preflight/remediation.d.ts.map +1 -0
- package/dist/lib/pg-preflight/remediation.js +82 -0
- package/dist/lib/pg-preflight/remediation.js.map +1 -0
- package/dist/lib/pg-preflight/render.d.ts +15 -0
- package/dist/lib/pg-preflight/render.d.ts.map +1 -0
- package/dist/lib/pg-preflight/render.js +48 -0
- package/dist/lib/pg-preflight/render.js.map +1 -0
- package/dist/lib/pg-preflight/run-for-config.d.ts +23 -0
- package/dist/lib/pg-preflight/run-for-config.d.ts.map +1 -0
- package/dist/lib/pg-preflight/run-for-config.js +45 -0
- package/dist/lib/pg-preflight/run-for-config.js.map +1 -0
- package/dist/lib/pg-preflight/types.d.ts +67 -0
- package/dist/lib/pg-preflight/types.d.ts.map +1 -0
- package/dist/lib/pg-preflight/types.js +8 -0
- package/dist/lib/pg-preflight/types.js.map +1 -0
- package/dist/lib/regression/test-scaffold.d.ts +52 -0
- package/dist/lib/regression/test-scaffold.d.ts.map +1 -0
- package/dist/lib/regression/test-scaffold.js +237 -0
- package/dist/lib/regression/test-scaffold.js.map +1 -0
- package/dist/lib/work-queue/queue-format.d.ts +4 -0
- package/dist/lib/work-queue/queue-format.d.ts.map +1 -1
- package/dist/lib/work-queue/queue-format.js +15 -0
- package/dist/lib/work-queue/queue-format.js.map +1 -1
- package/dist/lib/work-queue/queue-worker.d.ts +16 -1
- package/dist/lib/work-queue/queue-worker.d.ts.map +1 -1
- package/dist/lib/work-queue/queue-worker.js +18 -0
- package/dist/lib/work-queue/queue-worker.js.map +1 -1
- package/dist/light-commands.d.ts.map +1 -1
- package/dist/light-commands.js +34 -0
- package/dist/light-commands.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils/app-source-lookups.d.ts +19 -0
- package/dist/utils/app-source-lookups.d.ts.map +1 -0
- package/dist/utils/app-source-lookups.js +19 -0
- package/dist/utils/app-source-lookups.js.map +1 -0
- package/dist/utils/open-app-context.d.ts +1 -0
- package/dist/utils/open-app-context.d.ts.map +1 -1
- package/dist/utils/open-app-context.js +13 -17
- package/dist/utils/open-app-context.js.map +1 -1
- package/oclif.manifest.json +974 -31
- package/package.json +31 -28
- package/regression-compose/docker-compose.bacpac-standalone.yml +4 -0
package/oclif.manifest.json
CHANGED
|
@@ -101,6 +101,40 @@
|
|
|
101
101
|
"init.js"
|
|
102
102
|
]
|
|
103
103
|
},
|
|
104
|
+
"agent:usage": {
|
|
105
|
+
"aliases": [],
|
|
106
|
+
"args": {},
|
|
107
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj agent` command.",
|
|
108
|
+
"flags": {
|
|
109
|
+
"format": {
|
|
110
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
111
|
+
"name": "format",
|
|
112
|
+
"hasDynamicHelp": false,
|
|
113
|
+
"multiple": false,
|
|
114
|
+
"options": [
|
|
115
|
+
"text",
|
|
116
|
+
"json",
|
|
117
|
+
"md"
|
|
118
|
+
],
|
|
119
|
+
"type": "option"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"hasDynamicHelp": false,
|
|
123
|
+
"hiddenAliases": [],
|
|
124
|
+
"id": "agent:usage",
|
|
125
|
+
"pluginAlias": "@memberjunction/cli",
|
|
126
|
+
"pluginName": "@memberjunction/cli",
|
|
127
|
+
"pluginType": "core",
|
|
128
|
+
"strict": true,
|
|
129
|
+
"enableJsonFlag": false,
|
|
130
|
+
"isESM": true,
|
|
131
|
+
"relativePath": [
|
|
132
|
+
"dist",
|
|
133
|
+
"commands",
|
|
134
|
+
"agent",
|
|
135
|
+
"usage.js"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
104
138
|
"ai": {
|
|
105
139
|
"aliases": [],
|
|
106
140
|
"args": {},
|
|
@@ -275,19 +309,20 @@
|
|
|
275
309
|
"aliases": [],
|
|
276
310
|
"args": {
|
|
277
311
|
"source": {
|
|
278
|
-
"description": "GitHub repository URL of the Open App. For a multi-app repo, append the in-repo path to the app (e.g. https://github.com/MemberJunction/Integrations/CRM/HubSpot).",
|
|
312
|
+
"description": "GitHub repository URL of the Open App, or a folder in this repository that has an mj-app.json (e.g. ./openapps/analytics). For a multi-app repo, append the in-repo path to the app (e.g. https://github.com/MemberJunction/Integrations/CRM/HubSpot).",
|
|
279
313
|
"name": "source",
|
|
280
314
|
"required": true
|
|
281
315
|
}
|
|
282
316
|
},
|
|
283
|
-
"description": "Install an MJ Open App from a GitHub repository.\n\nPrivate repositories need a GitHub credential. GitHub returns 404 (not 403) for a repo it will not show you, so without one an install fails as though the app or its version did not exist. Set GITHUB_TOKEN in the environment, or add the repo to openApps.github.tokens (or set openApps.github.token) in mj.config.cjs.",
|
|
317
|
+
"description": "Install an MJ Open App from a GitHub repository or a folder in this repository.\n\nA folder path (for example ./openapps/analytics) installs the app from that folder. The folder must be inside the repository root, its version is the version in its mj-app.json, and its npm packages must be projects in this pnpm or yarn workspace (they are added as workspace:*).\n\nPrivate repositories need a GitHub credential. GitHub returns 404 (not 403) for a repo it will not show you, so without one an install fails as though the app or its version did not exist. Set GITHUB_TOKEN in the environment, or add the repo to openApps.github.tokens (or set openApps.github.token) in mj.config.cjs.",
|
|
284
318
|
"examples": [
|
|
285
319
|
"<%= config.bin %> app install https://github.com/acme/mj-crm",
|
|
286
320
|
"<%= config.bin %> app install https://github.com/acme/mj-crm --version 1.2.0",
|
|
287
321
|
"<%= config.bin %> app install https://github.com/acme/mj-crm --verbose",
|
|
288
322
|
"<%= config.bin %> app install https://github.com/MemberJunction/Integrations/CRM/HubSpot",
|
|
289
323
|
"<%= config.bin %> app install https://github.com/acme/mj-crm --non-interactive",
|
|
290
|
-
"GITHUB_TOKEN=$(gh auth token) <%= config.bin %> app install https://github.com/acme/private-app"
|
|
324
|
+
"GITHUB_TOKEN=$(gh auth token) <%= config.bin %> app install https://github.com/acme/private-app",
|
|
325
|
+
"<%= config.bin %> app install ./openapps/analytics"
|
|
291
326
|
],
|
|
292
327
|
"flags": {
|
|
293
328
|
"version": {
|
|
@@ -374,7 +409,7 @@
|
|
|
374
409
|
"required": true
|
|
375
410
|
}
|
|
376
411
|
},
|
|
377
|
-
"description": "Remove an installed MJ Open App",
|
|
412
|
+
"description": "Remove an installed MJ Open App.\n\nAn app installed from a folder in this repository is removed with the migrations and teardown scripts in that folder, so the folder must be at the installed version, also with --keep-data. If the folder was deleted or changed, restore it from git first (for example: git checkout <commit> -- openapps/<name>), then run remove again. Nothing is changed until the folder is at the installed version.",
|
|
378
413
|
"examples": [
|
|
379
414
|
"<%= config.bin %> app remove acme-crm",
|
|
380
415
|
"<%= config.bin %> app remove acme-crm --keep-data",
|
|
@@ -442,7 +477,8 @@
|
|
|
442
477
|
"description": "Upgrade an installed MJ Open App to a newer version",
|
|
443
478
|
"examples": [
|
|
444
479
|
"<%= config.bin %> app upgrade acme-crm",
|
|
445
|
-
"<%= config.bin %> app upgrade acme-crm --version 1.3.0"
|
|
480
|
+
"<%= config.bin %> app upgrade acme-crm --version 1.3.0",
|
|
481
|
+
"<%= config.bin %> app upgrade analytics --reapply"
|
|
446
482
|
],
|
|
447
483
|
"flags": {
|
|
448
484
|
"version": {
|
|
@@ -452,6 +488,12 @@
|
|
|
452
488
|
"multiple": false,
|
|
453
489
|
"type": "option"
|
|
454
490
|
},
|
|
491
|
+
"reapply": {
|
|
492
|
+
"description": "Run the upgrade even when the app is already at the target version. Applies new migrations, packages, config and hooks from a local app folder without a version bump. A lower version is still refused.",
|
|
493
|
+
"name": "reapply",
|
|
494
|
+
"allowNo": false,
|
|
495
|
+
"type": "boolean"
|
|
496
|
+
},
|
|
455
497
|
"verbose": {
|
|
456
498
|
"char": "v",
|
|
457
499
|
"description": "Show detailed output",
|
|
@@ -1606,7 +1648,7 @@
|
|
|
1606
1648
|
"codegen": {
|
|
1607
1649
|
"aliases": [],
|
|
1608
1650
|
"args": {},
|
|
1609
|
-
"description": "Run the full MemberJunction code generation pipeline.\n\nAnalyzes your database schema, updates MemberJunction metadata, and generates\nsynchronized code across the stack: SQL objects, TypeScript entities, Angular\nforms, GraphQL resolvers, Action subclasses, and DB schema JSON.\n\nUse --skipdb to regenerate code from existing metadata only; --skipfiles to run\ndatabase-side operations only. --force-advanced-gen re-runs the LLM-driven\nadvanced generation for ALL entities (bypasses changed-entity scoping).",
|
|
1651
|
+
"description": "Run the full MemberJunction code generation pipeline.\n\nAnalyzes your database schema, updates MemberJunction metadata, and generates\nsynchronized code across the stack: SQL objects, TypeScript entities, Angular\nforms, GraphQL resolvers, Action subclasses, and DB schema JSON.\n\nUse --skipdb to regenerate code from existing metadata only; --skipfiles to run\ndatabase-side operations only. --force-advanced-gen re-runs the LLM-driven\nadvanced generation for ALL entities (bypasses changed-entity scoping).\n--all-schemas re-emits the generated files of every schema, not only schemas\nwith a new or modified entity.",
|
|
1610
1652
|
"flags": {
|
|
1611
1653
|
"format": {
|
|
1612
1654
|
"description": "Output format: text (human), json (machine-readable), md (Markdown-fenced). Defaults to text on a terminal and json when stdout is piped.",
|
|
@@ -1679,6 +1721,12 @@
|
|
|
1679
1721
|
"multiple": false,
|
|
1680
1722
|
"type": "option"
|
|
1681
1723
|
},
|
|
1724
|
+
"all-schemas": {
|
|
1725
|
+
"description": "Re-emit generated files for every schema, not only schemas with a new or modified entity. Files are still written only when their content changes. Same as fileEmit.dirtySchemaOnly: false in mj.config.cjs, for this run.",
|
|
1726
|
+
"name": "all-schemas",
|
|
1727
|
+
"allowNo": false,
|
|
1728
|
+
"type": "boolean"
|
|
1729
|
+
},
|
|
1682
1730
|
"skip-commands": {
|
|
1683
1731
|
"description": "Skip running BEFORE and AFTER shell commands configured in mj.config. Can also be set with MJ_CODEGEN_SKIP_COMMANDS=1.",
|
|
1684
1732
|
"name": "skip-commands",
|
|
@@ -1712,6 +1760,10 @@
|
|
|
1712
1760
|
{
|
|
1713
1761
|
"command": "<%= config.bin %> <%= command.id %> --format=json",
|
|
1714
1762
|
"description": "Emit a machine-readable result for an agent"
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"command": "<%= config.bin %> <%= command.id %> --all-schemas",
|
|
1766
|
+
"description": "Re-emit generated files for every schema (e.g. after rebuilding a database from migrations)"
|
|
1715
1767
|
}
|
|
1716
1768
|
],
|
|
1717
1769
|
"Usage": {
|
|
@@ -1740,6 +1792,11 @@
|
|
|
1740
1792
|
"type": "boolean",
|
|
1741
1793
|
"description": "Disable AI-driven advanced generation (same as MJ_CODEGEN_NO_AI=1)"
|
|
1742
1794
|
},
|
|
1795
|
+
{
|
|
1796
|
+
"name": "--all-schemas",
|
|
1797
|
+
"type": "boolean",
|
|
1798
|
+
"description": "Re-emit generated files for every schema (same as fileEmit.dirtySchemaOnly: false)"
|
|
1799
|
+
},
|
|
1743
1800
|
{
|
|
1744
1801
|
"name": "--skip-commands",
|
|
1745
1802
|
"type": "boolean",
|
|
@@ -1764,6 +1821,7 @@
|
|
|
1764
1821
|
"examples": [
|
|
1765
1822
|
"mj codegen",
|
|
1766
1823
|
"mj codegen --skipdb",
|
|
1824
|
+
"mj codegen --all-schemas",
|
|
1767
1825
|
"mj codegen --skip-commands",
|
|
1768
1826
|
"mj codegen --format=json"
|
|
1769
1827
|
],
|
|
@@ -1885,7 +1943,7 @@
|
|
|
1885
1943
|
"type": "boolean"
|
|
1886
1944
|
},
|
|
1887
1945
|
"open-app-client-bootstrap": {
|
|
1888
|
-
"description": "After generating the manifest, append a managed block of side-effect imports — one per Open App client package recorded in mj.config `dynamicPackages.client` — so installed apps' client classes register when the client bundle loads. Used by MJExplorer's prebuild; requires --output.",
|
|
1946
|
+
"description": "After generating the manifest, append a managed block of side-effect imports — one per Open App client package recorded in mj.config `dynamicPackages.client` — so installed apps' client classes register when the client bundle loads. Also writes public-pages.generated.ts beside the manifest, from mj.config `publicPages` (the pages installed Open Apps serve before sign-in). Used by MJExplorer's prebuild; requires --output.",
|
|
1889
1947
|
"name": "open-app-client-bootstrap",
|
|
1890
1948
|
"allowNo": false,
|
|
1891
1949
|
"type": "boolean"
|
|
@@ -2844,6 +2902,40 @@
|
|
|
2844
2902
|
"timeline.js"
|
|
2845
2903
|
]
|
|
2846
2904
|
},
|
|
2905
|
+
"diag:usage": {
|
|
2906
|
+
"aliases": [],
|
|
2907
|
+
"args": {},
|
|
2908
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj diag` command.",
|
|
2909
|
+
"flags": {
|
|
2910
|
+
"format": {
|
|
2911
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
2912
|
+
"name": "format",
|
|
2913
|
+
"hasDynamicHelp": false,
|
|
2914
|
+
"multiple": false,
|
|
2915
|
+
"options": [
|
|
2916
|
+
"text",
|
|
2917
|
+
"json",
|
|
2918
|
+
"md"
|
|
2919
|
+
],
|
|
2920
|
+
"type": "option"
|
|
2921
|
+
}
|
|
2922
|
+
},
|
|
2923
|
+
"hasDynamicHelp": false,
|
|
2924
|
+
"hiddenAliases": [],
|
|
2925
|
+
"id": "diag:usage",
|
|
2926
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2927
|
+
"pluginName": "@memberjunction/cli",
|
|
2928
|
+
"pluginType": "core",
|
|
2929
|
+
"strict": true,
|
|
2930
|
+
"enableJsonFlag": false,
|
|
2931
|
+
"isESM": true,
|
|
2932
|
+
"relativePath": [
|
|
2933
|
+
"dist",
|
|
2934
|
+
"commands",
|
|
2935
|
+
"diag",
|
|
2936
|
+
"usage.js"
|
|
2937
|
+
]
|
|
2938
|
+
},
|
|
2847
2939
|
"doctor": {
|
|
2848
2940
|
"aliases": [],
|
|
2849
2941
|
"args": {},
|
|
@@ -2855,7 +2947,8 @@
|
|
|
2855
2947
|
"<%= config.bin %> <%= command.id %> --scope ai",
|
|
2856
2948
|
"<%= config.bin %> <%= command.id %> --verbose",
|
|
2857
2949
|
"<%= config.bin %> <%= command.id %> --report",
|
|
2858
|
-
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
2950
|
+
"<%= config.bin %> <%= command.id %> --report_extended",
|
|
2951
|
+
"<%= config.bin %> <%= command.id %> --db"
|
|
2859
2952
|
],
|
|
2860
2953
|
"flags": {
|
|
2861
2954
|
"dir": {
|
|
@@ -2916,6 +3009,12 @@
|
|
|
2916
3009
|
"name": "report_extended",
|
|
2917
3010
|
"allowNo": false,
|
|
2918
3011
|
"type": "boolean"
|
|
3012
|
+
},
|
|
3013
|
+
"db": {
|
|
3014
|
+
"description": "Check database readiness for `mj migrate` instead: the connection, and on PostgreSQL the server version, group roles, extensions the pending migrations create, the login's privileges and TLS. Prints the SQL an administrator must run.",
|
|
3015
|
+
"name": "db",
|
|
3016
|
+
"allowNo": false,
|
|
3017
|
+
"type": "boolean"
|
|
2919
3018
|
}
|
|
2920
3019
|
},
|
|
2921
3020
|
"hasDynamicHelp": false,
|
|
@@ -3033,6 +3132,143 @@
|
|
|
3033
3132
|
"value-lists.js"
|
|
3034
3133
|
]
|
|
3035
3134
|
},
|
|
3135
|
+
"explorer:postbuild": {
|
|
3136
|
+
"aliases": [],
|
|
3137
|
+
"args": {},
|
|
3138
|
+
"description": "Finish MJ Explorer's build. Run it as the host's `postbuild` script.\n\nIt does every step that follows `ng build`, so a new step reaches a host with a CLI update:\n 1. Checks the service worker's cache list.\n 2. Writes one HTML file per public page (public-pages/<slug>.html) from mj.config `publicPages`,\n with the page's title, link preview tags and Content Security Policy. The web host serves the\n file for /p/<slug>. Also writes public-pages/_fallback.html, with the same policy, for the\n /p/ addresses that have no page file.\n 3. When the folder has a staticwebapp.config.json (Azure Static Web Apps), adds a rewrite for\n each page and for the fallback file to it.",
|
|
3139
|
+
"examples": [
|
|
3140
|
+
{
|
|
3141
|
+
"command": "<%= config.bin %> <%= command.id %> --dir dist/MJExplorer/browser",
|
|
3142
|
+
"description": "Finish the build in the host's folder"
|
|
3143
|
+
}
|
|
3144
|
+
],
|
|
3145
|
+
"flags": {
|
|
3146
|
+
"dir": {
|
|
3147
|
+
"description": "The site folder: MJ Explorer's build output, with its index.html.",
|
|
3148
|
+
"name": "dir",
|
|
3149
|
+
"required": true,
|
|
3150
|
+
"hasDynamicHelp": false,
|
|
3151
|
+
"multiple": false,
|
|
3152
|
+
"type": "option"
|
|
3153
|
+
},
|
|
3154
|
+
"quiet": {
|
|
3155
|
+
"char": "q",
|
|
3156
|
+
"description": "Do not print a summary.",
|
|
3157
|
+
"name": "quiet",
|
|
3158
|
+
"allowNo": false,
|
|
3159
|
+
"type": "boolean"
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
"hasDynamicHelp": false,
|
|
3163
|
+
"hiddenAliases": [],
|
|
3164
|
+
"id": "explorer:postbuild",
|
|
3165
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3166
|
+
"pluginName": "@memberjunction/cli",
|
|
3167
|
+
"pluginType": "core",
|
|
3168
|
+
"strict": true,
|
|
3169
|
+
"enableJsonFlag": false,
|
|
3170
|
+
"isESM": true,
|
|
3171
|
+
"relativePath": [
|
|
3172
|
+
"dist",
|
|
3173
|
+
"commands",
|
|
3174
|
+
"explorer",
|
|
3175
|
+
"postbuild.js"
|
|
3176
|
+
]
|
|
3177
|
+
},
|
|
3178
|
+
"explorer:usage": {
|
|
3179
|
+
"aliases": [],
|
|
3180
|
+
"args": {},
|
|
3181
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj explorer` command.",
|
|
3182
|
+
"flags": {
|
|
3183
|
+
"format": {
|
|
3184
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3185
|
+
"name": "format",
|
|
3186
|
+
"hasDynamicHelp": false,
|
|
3187
|
+
"multiple": false,
|
|
3188
|
+
"options": [
|
|
3189
|
+
"text",
|
|
3190
|
+
"json",
|
|
3191
|
+
"md"
|
|
3192
|
+
],
|
|
3193
|
+
"type": "option"
|
|
3194
|
+
}
|
|
3195
|
+
},
|
|
3196
|
+
"hasDynamicHelp": false,
|
|
3197
|
+
"hiddenAliases": [],
|
|
3198
|
+
"id": "explorer:usage",
|
|
3199
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3200
|
+
"pluginName": "@memberjunction/cli",
|
|
3201
|
+
"pluginType": "core",
|
|
3202
|
+
"strict": true,
|
|
3203
|
+
"enableJsonFlag": false,
|
|
3204
|
+
"isESM": true,
|
|
3205
|
+
"relativePath": [
|
|
3206
|
+
"dist",
|
|
3207
|
+
"commands",
|
|
3208
|
+
"explorer",
|
|
3209
|
+
"usage.js"
|
|
3210
|
+
]
|
|
3211
|
+
},
|
|
3212
|
+
"harness": {
|
|
3213
|
+
"aliases": [],
|
|
3214
|
+
"args": {},
|
|
3215
|
+
"description": "Manage external agent harness runtime settings and CLI subscription account pools",
|
|
3216
|
+
"examples": [
|
|
3217
|
+
"<%= config.bin %> <%= command.id %> account list",
|
|
3218
|
+
"<%= config.bin %> <%= command.id %> account add claude --label \"Pro #2\"",
|
|
3219
|
+
"<%= config.bin %> <%= command.id %> account set-strategy least-in-flight"
|
|
3220
|
+
],
|
|
3221
|
+
"flags": {},
|
|
3222
|
+
"hasDynamicHelp": false,
|
|
3223
|
+
"hiddenAliases": [],
|
|
3224
|
+
"id": "harness",
|
|
3225
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3226
|
+
"pluginName": "@memberjunction/cli",
|
|
3227
|
+
"pluginType": "core",
|
|
3228
|
+
"strict": true,
|
|
3229
|
+
"enableJsonFlag": false,
|
|
3230
|
+
"isESM": true,
|
|
3231
|
+
"relativePath": [
|
|
3232
|
+
"dist",
|
|
3233
|
+
"commands",
|
|
3234
|
+
"harness",
|
|
3235
|
+
"index.js"
|
|
3236
|
+
]
|
|
3237
|
+
},
|
|
3238
|
+
"harness:usage": {
|
|
3239
|
+
"aliases": [],
|
|
3240
|
+
"args": {},
|
|
3241
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj harness` command.",
|
|
3242
|
+
"flags": {
|
|
3243
|
+
"format": {
|
|
3244
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3245
|
+
"name": "format",
|
|
3246
|
+
"hasDynamicHelp": false,
|
|
3247
|
+
"multiple": false,
|
|
3248
|
+
"options": [
|
|
3249
|
+
"text",
|
|
3250
|
+
"json",
|
|
3251
|
+
"md"
|
|
3252
|
+
],
|
|
3253
|
+
"type": "option"
|
|
3254
|
+
}
|
|
3255
|
+
},
|
|
3256
|
+
"hasDynamicHelp": false,
|
|
3257
|
+
"hiddenAliases": [],
|
|
3258
|
+
"id": "harness:usage",
|
|
3259
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3260
|
+
"pluginName": "@memberjunction/cli",
|
|
3261
|
+
"pluginType": "core",
|
|
3262
|
+
"strict": true,
|
|
3263
|
+
"enableJsonFlag": false,
|
|
3264
|
+
"isESM": true,
|
|
3265
|
+
"relativePath": [
|
|
3266
|
+
"dist",
|
|
3267
|
+
"commands",
|
|
3268
|
+
"harness",
|
|
3269
|
+
"usage.js"
|
|
3270
|
+
]
|
|
3271
|
+
},
|
|
3036
3272
|
"install:claude": {
|
|
3037
3273
|
"aliases": [],
|
|
3038
3274
|
"args": {},
|
|
@@ -3372,7 +3608,7 @@
|
|
|
3372
3608
|
"type": "boolean"
|
|
3373
3609
|
},
|
|
3374
3610
|
"split": {
|
|
3375
|
-
"description": "Split-and-regenerate (the standard path): transpile only hand-written DDL via the AST dialect; CodeGen objects are regenerated by `mj codegen
|
|
3611
|
+
"description": "Split-and-regenerate (the standard path): transpile only hand-written DDL via the AST dialect; CodeGen objects are regenerated by `mj codegen`; an mj-sync log converts inline (one DO block per save); every conversion gap is surfaced and fails the run unless --allow-gaps.",
|
|
3376
3612
|
"name": "split",
|
|
3377
3613
|
"allowNo": false,
|
|
3378
3614
|
"type": "boolean"
|
|
@@ -3518,6 +3754,12 @@
|
|
|
3518
3754
|
"allowNo": false,
|
|
3519
3755
|
"type": "boolean"
|
|
3520
3756
|
},
|
|
3757
|
+
"skip-preflight": {
|
|
3758
|
+
"description": "PostgreSQL only: skip the database readiness checks (server version, group roles, extensions, privileges, TLS) that run before migrating",
|
|
3759
|
+
"name": "skip-preflight",
|
|
3760
|
+
"allowNo": false,
|
|
3761
|
+
"type": "boolean"
|
|
3762
|
+
},
|
|
3521
3763
|
"skip-cache-clear": {
|
|
3522
3764
|
"description": "Do not clear the shared Redis cache (REDIS_URL) after migrating. Also: MJ_SKIP_SHARED_CACHE_CLEAR=1",
|
|
3523
3765
|
"name": "skip-cache-clear",
|
|
@@ -3547,7 +3789,9 @@
|
|
|
3547
3789
|
"description": "Re-bake the post-baseline PG migration set with inline native CodeGen",
|
|
3548
3790
|
"examples": [
|
|
3549
3791
|
"<%= config.bin %> migrate rebake",
|
|
3550
|
-
"<%= config.bin %> migrate rebake --baseline-floor V202605291452 --dry-run"
|
|
3792
|
+
"<%= config.bin %> migrate rebake --baseline-floor V202605291452 --dry-run",
|
|
3793
|
+
"<%= config.bin %> migrate rebake --write",
|
|
3794
|
+
"<%= config.bin %> migrate rebake --file V202611031700__v0.10.x__Foo.sql --capture-only"
|
|
3551
3795
|
],
|
|
3552
3796
|
"flags": {
|
|
3553
3797
|
"source-dir": {
|
|
@@ -3594,6 +3838,25 @@
|
|
|
3594
3838
|
"name": "dry-run",
|
|
3595
3839
|
"allowNo": false,
|
|
3596
3840
|
"type": "boolean"
|
|
3841
|
+
},
|
|
3842
|
+
"file": {
|
|
3843
|
+
"description": "Re-bake one migration (filename in source-dir), whatever the baseline floor. Writes its counterpart. The committed hand region of a baked file is kept byte for byte; only the CodeGen section is replaced.",
|
|
3844
|
+
"name": "file",
|
|
3845
|
+
"hasDynamicHelp": false,
|
|
3846
|
+
"multiple": false,
|
|
3847
|
+
"type": "option"
|
|
3848
|
+
},
|
|
3849
|
+
"capture-only": {
|
|
3850
|
+
"description": "With --file: do not apply the migration; it is already applied to the working DB (a capture that failed after the apply, or a hand-finished file applied by hand). Capture its CodeGen only.",
|
|
3851
|
+
"name": "capture-only",
|
|
3852
|
+
"allowNo": false,
|
|
3853
|
+
"type": "boolean"
|
|
3854
|
+
},
|
|
3855
|
+
"write": {
|
|
3856
|
+
"description": "Without --file: write the re-baked files. Without it, a full re-bake is a dry run.",
|
|
3857
|
+
"name": "write",
|
|
3858
|
+
"allowNo": false,
|
|
3859
|
+
"type": "boolean"
|
|
3597
3860
|
}
|
|
3598
3861
|
},
|
|
3599
3862
|
"hasDynamicHelp": false,
|
|
@@ -4594,6 +4857,38 @@
|
|
|
4594
4857
|
"stats.js"
|
|
4595
4858
|
]
|
|
4596
4859
|
},
|
|
4860
|
+
"queue:sweep": {
|
|
4861
|
+
"aliases": [],
|
|
4862
|
+
"args": {},
|
|
4863
|
+
"description": "Run one sweeper pass: expire leases, purge retention and the deduplication ledger, then exit (exit code 1 when a step fails)",
|
|
4864
|
+
"examples": [
|
|
4865
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4866
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
4867
|
+
],
|
|
4868
|
+
"flags": {
|
|
4869
|
+
"json": {
|
|
4870
|
+
"description": "Print JSON instead of text",
|
|
4871
|
+
"name": "json",
|
|
4872
|
+
"allowNo": false,
|
|
4873
|
+
"type": "boolean"
|
|
4874
|
+
}
|
|
4875
|
+
},
|
|
4876
|
+
"hasDynamicHelp": false,
|
|
4877
|
+
"hiddenAliases": [],
|
|
4878
|
+
"id": "queue:sweep",
|
|
4879
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4880
|
+
"pluginName": "@memberjunction/cli",
|
|
4881
|
+
"pluginType": "core",
|
|
4882
|
+
"strict": true,
|
|
4883
|
+
"enableJsonFlag": false,
|
|
4884
|
+
"isESM": true,
|
|
4885
|
+
"relativePath": [
|
|
4886
|
+
"dist",
|
|
4887
|
+
"commands",
|
|
4888
|
+
"queue",
|
|
4889
|
+
"sweep.js"
|
|
4890
|
+
]
|
|
4891
|
+
},
|
|
4597
4892
|
"queue:usage": {
|
|
4598
4893
|
"aliases": [],
|
|
4599
4894
|
"args": {},
|
|
@@ -4740,6 +5035,20 @@
|
|
|
4740
5035
|
"hasDynamicHelp": false,
|
|
4741
5036
|
"multiple": false,
|
|
4742
5037
|
"type": "option"
|
|
5038
|
+
},
|
|
5039
|
+
"sweeper-interval-ms": {
|
|
5040
|
+
"description": "Lease expiry and retention purge interval; 0 disables. Default 60000 long-running, 0 with --once",
|
|
5041
|
+
"name": "sweeper-interval-ms",
|
|
5042
|
+
"hasDynamicHelp": false,
|
|
5043
|
+
"multiple": false,
|
|
5044
|
+
"type": "option"
|
|
5045
|
+
},
|
|
5046
|
+
"reconcile-interval-ms": {
|
|
5047
|
+
"description": "Re-planning interval; 0 plans only at start. Default 30000 long-running, 0 with --once",
|
|
5048
|
+
"name": "reconcile-interval-ms",
|
|
5049
|
+
"hasDynamicHelp": false,
|
|
5050
|
+
"multiple": false,
|
|
5051
|
+
"type": "option"
|
|
4743
5052
|
}
|
|
4744
5053
|
},
|
|
4745
5054
|
"hasDynamicHelp": false,
|
|
@@ -4943,24 +5252,58 @@
|
|
|
4943
5252
|
"show.js"
|
|
4944
5253
|
]
|
|
4945
5254
|
},
|
|
4946
|
-
"rubric:
|
|
5255
|
+
"rubric:usage": {
|
|
4947
5256
|
"aliases": [],
|
|
4948
|
-
"args": {
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
"
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
5257
|
+
"args": {},
|
|
5258
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj rubric` command.",
|
|
5259
|
+
"flags": {
|
|
5260
|
+
"format": {
|
|
5261
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
5262
|
+
"name": "format",
|
|
5263
|
+
"hasDynamicHelp": false,
|
|
5264
|
+
"multiple": false,
|
|
5265
|
+
"options": [
|
|
5266
|
+
"text",
|
|
5267
|
+
"json",
|
|
5268
|
+
"md"
|
|
5269
|
+
],
|
|
5270
|
+
"type": "option"
|
|
5271
|
+
}
|
|
5272
|
+
},
|
|
5273
|
+
"hasDynamicHelp": false,
|
|
5274
|
+
"hiddenAliases": [],
|
|
5275
|
+
"id": "rubric:usage",
|
|
5276
|
+
"pluginAlias": "@memberjunction/cli",
|
|
5277
|
+
"pluginName": "@memberjunction/cli",
|
|
5278
|
+
"pluginType": "core",
|
|
5279
|
+
"strict": true,
|
|
5280
|
+
"enableJsonFlag": false,
|
|
5281
|
+
"isESM": true,
|
|
5282
|
+
"relativePath": [
|
|
5283
|
+
"dist",
|
|
5284
|
+
"commands",
|
|
5285
|
+
"rubric",
|
|
5286
|
+
"usage.js"
|
|
5287
|
+
]
|
|
5288
|
+
},
|
|
5289
|
+
"rubric:validate": {
|
|
5290
|
+
"aliases": [],
|
|
5291
|
+
"args": {
|
|
5292
|
+
"file": {
|
|
5293
|
+
"description": "JSON snapshot file",
|
|
5294
|
+
"name": "file",
|
|
5295
|
+
"required": true
|
|
5296
|
+
}
|
|
5297
|
+
},
|
|
5298
|
+
"description": "Check a rubric snapshot file for duplicate keys, gates, weights, and scales.",
|
|
5299
|
+
"flags": {},
|
|
5300
|
+
"hasDynamicHelp": false,
|
|
5301
|
+
"hiddenAliases": [],
|
|
5302
|
+
"id": "rubric:validate",
|
|
5303
|
+
"pluginAlias": "@memberjunction/cli",
|
|
5304
|
+
"pluginName": "@memberjunction/cli",
|
|
5305
|
+
"pluginType": "core",
|
|
5306
|
+
"strict": true,
|
|
4964
5307
|
"enableJsonFlag": false,
|
|
4965
5308
|
"isESM": true,
|
|
4966
5309
|
"relativePath": [
|
|
@@ -6685,7 +7028,8 @@
|
|
|
6685
7028
|
"<%= config.bin %> <%= command.id %> --test \"T042 - Filter Grid\"",
|
|
6686
7029
|
"<%= config.bin %> <%= command.id %> --promote --test \"T042 - Filter Grid\"",
|
|
6687
7030
|
"<%= config.bin %> <%= command.id %> --promote --yes",
|
|
6688
|
-
"<%= config.bin %> <%= command.id %> --discard --test \"T042 - Filter Grid\""
|
|
7031
|
+
"<%= config.bin %> <%= command.id %> --discard --test \"T042 - Filter Grid\"",
|
|
7032
|
+
"<%= config.bin %> <%= command.id %> --format=md --output=drift.md"
|
|
6689
7033
|
],
|
|
6690
7034
|
"flags": {
|
|
6691
7035
|
"test": {
|
|
@@ -6719,6 +7063,32 @@
|
|
|
6719
7063
|
"name": "yes",
|
|
6720
7064
|
"allowNo": false,
|
|
6721
7065
|
"type": "boolean"
|
|
7066
|
+
},
|
|
7067
|
+
"format": {
|
|
7068
|
+
"char": "f",
|
|
7069
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
7070
|
+
"name": "format",
|
|
7071
|
+
"hasDynamicHelp": false,
|
|
7072
|
+
"multiple": false,
|
|
7073
|
+
"options": [
|
|
7074
|
+
"text",
|
|
7075
|
+
"json",
|
|
7076
|
+
"md",
|
|
7077
|
+
"human",
|
|
7078
|
+
"console",
|
|
7079
|
+
"markdown",
|
|
7080
|
+
"compact",
|
|
7081
|
+
"table"
|
|
7082
|
+
],
|
|
7083
|
+
"type": "option"
|
|
7084
|
+
},
|
|
7085
|
+
"output": {
|
|
7086
|
+
"char": "o",
|
|
7087
|
+
"description": "Write the pending-script report to this file",
|
|
7088
|
+
"name": "output",
|
|
7089
|
+
"hasDynamicHelp": false,
|
|
7090
|
+
"multiple": false,
|
|
7091
|
+
"type": "option"
|
|
6722
7092
|
}
|
|
6723
7093
|
},
|
|
6724
7094
|
"hasDynamicHelp": false,
|
|
@@ -6751,7 +7121,8 @@
|
|
|
6751
7121
|
"<%= config.bin %> <%= command.id %> <suite-id>",
|
|
6752
7122
|
"<%= config.bin %> <%= command.id %> --name=\"Agent Quality Suite\"",
|
|
6753
7123
|
"<%= config.bin %> <%= command.id %> <suite-id> --format=json",
|
|
6754
|
-
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json"
|
|
7124
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json",
|
|
7125
|
+
"<%= config.bin %> <%= command.id %> --name=\"MJ Explorer Regression Suite\" --test=\"T001 - Login Smoke\""
|
|
6755
7126
|
],
|
|
6756
7127
|
"flags": {
|
|
6757
7128
|
"name": {
|
|
@@ -6865,6 +7236,13 @@
|
|
|
6865
7236
|
"all"
|
|
6866
7237
|
],
|
|
6867
7238
|
"type": "option"
|
|
7239
|
+
},
|
|
7240
|
+
"test": {
|
|
7241
|
+
"description": "Run only this suite test, by exact name. Repeat the flag to run more than one.",
|
|
7242
|
+
"name": "test",
|
|
7243
|
+
"hasDynamicHelp": false,
|
|
7244
|
+
"multiple": true,
|
|
7245
|
+
"type": "option"
|
|
6868
7246
|
}
|
|
6869
7247
|
},
|
|
6870
7248
|
"hasDynamicHelp": false,
|
|
@@ -7390,6 +7768,40 @@
|
|
|
7390
7768
|
"clone.js"
|
|
7391
7769
|
]
|
|
7392
7770
|
},
|
|
7771
|
+
"user:usage": {
|
|
7772
|
+
"aliases": [],
|
|
7773
|
+
"args": {},
|
|
7774
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj user` command.",
|
|
7775
|
+
"flags": {
|
|
7776
|
+
"format": {
|
|
7777
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
7778
|
+
"name": "format",
|
|
7779
|
+
"hasDynamicHelp": false,
|
|
7780
|
+
"multiple": false,
|
|
7781
|
+
"options": [
|
|
7782
|
+
"text",
|
|
7783
|
+
"json",
|
|
7784
|
+
"md"
|
|
7785
|
+
],
|
|
7786
|
+
"type": "option"
|
|
7787
|
+
}
|
|
7788
|
+
},
|
|
7789
|
+
"hasDynamicHelp": false,
|
|
7790
|
+
"hiddenAliases": [],
|
|
7791
|
+
"id": "user:usage",
|
|
7792
|
+
"pluginAlias": "@memberjunction/cli",
|
|
7793
|
+
"pluginName": "@memberjunction/cli",
|
|
7794
|
+
"pluginType": "core",
|
|
7795
|
+
"strict": true,
|
|
7796
|
+
"enableJsonFlag": false,
|
|
7797
|
+
"isESM": true,
|
|
7798
|
+
"relativePath": [
|
|
7799
|
+
"dist",
|
|
7800
|
+
"commands",
|
|
7801
|
+
"user",
|
|
7802
|
+
"usage.js"
|
|
7803
|
+
]
|
|
7804
|
+
},
|
|
7393
7805
|
"ai:actions:list": {
|
|
7394
7806
|
"aliases": [],
|
|
7395
7807
|
"args": {},
|
|
@@ -8323,6 +8735,419 @@
|
|
|
8323
8735
|
"status.js"
|
|
8324
8736
|
]
|
|
8325
8737
|
},
|
|
8738
|
+
"harness:account:add": {
|
|
8739
|
+
"aliases": [],
|
|
8740
|
+
"args": {
|
|
8741
|
+
"vendor": {
|
|
8742
|
+
"description": "CLI vendor (claude, agy, codex, gemini; aliases: claude-code, antigravity, openai-codex, gemini-cli)",
|
|
8743
|
+
"name": "vendor",
|
|
8744
|
+
"required": true
|
|
8745
|
+
}
|
|
8746
|
+
},
|
|
8747
|
+
"description": "Enroll a new isolated CLI subscription account slot and optionally run its interactive login flow",
|
|
8748
|
+
"examples": [
|
|
8749
|
+
"<%= config.bin %> <%= command.id %> claude --label \"Pro #2\" --weight 2 --priority 50",
|
|
8750
|
+
"<%= config.bin %> <%= command.id %> agy --label \"Team Seat\"",
|
|
8751
|
+
"<%= config.bin %> <%= command.id %> codex --label \"Codex #2\" --no-login",
|
|
8752
|
+
"<%= config.bin %> <%= command.id %> gemini --label \"Gemini Alt\""
|
|
8753
|
+
],
|
|
8754
|
+
"flags": {
|
|
8755
|
+
"label": {
|
|
8756
|
+
"char": "l",
|
|
8757
|
+
"description": "Human-friendly label for this account slot",
|
|
8758
|
+
"name": "label",
|
|
8759
|
+
"hasDynamicHelp": false,
|
|
8760
|
+
"multiple": false,
|
|
8761
|
+
"type": "option"
|
|
8762
|
+
},
|
|
8763
|
+
"slot-id": {
|
|
8764
|
+
"description": "Optional explicit slot ID (auto-generated from vendor + label when omitted)",
|
|
8765
|
+
"name": "slot-id",
|
|
8766
|
+
"hasDynamicHelp": false,
|
|
8767
|
+
"multiple": false,
|
|
8768
|
+
"type": "option"
|
|
8769
|
+
},
|
|
8770
|
+
"weight": {
|
|
8771
|
+
"char": "w",
|
|
8772
|
+
"description": "Relative balancing weight (>= 1, default 1)",
|
|
8773
|
+
"name": "weight",
|
|
8774
|
+
"default": 1,
|
|
8775
|
+
"hasDynamicHelp": false,
|
|
8776
|
+
"multiple": false,
|
|
8777
|
+
"type": "option"
|
|
8778
|
+
},
|
|
8779
|
+
"priority": {
|
|
8780
|
+
"char": "p",
|
|
8781
|
+
"description": "Failover priority (lower number = higher priority, default 100)",
|
|
8782
|
+
"name": "priority",
|
|
8783
|
+
"default": 100,
|
|
8784
|
+
"hasDynamicHelp": false,
|
|
8785
|
+
"multiple": false,
|
|
8786
|
+
"type": "option"
|
|
8787
|
+
},
|
|
8788
|
+
"no-login": {
|
|
8789
|
+
"description": "Create the isolated slot directory and register it without launching interactive login",
|
|
8790
|
+
"name": "no-login",
|
|
8791
|
+
"allowNo": false,
|
|
8792
|
+
"type": "boolean"
|
|
8793
|
+
},
|
|
8794
|
+
"oauth-token": {
|
|
8795
|
+
"description": "Optional OAuth setup token value (e.g. CLAUDE_CODE_OAUTH_TOKEN) stored on the slot",
|
|
8796
|
+
"name": "oauth-token",
|
|
8797
|
+
"hasDynamicHelp": false,
|
|
8798
|
+
"multiple": false,
|
|
8799
|
+
"type": "option"
|
|
8800
|
+
},
|
|
8801
|
+
"pool-dir": {
|
|
8802
|
+
"description": "Override account pool storage directory",
|
|
8803
|
+
"name": "pool-dir",
|
|
8804
|
+
"hasDynamicHelp": false,
|
|
8805
|
+
"multiple": false,
|
|
8806
|
+
"type": "option"
|
|
8807
|
+
}
|
|
8808
|
+
},
|
|
8809
|
+
"hasDynamicHelp": false,
|
|
8810
|
+
"hiddenAliases": [],
|
|
8811
|
+
"id": "harness:account:add",
|
|
8812
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8813
|
+
"pluginName": "@memberjunction/cli",
|
|
8814
|
+
"pluginType": "core",
|
|
8815
|
+
"strict": true,
|
|
8816
|
+
"enableJsonFlag": false,
|
|
8817
|
+
"isESM": true,
|
|
8818
|
+
"relativePath": [
|
|
8819
|
+
"dist",
|
|
8820
|
+
"commands",
|
|
8821
|
+
"harness",
|
|
8822
|
+
"account",
|
|
8823
|
+
"add.js"
|
|
8824
|
+
]
|
|
8825
|
+
},
|
|
8826
|
+
"harness:account:clear-cooldown": {
|
|
8827
|
+
"aliases": [],
|
|
8828
|
+
"args": {
|
|
8829
|
+
"slotId": {
|
|
8830
|
+
"description": "Slot ID whose cooldown should be cleared",
|
|
8831
|
+
"name": "slotId",
|
|
8832
|
+
"required": true
|
|
8833
|
+
}
|
|
8834
|
+
},
|
|
8835
|
+
"description": "Clear active quota/rate-limit cooldown state on a CLI account slot",
|
|
8836
|
+
"examples": [
|
|
8837
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2",
|
|
8838
|
+
"<%= config.bin %> <%= command.id %> os-default-claude"
|
|
8839
|
+
],
|
|
8840
|
+
"flags": {
|
|
8841
|
+
"pool-dir": {
|
|
8842
|
+
"description": "Override account pool storage directory",
|
|
8843
|
+
"name": "pool-dir",
|
|
8844
|
+
"hasDynamicHelp": false,
|
|
8845
|
+
"multiple": false,
|
|
8846
|
+
"type": "option"
|
|
8847
|
+
}
|
|
8848
|
+
},
|
|
8849
|
+
"hasDynamicHelp": false,
|
|
8850
|
+
"hiddenAliases": [],
|
|
8851
|
+
"id": "harness:account:clear-cooldown",
|
|
8852
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8853
|
+
"pluginName": "@memberjunction/cli",
|
|
8854
|
+
"pluginType": "core",
|
|
8855
|
+
"strict": true,
|
|
8856
|
+
"enableJsonFlag": false,
|
|
8857
|
+
"isESM": true,
|
|
8858
|
+
"relativePath": [
|
|
8859
|
+
"dist",
|
|
8860
|
+
"commands",
|
|
8861
|
+
"harness",
|
|
8862
|
+
"account",
|
|
8863
|
+
"clear-cooldown.js"
|
|
8864
|
+
]
|
|
8865
|
+
},
|
|
8866
|
+
"harness:account:disable": {
|
|
8867
|
+
"aliases": [],
|
|
8868
|
+
"args": {
|
|
8869
|
+
"slotId": {
|
|
8870
|
+
"description": "Slot ID to disable",
|
|
8871
|
+
"name": "slotId",
|
|
8872
|
+
"required": true
|
|
8873
|
+
}
|
|
8874
|
+
},
|
|
8875
|
+
"description": "Disable a CLI subscription account slot without deleting its credentials",
|
|
8876
|
+
"examples": [
|
|
8877
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2",
|
|
8878
|
+
"<%= config.bin %> <%= command.id %> os-default-claude"
|
|
8879
|
+
],
|
|
8880
|
+
"flags": {
|
|
8881
|
+
"pool-dir": {
|
|
8882
|
+
"description": "Override account pool storage directory",
|
|
8883
|
+
"name": "pool-dir",
|
|
8884
|
+
"hasDynamicHelp": false,
|
|
8885
|
+
"multiple": false,
|
|
8886
|
+
"type": "option"
|
|
8887
|
+
}
|
|
8888
|
+
},
|
|
8889
|
+
"hasDynamicHelp": false,
|
|
8890
|
+
"hiddenAliases": [],
|
|
8891
|
+
"id": "harness:account:disable",
|
|
8892
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8893
|
+
"pluginName": "@memberjunction/cli",
|
|
8894
|
+
"pluginType": "core",
|
|
8895
|
+
"strict": true,
|
|
8896
|
+
"enableJsonFlag": false,
|
|
8897
|
+
"isESM": true,
|
|
8898
|
+
"relativePath": [
|
|
8899
|
+
"dist",
|
|
8900
|
+
"commands",
|
|
8901
|
+
"harness",
|
|
8902
|
+
"account",
|
|
8903
|
+
"disable.js"
|
|
8904
|
+
]
|
|
8905
|
+
},
|
|
8906
|
+
"harness:account:enable": {
|
|
8907
|
+
"aliases": [],
|
|
8908
|
+
"args": {
|
|
8909
|
+
"slotId": {
|
|
8910
|
+
"description": "Slot ID to enable",
|
|
8911
|
+
"name": "slotId",
|
|
8912
|
+
"required": true
|
|
8913
|
+
}
|
|
8914
|
+
},
|
|
8915
|
+
"description": "Enable a CLI subscription account slot for automatic balancing",
|
|
8916
|
+
"examples": [
|
|
8917
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2",
|
|
8918
|
+
"<%= config.bin %> <%= command.id %> os-default-claude"
|
|
8919
|
+
],
|
|
8920
|
+
"flags": {
|
|
8921
|
+
"pool-dir": {
|
|
8922
|
+
"description": "Override account pool storage directory",
|
|
8923
|
+
"name": "pool-dir",
|
|
8924
|
+
"hasDynamicHelp": false,
|
|
8925
|
+
"multiple": false,
|
|
8926
|
+
"type": "option"
|
|
8927
|
+
}
|
|
8928
|
+
},
|
|
8929
|
+
"hasDynamicHelp": false,
|
|
8930
|
+
"hiddenAliases": [],
|
|
8931
|
+
"id": "harness:account:enable",
|
|
8932
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8933
|
+
"pluginName": "@memberjunction/cli",
|
|
8934
|
+
"pluginType": "core",
|
|
8935
|
+
"strict": true,
|
|
8936
|
+
"enableJsonFlag": false,
|
|
8937
|
+
"isESM": true,
|
|
8938
|
+
"relativePath": [
|
|
8939
|
+
"dist",
|
|
8940
|
+
"commands",
|
|
8941
|
+
"harness",
|
|
8942
|
+
"account",
|
|
8943
|
+
"enable.js"
|
|
8944
|
+
]
|
|
8945
|
+
},
|
|
8946
|
+
"harness:account": {
|
|
8947
|
+
"aliases": [],
|
|
8948
|
+
"args": {},
|
|
8949
|
+
"description": "Manage multi-account CLI subscription pool slots and balancing strategy",
|
|
8950
|
+
"examples": [
|
|
8951
|
+
"<%= config.bin %> <%= command.id %> list",
|
|
8952
|
+
"<%= config.bin %> <%= command.id %> add claude --label \"Team Seat\"",
|
|
8953
|
+
"<%= config.bin %> <%= command.id %> login claude-team-seat",
|
|
8954
|
+
"<%= config.bin %> <%= command.id %> set-strategy weighted"
|
|
8955
|
+
],
|
|
8956
|
+
"flags": {},
|
|
8957
|
+
"hasDynamicHelp": false,
|
|
8958
|
+
"hiddenAliases": [],
|
|
8959
|
+
"id": "harness:account",
|
|
8960
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8961
|
+
"pluginName": "@memberjunction/cli",
|
|
8962
|
+
"pluginType": "core",
|
|
8963
|
+
"strict": true,
|
|
8964
|
+
"enableJsonFlag": false,
|
|
8965
|
+
"isESM": true,
|
|
8966
|
+
"relativePath": [
|
|
8967
|
+
"dist",
|
|
8968
|
+
"commands",
|
|
8969
|
+
"harness",
|
|
8970
|
+
"account",
|
|
8971
|
+
"index.js"
|
|
8972
|
+
]
|
|
8973
|
+
},
|
|
8974
|
+
"harness:account:list": {
|
|
8975
|
+
"aliases": [],
|
|
8976
|
+
"args": {},
|
|
8977
|
+
"description": "List enrolled and OS-default CLI subscription account slots, auth status, active leases, cooldowns, and balancing strategy",
|
|
8978
|
+
"examples": [
|
|
8979
|
+
"<%= config.bin %> <%= command.id %>",
|
|
8980
|
+
"<%= config.bin %> <%= command.id %> --vendor claude",
|
|
8981
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
8982
|
+
],
|
|
8983
|
+
"flags": {
|
|
8984
|
+
"vendor": {
|
|
8985
|
+
"char": "v",
|
|
8986
|
+
"description": "Filter by vendor (claude, agy, codex, gemini)",
|
|
8987
|
+
"name": "vendor",
|
|
8988
|
+
"hasDynamicHelp": false,
|
|
8989
|
+
"multiple": false,
|
|
8990
|
+
"type": "option"
|
|
8991
|
+
},
|
|
8992
|
+
"json": {
|
|
8993
|
+
"description": "Print machine-readable JSON instead of a table",
|
|
8994
|
+
"name": "json",
|
|
8995
|
+
"allowNo": false,
|
|
8996
|
+
"type": "boolean"
|
|
8997
|
+
},
|
|
8998
|
+
"pool-dir": {
|
|
8999
|
+
"description": "Override account pool storage directory (default: MJ_HARNESS_ACCOUNT_POOL_DIR or ~/.mj/harness-accounts)",
|
|
9000
|
+
"name": "pool-dir",
|
|
9001
|
+
"hasDynamicHelp": false,
|
|
9002
|
+
"multiple": false,
|
|
9003
|
+
"type": "option"
|
|
9004
|
+
}
|
|
9005
|
+
},
|
|
9006
|
+
"hasDynamicHelp": false,
|
|
9007
|
+
"hiddenAliases": [],
|
|
9008
|
+
"id": "harness:account:list",
|
|
9009
|
+
"pluginAlias": "@memberjunction/cli",
|
|
9010
|
+
"pluginName": "@memberjunction/cli",
|
|
9011
|
+
"pluginType": "core",
|
|
9012
|
+
"strict": true,
|
|
9013
|
+
"enableJsonFlag": false,
|
|
9014
|
+
"isESM": true,
|
|
9015
|
+
"relativePath": [
|
|
9016
|
+
"dist",
|
|
9017
|
+
"commands",
|
|
9018
|
+
"harness",
|
|
9019
|
+
"account",
|
|
9020
|
+
"list.js"
|
|
9021
|
+
]
|
|
9022
|
+
},
|
|
9023
|
+
"harness:account:login": {
|
|
9024
|
+
"aliases": [],
|
|
9025
|
+
"args": {
|
|
9026
|
+
"slotId": {
|
|
9027
|
+
"description": "Slot ID to authenticate (see `mj harness account list`)",
|
|
9028
|
+
"name": "slotId",
|
|
9029
|
+
"required": true
|
|
9030
|
+
}
|
|
9031
|
+
},
|
|
9032
|
+
"description": "Re-run interactive CLI login for an existing account slot and clear any active quota cooldown",
|
|
9033
|
+
"examples": [
|
|
9034
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2",
|
|
9035
|
+
"<%= config.bin %> <%= command.id %> os-default-agy"
|
|
9036
|
+
],
|
|
9037
|
+
"flags": {
|
|
9038
|
+
"pool-dir": {
|
|
9039
|
+
"description": "Override account pool storage directory",
|
|
9040
|
+
"name": "pool-dir",
|
|
9041
|
+
"hasDynamicHelp": false,
|
|
9042
|
+
"multiple": false,
|
|
9043
|
+
"type": "option"
|
|
9044
|
+
}
|
|
9045
|
+
},
|
|
9046
|
+
"hasDynamicHelp": false,
|
|
9047
|
+
"hiddenAliases": [],
|
|
9048
|
+
"id": "harness:account:login",
|
|
9049
|
+
"pluginAlias": "@memberjunction/cli",
|
|
9050
|
+
"pluginName": "@memberjunction/cli",
|
|
9051
|
+
"pluginType": "core",
|
|
9052
|
+
"strict": true,
|
|
9053
|
+
"enableJsonFlag": false,
|
|
9054
|
+
"isESM": true,
|
|
9055
|
+
"relativePath": [
|
|
9056
|
+
"dist",
|
|
9057
|
+
"commands",
|
|
9058
|
+
"harness",
|
|
9059
|
+
"account",
|
|
9060
|
+
"login.js"
|
|
9061
|
+
]
|
|
9062
|
+
},
|
|
9063
|
+
"harness:account:remove": {
|
|
9064
|
+
"aliases": [],
|
|
9065
|
+
"args": {
|
|
9066
|
+
"slotId": {
|
|
9067
|
+
"description": "Enrolled slot ID to remove",
|
|
9068
|
+
"name": "slotId",
|
|
9069
|
+
"required": true
|
|
9070
|
+
}
|
|
9071
|
+
},
|
|
9072
|
+
"description": "Remove an enrolled CLI subscription account slot from the pool",
|
|
9073
|
+
"examples": [
|
|
9074
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2",
|
|
9075
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2 --purge-files"
|
|
9076
|
+
],
|
|
9077
|
+
"flags": {
|
|
9078
|
+
"purge-files": {
|
|
9079
|
+
"description": "Also delete the isolated slot directory under the pool root",
|
|
9080
|
+
"name": "purge-files",
|
|
9081
|
+
"allowNo": false,
|
|
9082
|
+
"type": "boolean"
|
|
9083
|
+
},
|
|
9084
|
+
"pool-dir": {
|
|
9085
|
+
"description": "Override account pool storage directory",
|
|
9086
|
+
"name": "pool-dir",
|
|
9087
|
+
"hasDynamicHelp": false,
|
|
9088
|
+
"multiple": false,
|
|
9089
|
+
"type": "option"
|
|
9090
|
+
}
|
|
9091
|
+
},
|
|
9092
|
+
"hasDynamicHelp": false,
|
|
9093
|
+
"hiddenAliases": [],
|
|
9094
|
+
"id": "harness:account:remove",
|
|
9095
|
+
"pluginAlias": "@memberjunction/cli",
|
|
9096
|
+
"pluginName": "@memberjunction/cli",
|
|
9097
|
+
"pluginType": "core",
|
|
9098
|
+
"strict": true,
|
|
9099
|
+
"enableJsonFlag": false,
|
|
9100
|
+
"isESM": true,
|
|
9101
|
+
"relativePath": [
|
|
9102
|
+
"dist",
|
|
9103
|
+
"commands",
|
|
9104
|
+
"harness",
|
|
9105
|
+
"account",
|
|
9106
|
+
"remove.js"
|
|
9107
|
+
]
|
|
9108
|
+
},
|
|
9109
|
+
"harness:account:set-strategy": {
|
|
9110
|
+
"aliases": [],
|
|
9111
|
+
"args": {
|
|
9112
|
+
"strategy": {
|
|
9113
|
+
"description": "Selection strategy (least-in-flight, round-robin, weighted, priority-failover)",
|
|
9114
|
+
"name": "strategy",
|
|
9115
|
+
"required": true
|
|
9116
|
+
}
|
|
9117
|
+
},
|
|
9118
|
+
"description": "Set the default multi-account CLI pool balancing strategy",
|
|
9119
|
+
"examples": [
|
|
9120
|
+
"<%= config.bin %> <%= command.id %> least-in-flight",
|
|
9121
|
+
"<%= config.bin %> <%= command.id %> round-robin",
|
|
9122
|
+
"<%= config.bin %> <%= command.id %> weighted",
|
|
9123
|
+
"<%= config.bin %> <%= command.id %> priority-failover"
|
|
9124
|
+
],
|
|
9125
|
+
"flags": {
|
|
9126
|
+
"pool-dir": {
|
|
9127
|
+
"description": "Override account pool storage directory",
|
|
9128
|
+
"name": "pool-dir",
|
|
9129
|
+
"hasDynamicHelp": false,
|
|
9130
|
+
"multiple": false,
|
|
9131
|
+
"type": "option"
|
|
9132
|
+
}
|
|
9133
|
+
},
|
|
9134
|
+
"hasDynamicHelp": false,
|
|
9135
|
+
"hiddenAliases": [],
|
|
9136
|
+
"id": "harness:account:set-strategy",
|
|
9137
|
+
"pluginAlias": "@memberjunction/cli",
|
|
9138
|
+
"pluginName": "@memberjunction/cli",
|
|
9139
|
+
"pluginType": "core",
|
|
9140
|
+
"strict": true,
|
|
9141
|
+
"enableJsonFlag": false,
|
|
9142
|
+
"isESM": true,
|
|
9143
|
+
"relativePath": [
|
|
9144
|
+
"dist",
|
|
9145
|
+
"commands",
|
|
9146
|
+
"harness",
|
|
9147
|
+
"account",
|
|
9148
|
+
"set-strategy.js"
|
|
9149
|
+
]
|
|
9150
|
+
},
|
|
8326
9151
|
"test:regression:build": {
|
|
8327
9152
|
"aliases": [],
|
|
8328
9153
|
"args": {
|
|
@@ -8549,7 +9374,8 @@
|
|
|
8549
9374
|
"<%= config.bin %> <%= command.id %> compare # Diff the two most recent runs",
|
|
8550
9375
|
"<%= config.bin %> <%= command.id %> export # Export a run as a portable standalone HTML",
|
|
8551
9376
|
"<%= config.bin %> <%= command.id %> remote --target=staging-mj # Mode B/C/D against a remote URL",
|
|
8552
|
-
"<%= config.bin %> <%= command.id %> init generic-web # Scaffold one of the example dirs"
|
|
9377
|
+
"<%= config.bin %> <%= command.id %> init generic-web # Scaffold one of the example dirs",
|
|
9378
|
+
"<%= config.bin %> <%= command.id %> new --name \"...\" --goal \"...\" --criteria \"...\" --priority P1 # Add a test to the suite"
|
|
8553
9379
|
],
|
|
8554
9380
|
"flags": {},
|
|
8555
9381
|
"hasDynamicHelp": false,
|
|
@@ -8611,6 +9437,115 @@
|
|
|
8611
9437
|
"init.js"
|
|
8612
9438
|
]
|
|
8613
9439
|
},
|
|
9440
|
+
"test:regression:new": {
|
|
9441
|
+
"aliases": [],
|
|
9442
|
+
"args": {},
|
|
9443
|
+
"description": "Create a new MJ Explorer regression test and add it to the regression suite.",
|
|
9444
|
+
"examples": [
|
|
9445
|
+
"<%= config.bin %> <%= command.id %> --name \"Form builder clones a form\" --priority P1 --tags form-builder \\\n --start-path /app/form-builder --goal \"Clone Contact Form and verify the copy opens in the editor.\" \\\n --criteria \"A form named Copy of Contact Form is listed\" --criteria \"The form editor is open on the copy\"",
|
|
9446
|
+
"<%= config.bin %> <%= command.id %> --name \"...\" --goal \"...\" --criteria \"...\" --priority P2 --from T149 --dry-run"
|
|
9447
|
+
],
|
|
9448
|
+
"flags": {
|
|
9449
|
+
"name": {
|
|
9450
|
+
"description": "Test title, without the T### prefix. Must not contain \"&\".",
|
|
9451
|
+
"name": "name",
|
|
9452
|
+
"required": true,
|
|
9453
|
+
"hasDynamicHelp": false,
|
|
9454
|
+
"multiple": false,
|
|
9455
|
+
"type": "option"
|
|
9456
|
+
},
|
|
9457
|
+
"goal": {
|
|
9458
|
+
"description": "What the agent must achieve, stated as the success state.",
|
|
9459
|
+
"name": "goal",
|
|
9460
|
+
"required": true,
|
|
9461
|
+
"hasDynamicHelp": false,
|
|
9462
|
+
"multiple": false,
|
|
9463
|
+
"type": "option"
|
|
9464
|
+
},
|
|
9465
|
+
"criteria": {
|
|
9466
|
+
"description": "A judge criterion (repeat the flag for more).",
|
|
9467
|
+
"name": "criteria",
|
|
9468
|
+
"required": true,
|
|
9469
|
+
"hasDynamicHelp": false,
|
|
9470
|
+
"multiple": true,
|
|
9471
|
+
"type": "option"
|
|
9472
|
+
},
|
|
9473
|
+
"priority": {
|
|
9474
|
+
"description": "Release priority.",
|
|
9475
|
+
"name": "priority",
|
|
9476
|
+
"required": true,
|
|
9477
|
+
"hasDynamicHelp": false,
|
|
9478
|
+
"multiple": false,
|
|
9479
|
+
"options": [
|
|
9480
|
+
"P0",
|
|
9481
|
+
"P1",
|
|
9482
|
+
"P2",
|
|
9483
|
+
"P3"
|
|
9484
|
+
],
|
|
9485
|
+
"type": "option"
|
|
9486
|
+
},
|
|
9487
|
+
"tags": {
|
|
9488
|
+
"description": "Comma-separated area tags, e.g. form-builder,crud.",
|
|
9489
|
+
"name": "tags",
|
|
9490
|
+
"default": "",
|
|
9491
|
+
"hasDynamicHelp": false,
|
|
9492
|
+
"multiple": false,
|
|
9493
|
+
"type": "option"
|
|
9494
|
+
},
|
|
9495
|
+
"start-path": {
|
|
9496
|
+
"description": "Path after http://localhost:4200, e.g. /app/form-builder.",
|
|
9497
|
+
"name": "start-path",
|
|
9498
|
+
"default": "",
|
|
9499
|
+
"hasDynamicHelp": false,
|
|
9500
|
+
"multiple": false,
|
|
9501
|
+
"type": "option"
|
|
9502
|
+
},
|
|
9503
|
+
"description": {
|
|
9504
|
+
"description": "Test description. Defaults to the goal.",
|
|
9505
|
+
"name": "description",
|
|
9506
|
+
"hasDynamicHelp": false,
|
|
9507
|
+
"multiple": false,
|
|
9508
|
+
"type": "option"
|
|
9509
|
+
},
|
|
9510
|
+
"max-steps": {
|
|
9511
|
+
"description": "Controller step limit.",
|
|
9512
|
+
"name": "max-steps",
|
|
9513
|
+
"default": 25,
|
|
9514
|
+
"hasDynamicHelp": false,
|
|
9515
|
+
"multiple": false,
|
|
9516
|
+
"type": "option"
|
|
9517
|
+
},
|
|
9518
|
+
"from": {
|
|
9519
|
+
"description": "Copy Configuration from this test number, e.g. T149.",
|
|
9520
|
+
"name": "from",
|
|
9521
|
+
"hasDynamicHelp": false,
|
|
9522
|
+
"multiple": false,
|
|
9523
|
+
"type": "option"
|
|
9524
|
+
},
|
|
9525
|
+
"dry-run": {
|
|
9526
|
+
"description": "Print the files without writing them.",
|
|
9527
|
+
"name": "dry-run",
|
|
9528
|
+
"allowNo": false,
|
|
9529
|
+
"type": "boolean"
|
|
9530
|
+
}
|
|
9531
|
+
},
|
|
9532
|
+
"hasDynamicHelp": false,
|
|
9533
|
+
"hiddenAliases": [],
|
|
9534
|
+
"id": "test:regression:new",
|
|
9535
|
+
"pluginAlias": "@memberjunction/cli",
|
|
9536
|
+
"pluginName": "@memberjunction/cli",
|
|
9537
|
+
"pluginType": "core",
|
|
9538
|
+
"strict": true,
|
|
9539
|
+
"enableJsonFlag": false,
|
|
9540
|
+
"isESM": true,
|
|
9541
|
+
"relativePath": [
|
|
9542
|
+
"dist",
|
|
9543
|
+
"commands",
|
|
9544
|
+
"test",
|
|
9545
|
+
"regression",
|
|
9546
|
+
"new.js"
|
|
9547
|
+
]
|
|
9548
|
+
},
|
|
8614
9549
|
"test:regression:remote": {
|
|
8615
9550
|
"aliases": [],
|
|
8616
9551
|
"args": {},
|
|
@@ -8690,6 +9625,7 @@
|
|
|
8690
9625
|
"examples": [
|
|
8691
9626
|
"<%= config.bin %> <%= command.id %>",
|
|
8692
9627
|
"<%= config.bin %> <%= command.id %> --detach",
|
|
9628
|
+
"<%= config.bin %> <%= command.id %> --test=\"T001 - Login Smoke\" --test=\"T002 - Data Explorer Open Record\"",
|
|
8693
9629
|
"<%= config.bin %> <%= command.id %> --bacpac=./db.bacpac --suite=\"My Suite\" --metadata=./my-suite-metadata",
|
|
8694
9630
|
"<%= config.bin %> <%= command.id %> --bacpac=./db.bacpac --bacpac-no-upgrade"
|
|
8695
9631
|
],
|
|
@@ -8721,6 +9657,13 @@
|
|
|
8721
9657
|
"multiple": false,
|
|
8722
9658
|
"type": "option"
|
|
8723
9659
|
},
|
|
9660
|
+
"test": {
|
|
9661
|
+
"description": "Run only this suite test, by exact name (TEST_NAMES). Repeat the flag to run more than one. Monorepo stack only.",
|
|
9662
|
+
"name": "test",
|
|
9663
|
+
"hasDynamicHelp": false,
|
|
9664
|
+
"multiple": true,
|
|
9665
|
+
"type": "option"
|
|
9666
|
+
},
|
|
8724
9667
|
"metadata": {
|
|
8725
9668
|
"description": "Directory of your test + test-suite metadata (pushed before the run). Requires --bacpac.",
|
|
8726
9669
|
"name": "metadata",
|
|
@@ -8768,5 +9711,5 @@
|
|
|
8768
9711
|
]
|
|
8769
9712
|
}
|
|
8770
9713
|
},
|
|
8771
|
-
"version": "6.3.0-edge.
|
|
9714
|
+
"version": "6.3.0-edge.2"
|
|
8772
9715
|
}
|