Create an article in vuepress's blog mode.
npm
npm install vuepress-article-cli -g
yarn
yarn global add vuepress-article-cli -g
-V, --version
output the version number
-h, --help
output usage information
new
create an article.
questions =>
- title =>【input】What's the title of your article?
- author =>【input】What's the author of your article?
- categories =>【input】What's the categories of your article?
- tags =>【input】What's the tags of your article?
- dateFormat =>【input】What's the format of your article creation time?
- filename =>【input】What's the format of your article creation time?
del
delete an article.
questions =>
- filename =>【input】What file do you want to delete?
- delFiles =>【checkbox】Do you want to delete those files?
- isDel => 【confirm】Do you really want to delete these files?
tmp
create a template file for the article.
help [cmd]
display help for [cmd]