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