UNPKG

vtex

Version:

The platform for e-commerce apps

20 lines (19 loc) 788 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const CustomCommand_1 = require("../api/oclif/CustomCommand"); const update_1 = tslib_1.__importDefault(require("../modules/housekeeper/update")); const Colors_1 = require("../api/constants/Colors"); class Update extends CustomCommand_1.CustomCommand { async run() { this.parse(Update); await update_1.default(); } } exports.default = Update; Update.description = 'Updates all installed apps to the latest (minor or patch) version. Does not upgrade to another major version.'; Update.examples = [`${Colors_1.ColorifyConstants.COMMAND_OR_VTEX_REF('vtex update')}`]; Update.flags = { ...CustomCommand_1.CustomCommand.globalFlags, }; Update.args = [];