@strapi/strapi
Version:
An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite
14 lines (11 loc) • 509 B
JavaScript
import { createCommand } from 'commander';
/**
*`$ strapi templates:generate <directory>`
*/ const command = ()=>{
return createCommand('templates:generate <directory>').description('(deprecated) Generate template from Strapi project').action(()=>{
console.warn('This command is deprecated and will be removed in the next major release.');
console.warn('You can now copy an existing app and use it as a template.');
});
};
export { command };
//# sourceMappingURL=generate.mjs.map