{"version":3,"file":"generate.mjs","sources":["../../../../../src/cli/commands/templates/generate.ts"],"sourcesContent":["import { createCommand } from 'commander';\n\nimport type { StrapiCommand } from '../../types';\n\n/**\n *`$ strapi templates:generate <directory>`\n */\nconst command: StrapiCommand = () => {\n  return createCommand('templates:generate <directory>')\n    .description('(deprecated) Generate template from Strapi project')\n    .action(() => {\n      console.warn('This command is deprecated and will be removed in the next major release.');\n      console.warn('You can now copy an existing app and use it as a template.');\n    });\n};\n\nexport { command };\n"],"names":["command","createCommand","description","action","console","warn"],"mappings":";;AAIA;;AAEC,UACKA,OAAAA,GAAyB,IAAA;AAC7B,IAAA,OAAOC,cAAc,gCAAA,CAAA,CAClBC,WAAW,CAAC,oDAAA,CAAA,CACZC,MAAM,CAAC,IAAA;AACNC,QAAAA,OAAAA,CAAQC,IAAI,CAAC,2EAAA,CAAA;AACbD,QAAAA,OAAAA,CAAQC,IAAI,CAAC,4DAAA,CAAA;AACf,IAAA,CAAA,CAAA;AACJ;;;;"}