Toolkit: Deprecate searchTestData command (#57589)

This commit is contained in:
Esteban Beltran
2022-10-26 08:54:51 +02:00
committed by GitHub
parent a3acfb1a48
commit cbe7fe3d8d
+4 -1
View File
@@ -66,8 +66,11 @@ export const run = (includeInternalScripts = false) => {
program
.command('searchTestData')
.option('-c, --count <number_of_dashboards>', 'Specify number of dashboards')
.description('Setup test data for search')
.description('[deprecated] Setup test data for search')
.action(async (cmd) => {
chalk.yellow.bold(
`⚠️ This command is deprecated and will be removed in v10. No further support will be provided. ⚠️`
);
await execTask(searchTestDataSetupTask)({ count: cmd.count });
});