go-common/app/tool/kratos/doc.go
2019-04-22 18:49:16 +08:00

30 lines
656 B
Go
Raw 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.

/*
kratos 是go-common的工具链提供新项目创建bazel编译功能
kartos build 本目录之下局部编译,根目录全量编译
NAME:
kratos build - bazel build
USAGE:
kratos build [arguments...]
EXAMPLE:
cd app && kratos build ./service/.. admin interface/.. tool/cache/...
kratos build
kartos init 新建新项目
USAGE:
kratos init [command options] [arguments...]
OPTIONS:
-d value 部门名
-t value 项目类型(service,interface,admin,job,common)
-n value 项目名
-o value 维护人
--grpc 是否是GRPC
EXAMPLE:
kratos init -d main -t service -n test -o wangweizhen
*/
package main