UNPKG

@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

18 lines (14 loc) 489 B
'use strict'; var commander = require('commander'); var _package = require('../../../package.json.js'); /** * `$ strapi version` */ const command = ()=>{ // load the Strapi package.json to get version and other information return commander.createCommand('version').description('Output the version of Strapi').action(()=>{ process.stdout.write(`${_package.version}\n`); process.exit(0); }); }; exports.command = command; //# sourceMappingURL=version.js.map