2个版本
| 0.1.3 | 2021年1月14日 |
|---|---|
| 0.1.1 | 2021年1月14日 |
#6 in #hugo
7KB
87 行
一个加快博客写作的CLI工具。
这是一个封装了hugo new命令的命令行工具。
它执行以下操作:
- 检出文章标题分支
- 在
contents/posts/<article-name>/下生成index.md
需求
hugo和git。
用法
USAGE:
rugo [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
new create new post with git branching
待定
- 检出文章标题分支。
- 使用Vim打开。
- 在编辑的同时在后台启动本地服务器。
- 环境值支持在任何地方创建新帖子
依赖关系
~10MB
~258K SLoC