mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-11-29 13:58:02 +03:00
Adjust cli
This commit is contained in:
parent
fa6d895a86
commit
1d6deb029b
10
cli.js
10
cli.js
@ -50,13 +50,15 @@ const getConfig = conf => {
|
||||
}
|
||||
|
||||
const cli = meow(`
|
||||
Usage
|
||||
${chalk.magenta('[mdx-deck]')}
|
||||
|
||||
$ mdx-deck deck.mdx
|
||||
${chalk.gray('Usage')}
|
||||
|
||||
$ mdx-deck build deck.mdx
|
||||
$ ${chalk.magenta('mdx-deck deck.mdx')}
|
||||
|
||||
Options
|
||||
$ ${chalk.magenta('mdx-deck build deck.mdx')}
|
||||
|
||||
${chalk.gray('Options')}
|
||||
|
||||
-p --port Dev server port
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
"scripts": {
|
||||
"prepare": "babel src -d dist",
|
||||
"start": "./cli.js docs/index.mdx -p 8989",
|
||||
"help": "./cli.js",
|
||||
"build": "./cli.js build docs/index.mdx -d site"
|
||||
},
|
||||
"keywords": [],
|
||||
|
Loading…
Reference in New Issue
Block a user