cli

command module
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 14 Imported by: 0

README

Bimalabs Cli

Requirements

  • 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

  • gRPC Gateway Toolchain

  • Delve for debug

Install

  • Download latest release from https://github.com/bimalabs/cli/tags

  • Update dependencies using go mod tidy

  • Extract and build using go build -o bima

  • Move to your bin folder mv bima $GOPATH/bin/bima

  • Checking toolchain installment bima makesure

Command List

  • bima create app <name> to create new application

  • bima create middleware <name> to create middleware under middlewares folder

  • bima create route <name> to create route under routes folder

  • bima create driver <name> to create database driver under drivers folder

  • bima create adapter <name> to create pagination adapter under adapters folder

  • bima module add <name> [<version> -c <config>] to add new module with version using config 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 using config file

  • bima debug to debug application

  • bima build to build application

  • bima version to show framework and cli version

  • bima upgrade to upgrade cli version

  • bima makesure to install toolchain

Enable autocomplete terminal

To enable autocomplete feature, refer to Urfave Cli

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
generated

Jump to

Keyboard shortcuts

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