✨ 补充软件信息
This commit is contained in:
parent
6d42cf1c9a
commit
d2b5d52685
|
@ -151,6 +151,9 @@ USAGE:
|
|||
VERSION:
|
||||
dev
|
||||
|
||||
AUTHOR:
|
||||
徐晓伟 <xuxiaowei@xuxiaowei.com.cn>
|
||||
|
||||
COMMANDS:
|
||||
project, projects, p 项目 API,中文文档:https://docs.gitlab.cn/jh/api/projects.html
|
||||
pipeline, pipelines, pl 流水线 API,中文文档:https://docs.gitlab.cn/jh/api/pipelines.html
|
||||
|
@ -161,6 +164,9 @@ COMMANDS:
|
|||
GLOBAL OPTIONS:
|
||||
--help, -h show help
|
||||
--version, -v print the version
|
||||
|
||||
COPYRIGHT:
|
||||
徐晓伟工作室 <xuxiaowei@xuxiaowei.com.cn>
|
||||
```
|
||||
|
||||
- [project - 项目 API](https://docs.gitlab.cn/jh/api/projects.html)
|
||||
|
|
5
main.go
5
main.go
|
@ -22,6 +22,9 @@ const (
|
|||
OrganizationName = "徐晓伟工作室"
|
||||
OrganizationUrl = "http://xuxiaowei.com.cn"
|
||||
OrganizationEmail = "xuxiaowei@xuxiaowei.com.cn"
|
||||
Copyright = "徐晓伟工作室 <xuxiaowei@xuxiaowei.com.cn>"
|
||||
Author = "徐晓伟"
|
||||
Email = "xuxiaowei@xuxiaowei.com.cn"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -53,7 +56,9 @@ func main() {
|
|||
app := &cli.App{
|
||||
Name: Name,
|
||||
Version: versionInfo(),
|
||||
Authors: []*cli.Author{{Name: Author, Email: Email}},
|
||||
Usage: Description,
|
||||
Copyright: Copyright,
|
||||
Commands: []*cli.Command{
|
||||
projects.Projects(),
|
||||
pipelines.Pipelines(),
|
||||
|
|
Loading…
Reference in New Issue