UNPKG

597 BPlain TextView Raw
1#!/usr/bin/env node
2
3const
4 parseArgs = require('minimist'),
5 path = require('path'),
6 chalk = require('chalk')
7
8const
9 appPaths = require('../lib/app-paths'),
10 log = require('../lib/helpers/logger')('app:clean')
11
12const argv = parseArgs(process.argv.slice(2), {
13 alias: {
14 h: 'help'
15 },
16 boolean: ['h']
17})
18
19if (argv.help) {
20 console.log(`
21 Description
22 Cleans all build artifacts
23 Usage
24 $ quasar clean
25 Options
26 --help, -h Displays this message
27 `)
28 process.exit(0)
29}
30
31require('../lib/artifacts').cleanAll()
32
33console.log()
34log(`Done cleaning build artifacts`)
35log()