补充软件信息

This commit is contained in:
徐晓伟 2023-10-08 09:59:13 +08:00
parent 6d42cf1c9a
commit d2b5d52685
2 changed files with 14 additions and 3 deletions

View File

@ -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)

View File

@ -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(),