1
1
mirror of https://github.com/c8r/x0.git synced 2024-08-16 17:00:24 +03:00

Merge pull request #56 from c8r/help-colors

Add colors to help
This commit is contained in:
Brent Jackson 2018-05-28 11:18:53 -04:00 committed by GitHub
commit eeabebdf57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
cli.js
View File

@ -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