Skip to content

Latest commit

 

History

History
66 lines (39 loc) · 1.49 KB

README.md

File metadata and controls

66 lines (39 loc) · 1.49 KB

vuepress-article-cli

Create an article in vuepress's blog mode.

npm GitHub stars GitHub license

Install

npm

npm install vuepress-article-cli -g

yarn

yarn global add vuepress-article-cli -g

Options

-V, --version

output the version number

-h, --help

output usage information

Commands

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]