@salesforce/b2c-cli 0.2.0 → 0.3.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/README.md +2 -2
- package/dist/commands/auth/token.js +2 -2
- package/dist/commands/auth/token.js.map +1 -1
- package/dist/commands/code/activate.d.ts +4 -0
- package/dist/commands/code/activate.js +2 -2
- package/dist/commands/code/activate.js.map +1 -1
- package/dist/commands/code/delete.d.ts +4 -0
- package/dist/commands/code/delete.js +2 -2
- package/dist/commands/code/delete.js.map +1 -1
- package/dist/commands/code/deploy.d.ts +4 -0
- package/dist/commands/code/deploy.js +12 -3
- package/dist/commands/code/deploy.js.map +1 -1
- package/dist/commands/code/list.js +2 -2
- package/dist/commands/code/list.js.map +1 -1
- package/dist/commands/code/watch.d.ts +4 -0
- package/dist/commands/code/watch.js +6 -3
- package/dist/commands/code/watch.js.map +1 -1
- package/dist/commands/docs/download.d.ts +5 -1
- package/dist/commands/docs/download.js +1 -1
- package/dist/commands/docs/download.js.map +1 -1
- package/dist/commands/docs/read.d.ts +1 -1
- package/dist/commands/docs/read.js +1 -1
- package/dist/commands/docs/read.js.map +1 -1
- package/dist/commands/docs/schema.d.ts +1 -1
- package/dist/commands/docs/schema.js +1 -1
- package/dist/commands/docs/schema.js.map +1 -1
- package/dist/commands/docs/search.d.ts +1 -1
- package/dist/commands/docs/search.js +1 -1
- package/dist/commands/docs/search.js.map +1 -1
- package/dist/commands/ecdn/cache/purge.js +2 -2
- package/dist/commands/ecdn/cache/purge.js.map +1 -1
- package/dist/commands/ecdn/certificates/add.js +2 -2
- package/dist/commands/ecdn/certificates/add.js.map +1 -1
- package/dist/commands/ecdn/certificates/delete.js +2 -2
- package/dist/commands/ecdn/certificates/delete.js.map +1 -1
- package/dist/commands/ecdn/certificates/list.js +2 -2
- package/dist/commands/ecdn/certificates/list.js.map +1 -1
- package/dist/commands/ecdn/certificates/update.js +2 -2
- package/dist/commands/ecdn/certificates/update.js.map +1 -1
- package/dist/commands/ecdn/certificates/validate.js +2 -2
- package/dist/commands/ecdn/certificates/validate.js.map +1 -1
- package/dist/commands/ecdn/cipher-suites/get.js +2 -2
- package/dist/commands/ecdn/cipher-suites/get.js.map +1 -1
- package/dist/commands/ecdn/cipher-suites/update.js +2 -2
- package/dist/commands/ecdn/cipher-suites/update.js.map +1 -1
- package/dist/commands/ecdn/logpush/jobs/create.js +2 -2
- package/dist/commands/ecdn/logpush/jobs/create.js.map +1 -1
- package/dist/commands/ecdn/logpush/jobs/delete.js +2 -2
- package/dist/commands/ecdn/logpush/jobs/delete.js.map +1 -1
- package/dist/commands/ecdn/logpush/jobs/get.js +2 -2
- package/dist/commands/ecdn/logpush/jobs/get.js.map +1 -1
- package/dist/commands/ecdn/logpush/jobs/list.js +2 -2
- package/dist/commands/ecdn/logpush/jobs/list.js.map +1 -1
- package/dist/commands/ecdn/logpush/jobs/update.js +2 -2
- package/dist/commands/ecdn/logpush/jobs/update.js.map +1 -1
- package/dist/commands/ecdn/logpush/ownership.js +2 -2
- package/dist/commands/ecdn/logpush/ownership.js.map +1 -1
- package/dist/commands/ecdn/mrt-rules/create.js +2 -2
- package/dist/commands/ecdn/mrt-rules/create.js.map +1 -1
- package/dist/commands/ecdn/mrt-rules/delete.js +2 -2
- package/dist/commands/ecdn/mrt-rules/delete.js.map +1 -1
- package/dist/commands/ecdn/mrt-rules/get.js +2 -2
- package/dist/commands/ecdn/mrt-rules/get.js.map +1 -1
- package/dist/commands/ecdn/mrt-rules/rules/delete.js +2 -2
- package/dist/commands/ecdn/mrt-rules/rules/delete.js.map +1 -1
- package/dist/commands/ecdn/mrt-rules/rules/update.js +2 -2
- package/dist/commands/ecdn/mrt-rules/rules/update.js.map +1 -1
- package/dist/commands/ecdn/mrt-rules/update.js +2 -2
- package/dist/commands/ecdn/mrt-rules/update.js.map +1 -1
- package/dist/commands/ecdn/mtls/create.js +2 -2
- package/dist/commands/ecdn/mtls/create.js.map +1 -1
- package/dist/commands/ecdn/mtls/delete.js +2 -2
- package/dist/commands/ecdn/mtls/delete.js.map +1 -1
- package/dist/commands/ecdn/mtls/get.js +2 -2
- package/dist/commands/ecdn/mtls/get.js.map +1 -1
- package/dist/commands/ecdn/mtls/list.js +2 -2
- package/dist/commands/ecdn/mtls/list.js.map +1 -1
- package/dist/commands/ecdn/origin-headers/delete.js +2 -2
- package/dist/commands/ecdn/origin-headers/delete.js.map +1 -1
- package/dist/commands/ecdn/origin-headers/get.js +2 -2
- package/dist/commands/ecdn/origin-headers/get.js.map +1 -1
- package/dist/commands/ecdn/origin-headers/set.js +2 -2
- package/dist/commands/ecdn/origin-headers/set.js.map +1 -1
- package/dist/commands/ecdn/page-shield/notifications/create.js +2 -2
- package/dist/commands/ecdn/page-shield/notifications/create.js.map +1 -1
- package/dist/commands/ecdn/page-shield/notifications/delete.js +2 -2
- package/dist/commands/ecdn/page-shield/notifications/delete.js.map +1 -1
- package/dist/commands/ecdn/page-shield/notifications/list.js +2 -2
- package/dist/commands/ecdn/page-shield/notifications/list.js.map +1 -1
- package/dist/commands/ecdn/page-shield/policies/create.js +2 -2
- package/dist/commands/ecdn/page-shield/policies/create.js.map +1 -1
- package/dist/commands/ecdn/page-shield/policies/delete.js +2 -2
- package/dist/commands/ecdn/page-shield/policies/delete.js.map +1 -1
- package/dist/commands/ecdn/page-shield/policies/get.js +2 -2
- package/dist/commands/ecdn/page-shield/policies/get.js.map +1 -1
- package/dist/commands/ecdn/page-shield/policies/list.js +2 -2
- package/dist/commands/ecdn/page-shield/policies/list.js.map +1 -1
- package/dist/commands/ecdn/page-shield/policies/update.js +2 -2
- package/dist/commands/ecdn/page-shield/policies/update.js.map +1 -1
- package/dist/commands/ecdn/page-shield/scripts/get.js +2 -2
- package/dist/commands/ecdn/page-shield/scripts/get.js.map +1 -1
- package/dist/commands/ecdn/page-shield/scripts/list.js +2 -2
- package/dist/commands/ecdn/page-shield/scripts/list.js.map +1 -1
- package/dist/commands/ecdn/security/get.js +2 -2
- package/dist/commands/ecdn/security/get.js.map +1 -1
- package/dist/commands/ecdn/security/update.js +2 -2
- package/dist/commands/ecdn/security/update.js.map +1 -1
- package/dist/commands/ecdn/speed/get.js +2 -2
- package/dist/commands/ecdn/speed/get.js.map +1 -1
- package/dist/commands/ecdn/speed/update.js +2 -2
- package/dist/commands/ecdn/speed/update.js.map +1 -1
- package/dist/commands/ecdn/waf/groups/list.js +2 -2
- package/dist/commands/ecdn/waf/groups/list.js.map +1 -1
- package/dist/commands/ecdn/waf/groups/update.js +2 -2
- package/dist/commands/ecdn/waf/groups/update.js.map +1 -1
- package/dist/commands/ecdn/waf/managed-rules/list.js +2 -2
- package/dist/commands/ecdn/waf/managed-rules/list.js.map +1 -1
- package/dist/commands/ecdn/waf/managed-rules/update.js +2 -2
- package/dist/commands/ecdn/waf/managed-rules/update.js.map +1 -1
- package/dist/commands/ecdn/waf/migrate.js +2 -2
- package/dist/commands/ecdn/waf/migrate.js.map +1 -1
- package/dist/commands/ecdn/waf/owasp/get.js +2 -2
- package/dist/commands/ecdn/waf/owasp/get.js.map +1 -1
- package/dist/commands/ecdn/waf/owasp/update.js +2 -2
- package/dist/commands/ecdn/waf/owasp/update.js.map +1 -1
- package/dist/commands/ecdn/waf/rules/get.js +2 -2
- package/dist/commands/ecdn/waf/rules/get.js.map +1 -1
- package/dist/commands/ecdn/waf/rules/list.js +2 -2
- package/dist/commands/ecdn/waf/rules/list.js.map +1 -1
- package/dist/commands/ecdn/waf/rules/update.js +2 -2
- package/dist/commands/ecdn/waf/rules/update.js.map +1 -1
- package/dist/commands/ecdn/waf/rulesets/list.js +2 -2
- package/dist/commands/ecdn/waf/rulesets/list.js.map +1 -1
- package/dist/commands/ecdn/waf/rulesets/update.js +2 -2
- package/dist/commands/ecdn/waf/rulesets/update.js.map +1 -1
- package/dist/commands/ecdn/zones/create.js +2 -2
- package/dist/commands/ecdn/zones/create.js.map +1 -1
- package/dist/commands/ecdn/zones/list.js +2 -2
- package/dist/commands/ecdn/zones/list.js.map +1 -1
- package/dist/commands/job/export.d.ts +4 -0
- package/dist/commands/job/export.js +2 -2
- package/dist/commands/job/export.js.map +1 -1
- package/dist/commands/job/import.d.ts +4 -0
- package/dist/commands/job/import.js +2 -2
- package/dist/commands/job/import.js.map +1 -1
- package/dist/commands/job/run.d.ts +4 -0
- package/dist/commands/job/run.js +2 -2
- package/dist/commands/job/run.js.map +1 -1
- package/dist/commands/job/search.d.ts +4 -0
- package/dist/commands/job/search.js +2 -2
- package/dist/commands/job/search.js.map +1 -1
- package/dist/commands/job/wait.d.ts +4 -0
- package/dist/commands/job/wait.js +2 -2
- package/dist/commands/job/wait.js.map +1 -1
- package/dist/commands/logs/get.d.ts +49 -0
- package/dist/commands/logs/get.js +122 -0
- package/dist/commands/logs/get.js.map +1 -0
- package/dist/commands/logs/list.d.ts +44 -0
- package/dist/commands/logs/list.js +94 -0
- package/dist/commands/logs/list.js.map +1 -0
- package/dist/commands/logs/tail.d.ts +43 -0
- package/dist/commands/logs/tail.js +138 -0
- package/dist/commands/logs/tail.js.map +1 -0
- package/dist/commands/mrt/bundle/deploy.js +2 -2
- package/dist/commands/mrt/bundle/deploy.js.map +1 -1
- package/dist/commands/mrt/bundle/download.js +2 -2
- package/dist/commands/mrt/bundle/download.js.map +1 -1
- package/dist/commands/mrt/bundle/history.js +2 -2
- package/dist/commands/mrt/bundle/history.js.map +1 -1
- package/dist/commands/mrt/bundle/list.js +2 -2
- package/dist/commands/mrt/bundle/list.js.map +1 -1
- package/dist/commands/mrt/env/access-control/list.js +2 -2
- package/dist/commands/mrt/env/access-control/list.js.map +1 -1
- package/dist/commands/mrt/env/b2c.js +2 -2
- package/dist/commands/mrt/env/b2c.js.map +1 -1
- package/dist/commands/mrt/env/create.js +2 -2
- package/dist/commands/mrt/env/create.js.map +1 -1
- package/dist/commands/mrt/env/delete.js +2 -2
- package/dist/commands/mrt/env/delete.js.map +1 -1
- package/dist/commands/mrt/env/get.js +2 -2
- package/dist/commands/mrt/env/get.js.map +1 -1
- package/dist/commands/mrt/env/invalidate.js +2 -2
- package/dist/commands/mrt/env/invalidate.js.map +1 -1
- package/dist/commands/mrt/env/list.js +2 -2
- package/dist/commands/mrt/env/list.js.map +1 -1
- package/dist/commands/mrt/env/redirect/clone.js +2 -2
- package/dist/commands/mrt/env/redirect/clone.js.map +1 -1
- package/dist/commands/mrt/env/redirect/create.js +2 -2
- package/dist/commands/mrt/env/redirect/create.js.map +1 -1
- package/dist/commands/mrt/env/redirect/delete.js +2 -2
- package/dist/commands/mrt/env/redirect/delete.js.map +1 -1
- package/dist/commands/mrt/env/redirect/list.js +2 -2
- package/dist/commands/mrt/env/redirect/list.js.map +1 -1
- package/dist/commands/mrt/env/update.js +2 -2
- package/dist/commands/mrt/env/update.js.map +1 -1
- package/dist/commands/mrt/env/var/delete.js +2 -2
- package/dist/commands/mrt/env/var/delete.js.map +1 -1
- package/dist/commands/mrt/env/var/list.js +2 -2
- package/dist/commands/mrt/env/var/list.js.map +1 -1
- package/dist/commands/mrt/env/var/set.js +2 -2
- package/dist/commands/mrt/env/var/set.js.map +1 -1
- package/dist/commands/mrt/org/b2c.js +2 -2
- package/dist/commands/mrt/org/b2c.js.map +1 -1
- package/dist/commands/mrt/org/list.js +2 -2
- package/dist/commands/mrt/org/list.js.map +1 -1
- package/dist/commands/mrt/project/create.js +2 -2
- package/dist/commands/mrt/project/create.js.map +1 -1
- package/dist/commands/mrt/project/delete.js +2 -2
- package/dist/commands/mrt/project/delete.js.map +1 -1
- package/dist/commands/mrt/project/get.js +2 -2
- package/dist/commands/mrt/project/get.js.map +1 -1
- package/dist/commands/mrt/project/list.js +2 -2
- package/dist/commands/mrt/project/list.js.map +1 -1
- package/dist/commands/mrt/project/member/add.js +2 -2
- package/dist/commands/mrt/project/member/add.js.map +1 -1
- package/dist/commands/mrt/project/member/get.js +2 -2
- package/dist/commands/mrt/project/member/get.js.map +1 -1
- package/dist/commands/mrt/project/member/list.js +2 -2
- package/dist/commands/mrt/project/member/list.js.map +1 -1
- package/dist/commands/mrt/project/member/remove.js +2 -2
- package/dist/commands/mrt/project/member/remove.js.map +1 -1
- package/dist/commands/mrt/project/member/update.js +2 -2
- package/dist/commands/mrt/project/member/update.js.map +1 -1
- package/dist/commands/mrt/project/notification/create.js +2 -2
- package/dist/commands/mrt/project/notification/create.js.map +1 -1
- package/dist/commands/mrt/project/notification/delete.js +2 -2
- package/dist/commands/mrt/project/notification/delete.js.map +1 -1
- package/dist/commands/mrt/project/notification/get.js +2 -2
- package/dist/commands/mrt/project/notification/get.js.map +1 -1
- package/dist/commands/mrt/project/notification/list.js +2 -2
- package/dist/commands/mrt/project/notification/list.js.map +1 -1
- package/dist/commands/mrt/project/notification/update.js +2 -2
- package/dist/commands/mrt/project/notification/update.js.map +1 -1
- package/dist/commands/mrt/project/update.js +2 -2
- package/dist/commands/mrt/project/update.js.map +1 -1
- package/dist/commands/mrt/user/api-key.js +2 -2
- package/dist/commands/mrt/user/api-key.js.map +1 -1
- package/dist/commands/mrt/user/email-prefs.js +2 -2
- package/dist/commands/mrt/user/email-prefs.js.map +1 -1
- package/dist/commands/mrt/user/profile.js +2 -2
- package/dist/commands/mrt/user/profile.js.map +1 -1
- package/dist/commands/ods/create.js +2 -2
- package/dist/commands/ods/create.js.map +1 -1
- package/dist/commands/ods/delete.js +6 -5
- package/dist/commands/ods/delete.js.map +1 -1
- package/dist/commands/ods/get.js +6 -5
- package/dist/commands/ods/get.js.map +1 -1
- package/dist/commands/ods/info.js +2 -2
- package/dist/commands/ods/info.js.map +1 -1
- package/dist/commands/ods/list.js +2 -2
- package/dist/commands/ods/list.js.map +1 -1
- package/dist/commands/ods/restart.js +6 -5
- package/dist/commands/ods/restart.js.map +1 -1
- package/dist/commands/ods/start.js +6 -5
- package/dist/commands/ods/start.js.map +1 -1
- package/dist/commands/ods/stop.js +6 -5
- package/dist/commands/ods/stop.js.map +1 -1
- package/dist/commands/scapi/custom/status.d.ts +1 -20
- package/dist/commands/scapi/custom/status.js +4 -11
- package/dist/commands/scapi/custom/status.js.map +1 -1
- package/dist/commands/scapi/schemas/get.js +13 -13
- package/dist/commands/scapi/schemas/get.js.map +1 -1
- package/dist/commands/scapi/schemas/list.js +6 -6
- package/dist/commands/scapi/schemas/list.js.map +1 -1
- package/dist/commands/setup/config.js +2 -1
- package/dist/commands/setup/config.js.map +1 -1
- package/dist/commands/setup/skills.js +2 -2
- package/dist/commands/setup/skills.js.map +1 -1
- package/dist/commands/sites/list.js +2 -2
- package/dist/commands/sites/list.js.map +1 -1
- package/dist/commands/slas/client/create.js +2 -2
- package/dist/commands/slas/client/create.js.map +1 -1
- package/dist/commands/slas/client/delete.js +2 -2
- package/dist/commands/slas/client/delete.js.map +1 -1
- package/dist/commands/slas/client/get.js +2 -2
- package/dist/commands/slas/client/get.js.map +1 -1
- package/dist/commands/slas/client/list.js +2 -2
- package/dist/commands/slas/client/list.js.map +1 -1
- package/dist/commands/slas/client/open.js +2 -2
- package/dist/commands/slas/client/open.js.map +1 -1
- package/dist/commands/slas/client/update.js +2 -2
- package/dist/commands/slas/client/update.js.map +1 -1
- package/dist/commands/webdav/get.d.ts +4 -0
- package/dist/commands/webdav/get.js +2 -2
- package/dist/commands/webdav/get.js.map +1 -1
- package/dist/commands/webdav/ls.js +2 -2
- package/dist/commands/webdav/ls.js.map +1 -1
- package/dist/commands/webdav/mkdir.js +2 -2
- package/dist/commands/webdav/mkdir.js.map +1 -1
- package/dist/commands/webdav/put.js +2 -2
- package/dist/commands/webdav/put.js.map +1 -1
- package/dist/commands/webdav/rm.d.ts +4 -0
- package/dist/commands/webdav/rm.js +2 -2
- package/dist/commands/webdav/rm.js.map +1 -1
- package/dist/commands/webdav/unzip.js +2 -2
- package/dist/commands/webdav/unzip.js.map +1 -1
- package/dist/commands/webdav/zip.js +2 -2
- package/dist/commands/webdav/zip.js.map +1 -1
- package/dist/i18n/index.d.ts +12 -0
- package/dist/i18n/index.js +16 -0
- package/dist/i18n/index.js.map +1 -1
- package/dist/utils/logs/filter.d.ts +40 -0
- package/dist/utils/logs/filter.js +112 -0
- package/dist/utils/logs/filter.js.map +1 -0
- package/dist/utils/logs/format.d.ts +18 -0
- package/dist/utils/logs/format.js +74 -0
- package/dist/utils/logs/format.js.map +1 -0
- package/dist/utils/logs/index.d.ts +2 -0
- package/dist/utils/logs/index.js +8 -0
- package/dist/utils/logs/index.js.map +1 -0
- package/dist/utils/slas/client.d.ts +0 -5
- package/dist/utils/slas/client.js +0 -11
- package/dist/utils/slas/client.js.map +1 -1
- package/oclif.manifest.json +2002 -357
- package/package.json +60 -50
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/b2c-cli",
|
|
3
3
|
"description": "A Salesforce Commerce Cloud B2C CLI",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"author": "Charles Lavery",
|
|
6
6
|
"bin": {
|
|
7
7
|
"b2c": "./bin/run.js"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"marked": "^15.0.0",
|
|
24
24
|
"marked-terminal": "^7.3.0",
|
|
25
25
|
"open": "^11.0.0",
|
|
26
|
-
"@salesforce/b2c-tooling-sdk": "0.
|
|
26
|
+
"@salesforce/b2c-tooling-sdk": "0.3.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@eslint/compat": "^1",
|
|
@@ -87,64 +87,64 @@
|
|
|
87
87
|
"topicSeparator": " ",
|
|
88
88
|
"topics": {
|
|
89
89
|
"auth": {
|
|
90
|
-
"description": "Manage authentication credentials and tokens"
|
|
90
|
+
"description": "Manage authentication credentials and tokens\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/auth.html"
|
|
91
91
|
},
|
|
92
92
|
"code": {
|
|
93
|
-
"description": "Deploy and manage code versions on instances"
|
|
93
|
+
"description": "Deploy and manage code versions on instances\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html"
|
|
94
94
|
},
|
|
95
95
|
"docs": {
|
|
96
96
|
"description": "Search and read Script API documentation"
|
|
97
97
|
},
|
|
98
98
|
"job": {
|
|
99
|
-
"description": "Run jobs and import/export site archives"
|
|
99
|
+
"description": "Run jobs and import/export site archives\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html"
|
|
100
100
|
},
|
|
101
101
|
"webdav": {
|
|
102
|
-
"description": "WebDAV file operations (ls, get, put, rm, zip, unzip)"
|
|
102
|
+
"description": "WebDAV file operations (ls, get, put, rm, zip, unzip)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html"
|
|
103
103
|
},
|
|
104
104
|
"mrt": {
|
|
105
|
-
"description": "Manage Managed Runtime (MRT) projects, environments, bundles, and deployments"
|
|
105
|
+
"description": "Manage Managed Runtime (MRT) projects, environments, bundles, and deployments\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html"
|
|
106
106
|
},
|
|
107
107
|
"mrt:env": {
|
|
108
|
-
"description": "Create, update, delete, and configure MRT environments (targets)"
|
|
108
|
+
"description": "Create, update, delete, and configure MRT environments (targets)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#environment-commands"
|
|
109
109
|
},
|
|
110
110
|
"mrt:env:var": {
|
|
111
|
-
"description": "Set and delete environment variables for MRT environments"
|
|
111
|
+
"description": "Set and delete environment variables for MRT environments\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#environment-variable-commands"
|
|
112
112
|
},
|
|
113
113
|
"mrt:env:redirect": {
|
|
114
|
-
"description": "Configure URL redirects and clone redirect rules between environments"
|
|
114
|
+
"description": "Configure URL redirects and clone redirect rules between environments\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#url-redirect-commands"
|
|
115
115
|
},
|
|
116
116
|
"mrt:org": {
|
|
117
|
-
"description": "List organizations and view B2C Commerce instance connections"
|
|
117
|
+
"description": "List organizations and view B2C Commerce instance connections\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#organization-commands"
|
|
118
118
|
},
|
|
119
119
|
"mrt:project": {
|
|
120
|
-
"description": "Create, update, delete, and configure MRT projects"
|
|
120
|
+
"description": "Create, update, delete, and configure MRT projects\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#project-commands"
|
|
121
121
|
},
|
|
122
122
|
"mrt:project:member": {
|
|
123
|
-
"description": "Add, remove, and update project member roles and permissions"
|
|
123
|
+
"description": "Add, remove, and update project member roles and permissions\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#project-member-commands"
|
|
124
124
|
},
|
|
125
125
|
"mrt:project:notification": {
|
|
126
|
-
"description": "Configure email notifications for deployment events (start, success, failure)"
|
|
126
|
+
"description": "Configure email notifications for deployment events (start, success, failure)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#project-notification-commands"
|
|
127
127
|
},
|
|
128
128
|
"mrt:env:access-control": {
|
|
129
|
-
"description": "Configure access control headers for environment security"
|
|
129
|
+
"description": "Configure access control headers for environment security\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#access-control-commands"
|
|
130
130
|
},
|
|
131
131
|
"mrt:bundle": {
|
|
132
|
-
"description": "Push builds, deploy bundles, view deployment history, and download artifacts"
|
|
132
|
+
"description": "Push builds, deploy bundles, view deployment history, and download artifacts\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#bundle-commands"
|
|
133
133
|
},
|
|
134
134
|
"mrt:user": {
|
|
135
|
-
"description": "View profile, reset API keys, and configure email preferences"
|
|
135
|
+
"description": "View profile, reset API keys, and configure email preferences\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#user-commands"
|
|
136
136
|
},
|
|
137
137
|
"ods": {
|
|
138
|
-
"description": "Manage On-Demand Sandboxes"
|
|
138
|
+
"description": "Manage On-Demand Sandboxes\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ods.html"
|
|
139
139
|
},
|
|
140
140
|
"sites": {
|
|
141
|
-
"description": "List and inspect storefront sites"
|
|
141
|
+
"description": "List and inspect storefront sites\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/sites.html"
|
|
142
142
|
},
|
|
143
143
|
"slas": {
|
|
144
|
-
"description": "Manage SLAS API clients and credentials",
|
|
144
|
+
"description": "Manage SLAS API clients and credentials\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html",
|
|
145
145
|
"subtopics": {
|
|
146
146
|
"client": {
|
|
147
|
-
"description": "Manage SLAS client configurations"
|
|
147
|
+
"description": "Manage SLAS client configurations\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html"
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
},
|
|
@@ -152,100 +152,100 @@
|
|
|
152
152
|
"description": "Manage Salesforce Commerce APIs (SCAPI)",
|
|
153
153
|
"subtopics": {
|
|
154
154
|
"custom": {
|
|
155
|
-
"description": "Manage Custom API endpoints"
|
|
155
|
+
"description": "Manage Custom API endpoints\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/custom-apis.html"
|
|
156
156
|
},
|
|
157
157
|
"schemas": {
|
|
158
|
-
"description": "Browse and retrieve SCAPI schema specifications"
|
|
158
|
+
"description": "Browse and retrieve SCAPI schema specifications\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/scapi-schemas.html"
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
"ecdn": {
|
|
163
|
-
"description": "Manage eCDN zones, certificates, WAF, and security settings",
|
|
163
|
+
"description": "Manage eCDN zones, certificates, WAF, and security settings\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html",
|
|
164
164
|
"subtopics": {
|
|
165
165
|
"zones": {
|
|
166
|
-
"description": "List and create CDN zones"
|
|
166
|
+
"description": "List and create CDN zones\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
167
167
|
},
|
|
168
168
|
"cache": {
|
|
169
|
-
"description": "Manage CDN cache operations"
|
|
169
|
+
"description": "Manage CDN cache operations\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
170
170
|
},
|
|
171
171
|
"certificates": {
|
|
172
|
-
"description": "Manage SSL certificates"
|
|
172
|
+
"description": "Manage SSL certificates\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
173
173
|
},
|
|
174
174
|
"security": {
|
|
175
|
-
"description": "Manage security settings"
|
|
175
|
+
"description": "Manage security settings\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
176
176
|
},
|
|
177
177
|
"speed": {
|
|
178
|
-
"description": "Manage speed optimization settings"
|
|
178
|
+
"description": "Manage speed optimization settings\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
179
179
|
},
|
|
180
180
|
"waf": {
|
|
181
|
-
"description": "Manage Web Application Firewall",
|
|
181
|
+
"description": "Manage Web Application Firewall\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html",
|
|
182
182
|
"subtopics": {
|
|
183
183
|
"groups": {
|
|
184
|
-
"description": "WAF v1 rule groups"
|
|
184
|
+
"description": "WAF v1 rule groups\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
185
185
|
},
|
|
186
186
|
"rules": {
|
|
187
|
-
"description": "WAF v1 rules"
|
|
187
|
+
"description": "WAF v1 rules\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
188
188
|
},
|
|
189
189
|
"rulesets": {
|
|
190
|
-
"description": "WAF v2 rulesets"
|
|
190
|
+
"description": "WAF v2 rulesets\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
191
191
|
},
|
|
192
192
|
"managed-rules": {
|
|
193
|
-
"description": "WAF v2 managed rules"
|
|
193
|
+
"description": "WAF v2 managed rules\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
194
194
|
},
|
|
195
195
|
"owasp": {
|
|
196
|
-
"description": "OWASP ModSecurity package"
|
|
196
|
+
"description": "OWASP ModSecurity package\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
"firewall": {
|
|
201
|
-
"description": "Manage custom firewall rules"
|
|
201
|
+
"description": "Manage custom firewall rules\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
202
202
|
},
|
|
203
203
|
"rate-limit": {
|
|
204
|
-
"description": "Manage rate limiting rules"
|
|
204
|
+
"description": "Manage rate limiting rules\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
205
205
|
},
|
|
206
206
|
"logpush": {
|
|
207
|
-
"description": "Manage log export configuration",
|
|
207
|
+
"description": "Manage log export configuration\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html",
|
|
208
208
|
"subtopics": {
|
|
209
209
|
"jobs": {
|
|
210
|
-
"description": "Logpush job management"
|
|
210
|
+
"description": "Logpush job management\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
214
|
"page-shield": {
|
|
215
|
-
"description": "Manage Page Shield security",
|
|
215
|
+
"description": "Manage Page Shield security\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html",
|
|
216
216
|
"subtopics": {
|
|
217
217
|
"notifications": {
|
|
218
|
-
"description": "Page Shield notification webhooks"
|
|
218
|
+
"description": "Page Shield notification webhooks\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
219
219
|
},
|
|
220
220
|
"policies": {
|
|
221
|
-
"description": "Content Security Policy rules"
|
|
221
|
+
"description": "Content Security Policy rules\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
222
222
|
},
|
|
223
223
|
"scripts": {
|
|
224
|
-
"description": "Detected script monitoring"
|
|
224
|
+
"description": "Detected script monitoring\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
"mrt-rules": {
|
|
229
|
-
"description": "Manage MRT routing rules",
|
|
229
|
+
"description": "Manage MRT routing rules\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html",
|
|
230
230
|
"subtopics": {
|
|
231
231
|
"rules": {
|
|
232
|
-
"description": "Individual MRT rules"
|
|
232
|
+
"description": "Individual MRT rules\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
},
|
|
236
236
|
"mtls": {
|
|
237
|
-
"description": "Manage mTLS certificates"
|
|
237
|
+
"description": "Manage mTLS certificates\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
238
238
|
},
|
|
239
239
|
"cipher-suites": {
|
|
240
|
-
"description": "Manage TLS cipher configuration"
|
|
240
|
+
"description": "Manage TLS cipher configuration\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
241
241
|
},
|
|
242
242
|
"origin-headers": {
|
|
243
|
-
"description": "Manage origin header modifications"
|
|
243
|
+
"description": "Manage origin header modifications\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html"
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
},
|
|
247
247
|
"setup": {
|
|
248
|
-
"description": "Setup commands for development environment"
|
|
248
|
+
"description": "Setup commands for development environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html"
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
},
|
|
@@ -254,6 +254,8 @@
|
|
|
254
254
|
"scripts": {
|
|
255
255
|
"build": "shx rm -rf dist && tsc -p tsconfig.build.json",
|
|
256
256
|
"lint": "eslint",
|
|
257
|
+
"lint:agent": "eslint --quiet",
|
|
258
|
+
"typecheck:agent": "tsc --noEmit --pretty false",
|
|
257
259
|
"format": "prettier --write src",
|
|
258
260
|
"format:check": "prettier --check src",
|
|
259
261
|
"posttest": "pnpm run lint",
|
|
@@ -261,7 +263,15 @@
|
|
|
261
263
|
"test": "c8 env OCLIF_TEST_ROOT=. mocha --forbid-only --exclude \"test/functional/e2e/**\" \"test/**/*.test.ts\"",
|
|
262
264
|
"test:ci": "c8 env OCLIF_TEST_ROOT=. mocha --forbid-only --exclude \"test/functional/e2e/**\" --reporter json --reporter-option output=test-results.json \"test/**/*.test.ts\"",
|
|
263
265
|
"test:unit": "env OCLIF_TEST_ROOT=. mocha --forbid-only --exclude \"test/functional/e2e/**\" \"test/**/*.test.ts\"",
|
|
264
|
-
"test:
|
|
266
|
+
"test:agent": "env OCLIF_TEST_ROOT=. mocha --forbid-only --reporter min --exclude \"test/functional/e2e/**\" \"test/**/*.test.ts\"",
|
|
267
|
+
"test:e2e": "env TEST_USE_SHARED_SANDBOX=true OCLIF_TEST_ROOT=. mocha --forbid-only --config test/functional/e2e/.mocharc.json \"test/functional/e2e/**/*.test.ts\"",
|
|
268
|
+
"test:e2e:auth": "env OCLIF_TEST_ROOT=. mocha --forbid-only \"test/functional/e2e/auth-token.test.ts\"",
|
|
269
|
+
"test:e2e:code": "env OCLIF_TEST_ROOT=. mocha --forbid-only \"test/functional/e2e/code-lifecycle.test.ts\"",
|
|
270
|
+
"test:e2e:jobs": "env OCLIF_TEST_ROOT=. mocha --forbid-only \"test/functional/e2e/job-execution.test.ts\"",
|
|
271
|
+
"test:e2e:ods": "env OCLIF_TEST_ROOT=. mocha --forbid-only \"test/functional/e2e/ods-lifecycle.test.ts\"",
|
|
272
|
+
"test:e2e:sites": "env OCLIF_TEST_ROOT=. mocha --forbid-only \"test/functional/e2e/sites-operations.test.ts\"",
|
|
273
|
+
"test:e2e:slas": "env OCLIF_TEST_ROOT=. mocha --forbid-only \"test/functional/e2e/slas-lifecycle.test.ts\"",
|
|
274
|
+
"test:e2e:webdav": "env OCLIF_TEST_ROOT=. mocha --forbid-only \"test/functional/e2e/webdav-operations.test.ts\"",
|
|
265
275
|
"coverage": "c8 report",
|
|
266
276
|
"version": "oclif readme && git add README.md",
|
|
267
277
|
"dev": "node ./bin/dev.js"
|