gogf / Gf Cli
Licence: mit
GoFrame Command Line Interface, which is your helpmate for building GoFrame application with convenience.
Stars: ✭ 143
Programming Languages
go
31211 projects - #10 most used programming language
Projects that are alternatives of or similar to Gf Cli
Clay
Proto-first minimal server platform for gRPС+REST+Swagger APIs
Stars: ✭ 212 (+48.25%)
Mutual labels: swagger, grpc, protobuf
Protodot
transforming your .proto files into .dot files (and .svg, .png if you happen to have graphviz installed)
Stars: ✭ 107 (-25.17%)
Mutual labels: grpc, cli, protobuf
Swaggen
OpenAPI/Swagger 3.0 Parser and Swift code generator
Stars: ✭ 385 (+169.23%)
Mutual labels: swagger, cli, generator
Go Micro Boilerplate
The boilerplate of the GoLang application with a clear microservices architecture.
Stars: ✭ 147 (+2.8%)
Mutual labels: swagger, grpc, protobuf
Protoc Gen Twirp swagger
Swagger generator for twirp
Stars: ✭ 54 (-62.24%)
Mutual labels: swagger, grpc, protobuf
Protoc Gen Map
SQL Data mapper framework for grpc/protobuf
Stars: ✭ 112 (-21.68%)
Mutual labels: grpc, protobuf
Genesis
Templating, scaffolding and generation tool
Stars: ✭ 122 (-14.69%)
Mutual labels: cli, generator
Codeigniter Model
CodeIgniter 3 Active Record (ORM) Standard Model with Laravel Eloquent & Yii2 AR like
Stars: ✭ 124 (-13.29%)
Mutual labels: orm, model
Laravel Swagger
Auto generates the swagger documentation of a laravel project based on best practices and simple assumptions
Stars: ✭ 129 (-9.79%)
Mutual labels: swagger, generator
Protoc Gen Struct Transformer
Transformation functions generator for Protocol Buffers.
Stars: ✭ 105 (-26.57%)
Mutual labels: grpc, protobuf
Grpc Gateway
The gRPC-Gateway is a plugin of the Google protocol buffers compiler
protoc.
It reads protobuf service definitions and generates a reverse-proxy server which
translates a RESTful HTTP API into gRPC. This server is generated according to the
google.api.http
annotations in your service definitions.
Stars: ✭ 12,223 (+8447.55%)
Mutual labels: swagger, grpc
Generact
Generate React components by replicating your own
Stars: ✭ 1,471 (+928.67%)
Mutual labels: cli, generator
Awesome Python Models
A curated list of awesome Python libraries, which implement models, schemas, serializers/deserializers, ODM's/ORM's, Active Records or similar patterns.
Stars: ✭ 124 (-13.29%)
Mutual labels: orm, model
Benchmark Grpc Protobuf Vs Http Json
Benchmarks comparing gRPC+Protobuf vs JSON+HTTP in Go
Stars: ✭ 106 (-25.87%)
Mutual labels: grpc, protobuf
Tsed
📐 Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone.
Stars: ✭ 1,941 (+1257.34%)
Mutual labels: cli, swagger
Graphql Mesh
GraphQL Mesh — Query anything, run anywhere
Stars: ✭ 2,114 (+1378.32%)
Mutual labels: swagger, grpc
Sw2dts
Generates TypeScript definition file(d.ts) from swagger.json for edge cases.
Stars: ✭ 132 (-7.69%)
Mutual labels: swagger, generator
Framework
Strongly-typed JavaScript object with support for validation and error handling.
Stars: ✭ 136 (-4.9%)
Mutual labels: orm, model
GF-CLI
English | 简体中文
gf-cli
is a powerful CLI tool for building GoFrame application with convenience.
1. Install
1). Binary
It's recommended using pre-compiled binaries:
-
Linux (amd64)
: https://goframe.org/cli/linux_amd64/gf -
Mac (amd64)
: https://goframe.org/cli/darwin_amd64/gf -
Windows (amd64)
: https://goframe.org/cli/windows_amd64/gf.exe - More...
After downloads, please use gf install
command to install gf binary to system binary path.
-
Mac
wget https://goframe.org/cli/darwin_amd64/gf && chmod +x gf && ./gf install
If you're using
zsh
, you might need rename your alias by commandalias gf=gf
to resolve the conflicts betweengf
andgit fetch
. -
Linux
wget https://goframe.org/cli/linux_amd64/gf && chmod +x gf && ./gf install
-
Windows
Manually download, execute it and then follow the instruction.
2). Manually Install
You might need setting the goproxy to make through building.
- Latest version
git clone https://github.com/gogf/gf-cli cd gf-cli && go build main.go && ./main install
- Specified version
git clone --branch v0.7.3 https://github.com/gogf/gf-cli cd gf-cli && go build main.go && ./main install
- Database
sqlite
andoracle
are not support ingf gen
command in default as it needscgo
andgcc
, you can manually make some changes to the source codes and do the building.
2. Commands
$ gf
USAGE
gf COMMAND [ARGUMENT] [OPTION]
COMMAND
env show current Golang environment variables
get install or update GF to system in default...
gen automatically generate go files for ORM models...
mod extra features for go modules...
run running go codes with hot-compiled-like feature...
init initialize an empty GF project at current working directory...
help show more information about a specified command
pack packing any file/directory to a resource file, or a go file...
build cross-building go project for lots of platforms...
docker create a docker image for current GF project...
swagger swagger feature for current project...
update update current gf binary to latest one (might need root/admin permission)
install install gf binary to system (might need root/admin permission)
version show current binary version info
OPTION
-y all yes for all command without prompt ask
-?,-h show this help or detail for specified command
-v,-i show version information
ADDITIONAL
Use 'gf help COMMAND' or 'gf COMMAND -h' for detail about a command, which has '...'
in the tail of their comments.
3. FAQ
gf run
returns pipe: too many open files
1). Command Please use ulimit -n 65535
to enlarge your system configuration for max open files for current terminal shell session, and then gf run
.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].