https://github.com/vxhly/vuepress-article-cli
Create an article in vuepress's blog mode
https://github.com/vxhly/vuepress-article-cli
Last synced: 3 months ago
JSON representation
Create an article in vuepress's blog mode
- Host: GitHub
- URL: https://github.com/vxhly/vuepress-article-cli
- Owner: vxhly
- License: other
- Created: 2019-11-07T02:50:01.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-08T07:57:30.000Z (almost 4 years ago)
- Last Synced: 2025-02-20T00:48:35.967Z (3 months ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vuepress-article-cli
Create an article in vuepress's blog mode.
[](https://www.npmjs.com/package/vuepress-article-cli)
[](https://github.com/vxhly/vuepress-article-cli/stargazers)
[](https://github.com/vxhly/vuepress-article-cli/blob/master/LICENSE)## Install
**npm**
``` bash
npm install vuepress-article-cli -g
```**yarn**
``` bash
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]