Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default class ExportCommand extends Command {
}),
module: flags.string({
description:
'[optional] Specific module name. If not specified, the export command will export all the modules from the stack. The available modules are stack, assets, locales, environments, extensions, webhooks, global-fields, entries, content-types, custom-roles, workflows, labels, marketplace-apps, taxonomies, personalize, and composable-studio.',
'[optional] Specific module name. If not specified, the export command will export all the modules from the stack. The available modules are stack, assets, locales, environments, extensions, webhooks, global-fields, entries, content-types, custom-roles, workflows, publishing-rules, labels, marketplace-apps, taxonomies, personalize, and composable-studio.',
options: [
'stack',
'assets',
Expand All @@ -69,6 +69,7 @@ export default class ExportCommand extends Command {
'content-types',
'custom-roles',
'workflows',
'publishing-rules',
'labels',
'marketplace-apps',
'taxonomies',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ describe('ExportCommand', () => {
'content-types',
'custom-roles',
'workflows',
'publishing-rules',
'labels',
'marketplace-apps',
'taxonomies',
Expand All @@ -76,7 +77,7 @@ describe('ExportCommand', () => {
it('should have the correct number of valid modules', () => {
const moduleOptions = (ExportCommand.flags['module'] as any).options as string[];

expect(moduleOptions).to.have.lengthOf(16);
expect(moduleOptions).to.have.lengthOf(17);
});
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default class ImportCommand extends Command {
module: flags.string({
required: false,
description:
'[optional] Specify the module to import into the target stack. If not specified, the import command will import all the modules into the stack. The available modules are stack, assets, locales, environments, extensions, webhooks, global-fields, entries, content-types, custom-roles, workflows, labels, marketplace-apps, taxonomies, personalize, and composable-studio.',
'[optional] Specify the module to import into the target stack. If not specified, the import command will import all the modules into the stack. The available modules are stack, assets, locales, environments, extensions, webhooks, global-fields, entries, content-types, custom-roles, workflows, publishing-rules, labels, marketplace-apps, taxonomies, personalize, variant-entries, and composable-studio.',
options: [
'stack',
'assets',
Expand All @@ -66,10 +66,12 @@ export default class ImportCommand extends Command {
'content-types',
'custom-roles',
'workflows',
'publishing-rules',
'labels',
'marketplace-apps',
'taxonomies',
'personalize',
'variant-entries',
'composable-studio',
],
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,12 @@ describe('ImportCommand', () => {
'content-types',
'custom-roles',
'workflows',
'publishing-rules',
'labels',
'marketplace-apps',
'taxonomies',
'personalize',
'variant-entries',
'composable-studio',
];
const moduleOptions = (ImportCommand.flags['module'] as any).options as string[];
Expand Down
Loading