Skip to content

Commit dd74644

Browse files
committed
feat(commerce): remove commerce commands. fixes #635
BREAKING CHANGE: commands are no longer available
1 parent 96fe397 commit dd74644

28 files changed

+1
-2025
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Adobe Inc.",
66
"bugs": "https://github.com/adobe/aio-cli-plugin-cloudmanager/issues",
77
"dependencies": {
8-
"@adobe/aio-lib-cloudmanager": "^1.14.1",
8+
"@adobe/aio-lib-cloudmanager": "^2.0.0",
99
"@adobe/aio-lib-core-config": "^2.0.0",
1010
"@adobe/aio-lib-core-errors": "^3.0.1",
1111
"@adobe/aio-lib-core-logging": "^1.2.0",

src/base-commerce-cli-command.js

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/cloudmanager-helpers.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -306,18 +306,6 @@ function handleError (_error, errorFn) {
306306
})
307307
}
308308

309-
function getFormattedFlags (flags, Command) {
310-
const commonFlagKeys = (Command && Command.flags) ? Object.keys(Command.flags).filter(flag => Command.flags[flag].common) : []
311-
312-
return Object.keys(flags).filter(flag => !commonFlagKeys.includes(flag)).map(flag => {
313-
if (flags[flag]) {
314-
return `--${flag}`
315-
} else {
316-
return `--no-${flag}`
317-
}
318-
})
319-
}
320-
321309
module.exports = {
322310
getProgramId,
323311
getOutputFormat,
@@ -340,5 +328,4 @@ module.exports = {
340328
getActiveOrganizationId,
341329
getFullOrgIdentity,
342330
handleError,
343-
getFormattedFlags,
344331
}

src/commands/cloudmanager/commerce/bin-magento/app/config/dump.js

Lines changed: 0 additions & 54 deletions
This file was deleted.

src/commands/cloudmanager/commerce/bin-magento/app/config/import.js

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/commands/cloudmanager/commerce/bin-magento/cache/clean.js

Lines changed: 0 additions & 59 deletions
This file was deleted.

src/commands/cloudmanager/commerce/bin-magento/cache/flush.js

Lines changed: 0 additions & 59 deletions
This file was deleted.

src/commands/cloudmanager/commerce/bin-magento/indexer/reindex.js

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)