Certainly! Here's a streamlined version of your README.md
that includes the name, logo, installation instructions via curl
and git clone
, support email, and a table outlining commands and subcommands.
Gin CLI is a powerful command-line tool designed to help you quickly scaffold Gin Web Framework applications with a standardized project structure and essential components. Focus on building your application without the hassle of initial setup!
Example for Linux:
curl -LO https://github.com/golang-programming/gincli/releases/download/v1.0.0/gin-linux-amd64
chmod +x gin-linux-amd64
sudo mv gin-linux-amd64 /usr/local/bin/gin
gin --version
Example for macOS:
curl -LO https://github.com/golang-programming/gincli/releases/download/v1.0.0/gin-darwin-amd64
chmod +x gin-darwin-amd64
sudo mv gin-darwin-amd64 /usr/local/bin/gin
gin --version
Invoke-WebRequest -Uri "https://github.com/golang-programming/gincli/releases/download/v1.0.0/gin-windows-amd64.exe" -OutFile "gin.exe"
.\gin.exe --version
git clone https://github.com/golang-programming/gincli.git
cd gincli
go build -o gin
sudo mv gin /usr/local/bin/
Command | Alias | Description |
---|---|---|
new |
n , create |
Create a new Gin application |
generate |
g |
Generate components like controllers, guards, etc. |
template |
t |
Load application startup templates |
Subcommand | Alias | Description |
---|---|---|
controller |
c |
Generate a new controller |
guard |
gd |
Generate a new guard |
resource |
r |
Generate a new resource |
route |
rt |
Generate a new route |
service |
s |
Generate a new service |
gin n -a myapp
gin g r product -t Restful
gin t -a ecommerce -y
After generating your application:
-
Navigate to the Project Directory
cd myapp
-
Run the Application
go run *.go
For issues or suggestions, please contact us at:
Happy Coding! 🚀