1个不稳定版本
0.1.0 | 2019年1月19日 |
---|
#14 在 #github-issues
13KB
263 代码行
menbei
生成GitHub issue链接的工具
安装
使用cargo
cargo install menbei
使用homebrew
brew tap k-nasa/homebrew-menbei
brew install menbei
使用方法
menbei 0.1.0
Tool to generate github issue link
USAGE:
menbei [file] [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<file> issue link definition file
SUBCOMMANDS:
dialogure Create an issue link interactively
help Prints this message or the help of the given subcommand(s)
使用示例
交互式生成链接
menbei dialogure
Input repository name: k-nasa/menbei
Input title: title
Input body: body
Input assignees: k-nasa
Input labels: question
Input projects:
输出此内容
https://github.com/k-nasa/menbei/issues/new?title=title&body=body&assignees=k-nasa&labels=question&projects=
从文件生成链接
menbei test.yaml
# or
menbei test.toml
文件示例
YAML
repository: k-nasa/menbei
title: title
body: hogehoge
assignees:
- k-nasa
- hoge
labels:
- bug
- question
projects:
- k-nasa/menbei/1
TOML
repository = "k-nasa/menbei"
title = "title"
body = "hogehoge"
assignees = ["k-nasa", "hoge"]
labels = ["bug", "question"]
projects = ["k-nasa/menbei/1"]
依赖
~6–8MB
~167K SLoC