Skip to content

CLI tools for `bali` services & gRPC clients

License

Notifications You must be signed in to change notification settings

chendong0120/bali-cli

 
 

Repository files navigation

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

About

CLI tools for `bali` services & gRPC clients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 52.0%
  • Python 47.1%
  • Makefile 0.9%