Skip to content

Commit a0d4bf1

Browse files
committed
chore: disable the license-setup cli for now
1 parent 024edf3 commit a0d4bf1

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

packages/cli/src/commands/install.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ export async function install() {
2121
`${chalk.bold('🚀 Let\'s build your new website with Strapi')}\n`,
2222
);
2323

24-
console.log('🚀 Get more out of Webtools with premium add-ons!\n');
24+
// console.log('🚀 Get more out of Webtools with premium add-ons!\n');
2525

26-
const { licenseKey } = await licenseSetup();
26+
// const { licenseKey } = await licenseSetup();
27+
28+
const licenseKey = null;
2729

2830
// Get available content types
2931
const contentTypes = getContentTypes();

packages/cli/src/index.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ program
3737
}
3838
});
3939

40-
program
41-
.command('setup-license')
42-
.description('Set up your Webtools license in your Strapi project')
43-
.action(async () => {
44-
try {
45-
await setupLicense();
46-
} catch (error) {
47-
console.error(chalk.red('Error:'), error instanceof Error ? error.message : 'An unknown error occurred');
48-
process.exit(1);
49-
}
50-
});
40+
// program
41+
// .command('setup-license')
42+
// .description('Set up your Webtools license in your Strapi project')
43+
// .action(async () => {
44+
// try {
45+
// await setupLicense();
46+
// } catch (error) {
47+
// console.error(chalk.red('Error:'), error instanceof Error ? error.message : 'An unknown error occurred');
48+
// process.exit(1);
49+
// }
50+
// });
5151

5252
program.parse();

0 commit comments

Comments
 (0)