/bali-cli

CLI tools for `bali` services & gRPC clients

Primary LanguageJinjaMIT LicenseMIT

bali framework

bali-cli is CLI tools to simplify gRPC services and clients

bali-cli

CLI tools to simplify gRPC services and clients

Cli commands

bali add

Add service to clients folder, syntax is bali add {service}

# Example: added a service named `user`
bali add user

bali build

Build current development service protobuf

Legacy protobuf path: /services/rpc/.proto New protobuf path: /protos/.proto

# Example: build in a service root directory
bali build

bali run

New in 2.5.0

Start Bali App service, include http/rpc/event

# Example: start http
bali run http
# Example: start rpc
bali run rpc
# Example: start event
bali run event

bali shell

New in 2.5.0

# Enter Bali App shell
bali shell

Related Projects

bali

CONTRIBUTE

Developer Environment

make init
# setup examples environments
git submodule update --init --recursive

# execute bali commands 
# cd examples/gateway_service && bali add greeter

Tag a new release

tag a version:

git tag -a v0.1.0

push tags to remote:

git push --tags

Get a test report

make test