diff --git a/cmd/api/cmd.go b/cmd/api/cmd.go index e0fb419..0dd63cc 100644 --- a/cmd/api/cmd.go +++ b/cmd/api/cmd.go @@ -8,7 +8,12 @@ func init() { cli.RegisterCommands(AddAPICommands) } -// AddAPICommands registers the 'api' command group. +// AddAPICommands registers the `api` command group. +// +// Example: +// +// root := &cli.Command{Use: "root"} +// api.AddAPICommands(root) func AddAPICommands(root *cli.Command) { apiCmd := cli.NewGroup("api", "API specification and SDK generation", "") root.AddCommand(apiCmd)