gitlab-go/access_requests/access_requests.go

22 lines
643 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package access_requests
import (
"github.com/urfave/cli/v2"
"github.com/xuxiaowei-com-cn/gitlab-go/flag"
)
// AccessRequests 群组和项目访问请求 API https://docs.gitlab.cn/jh/api/access_requests.html
func AccessRequests() *cli.Command {
return &cli.Command{
Name: "access-request",
Aliases: []string{"access-requests", "ar"},
Usage: "群组和项目访问请求 API中文文档https://docs.gitlab.cn/jh/api/access_requests.html",
Flags: append(flag.Common(), flag.Page(), flag.PerPage(), flag.PrintJson(), flag.PrintTime(),
flag.Id(false)),
Subcommands: []*cli.Command{
Group(),
Project(),
},
}
}