kratos

command
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 20 Imported by: 0

README

kratos

项目简介

go-common 工具

使用说明

参数

kratos -h

示例
./kratos init -d main -t interface -n testproject -o ownername

Documentation

Overview

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL