ember-cli
Version:
Command line tool for developing ambitious ember.js apps
18 lines (13 loc) • 425 B
JavaScript
;
const Command = require('../models/command');
module.exports = Command.extend({
name: 'asset-sizes',
description: 'Shows the sizes of your asset files.',
availableOptions: [
{ name: 'output-path', type: 'Path', default: 'dist/', aliases: ['o'] },
{ name: 'json', type: Boolean, default: false },
],
run(commandOptions) {
return this.runTask('ShowAssetSizes', commandOptions);
},
});