Bimalabs Cli is command line to create, run and build bimalabs framework, the all in one solution for developing backend app in few minutes.
-
Go 1.16 or above
-
Protoc 3.19.0 or above
-
Protoc Gen Go 1.28.0 or above
-
Protoc Gen gRpc 1.2.0 or above
-
Delve for debug
-
Checking
$GOPATH
in your environment variable usingecho $GOPATH
-
Download latest release from
https://github.com/bimalabs/cli/tags
-
Update dependencies using
go mod tidy
-
Extract and build using
go build -o bima-cli
-
Move to your bin folder
mv bima-cli $GOPATH/bin/bima
-
Checking toolchain installment
bima makesure
-
bima create app <name>
to create new application -
bima create middleware <name>
to create middleware undermiddlewares
folder -
bima create route <name>
to create route underroutes
folder -
bima create driver <name>
to create database driver underdrivers
folder -
bima create adapter <name>
to create pagination adapter underadapters
folder -
bima module add <name> [<version> -c <config>]
to add new module withversion
usingconfig
file -
bima module remove <name>
to remove module -
bima dump
to generate service container codes -
bima update
to update framework and dependencies -
bima clean
to clean dependencies -
bima generate
to generate code from protobuff -
bima run <mode> [-c <config>]
to run application onmode
mode usingconfig
file -
bima build
to build application -
bima version
to show framework and cli version -
bima upgrade
to upgrade cli version -
bima makesure
to install toolchain
To enable autocomplete feature, refer to Urfave Cli