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
$GOPATHin 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 undermiddlewaresfolder -
bima create route <name>to create route underroutesfolder -
bima create driver <name>to create database driver underdriversfolder -
bima create adapter <name>to create pagination adapter underadaptersfolder -
bima module add <name> [<version> -c <config>]to add new module withversionusingconfigfile -
bima module remove <name>to remove module -
bima dumpto generate service container codes -
bima updateto update framework and dependencies -
bima cleanto clean dependencies -
bima generateto generate code from protobuff -
bima run <mode> [-c <config>]to run application onmodemode usingconfigfile -
bima buildto build application -
bima versionto show framework and cli version -
bima upgradeto upgrade cli version -
bima makesureto install toolchain
To enable autocomplete feature, refer to Urfave Cli