mirror of
https://github.com/c8r/x0.git
synced 2024-08-17 01:10:32 +03:00
Add colors to help
This commit is contained in:
parent
281002e1ec
commit
66bcabb073
16
cli.js
16
cli.js
@ -15,26 +15,26 @@ const pkg = readPkg().pkg
|
||||
log.name = 'x0'
|
||||
|
||||
const cli = meow(`
|
||||
Usage
|
||||
${chalk.gray('Usage')}
|
||||
|
||||
Dev Server
|
||||
${chalk.gray('Dev Server')}
|
||||
|
||||
x0 pages
|
||||
${chalk.cyan('x0 pages')}
|
||||
|
||||
Build
|
||||
${chalk.gray('Build')}
|
||||
|
||||
x0 build pages
|
||||
${chalk.cyan('x0 build pages')}
|
||||
|
||||
Options
|
||||
${chalk.gray('Options')}
|
||||
|
||||
--webpack Path to webpack config file
|
||||
|
||||
Dev Server
|
||||
${chalk.gray('Dev Server')}
|
||||
|
||||
-o --open Open dev server in default browser
|
||||
-p --port Port for dev server
|
||||
|
||||
Build
|
||||
${chalk.gray('Build')}
|
||||
|
||||
-d --out-dir Output directory (default dist)
|
||||
-s --static Output static HTML without JS bundle
|
||||
|
Loading…
Reference in New Issue
Block a user