UNPKG

@contentstack/cli-cm-clone

Version:
41 lines (40 loc) 945 B
"use strict"; /** * Constants for clone operations */ Object.defineProperty(exports, "__esModule", { value: true }); exports.STACK_NAME_PROMPT = exports.STACK_CREATION_CONFIRMATION = exports.STRUCTURE_LIST = void 0; /** * List of structure modules (excluding entries and assets) */ exports.STRUCTURE_LIST = [ 'locales', 'environments', 'extensions', 'marketplace-apps', 'webhooks', 'global-fields', 'content-types', 'workflows', 'labels', ]; /** * Stack creation confirmation prompt configuration */ exports.STACK_CREATION_CONFIRMATION = [ { type: 'confirm', name: 'stackCreate', message: 'Want to clone content into a new stack ?', initial: true, }, ]; /** * Stack name prompt configuration */ exports.STACK_NAME_PROMPT = { type: 'input', name: 'stack', default: 'ABC', message: 'Enter name for the new stack to store the cloned content ?', };