We're thrilled to announce the first official release of Gin CLI, a straightforward command-line tool designed to streamline the development of applications using the Gin Web Framework.
Key Features
- Quick Application Setup: Scaffold a new Gin application with a standardized project structure.
- Component Generators: Easily generate controllers, guards, resources, routes, and services.
- Database Support: Configure your application with MySQL, PostgreSQL, SQLite, or MongoDB.
- User-Friendly Prompts: Interactive prompts with sensible defaults for a smoother experience.
- Command Aliases: Utilize shorthand commands and aliases for efficient development.
- Safe File Handling: Prompts before overwriting existing files to prevent data loss.
- Enhanced Help Command: Displays commands and flags in a clean, tabular format.
Installation
Using curl
(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
Using curl
(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
Using curl
(Windows)
# Download the latest version
Invoke-WebRequest -Uri "https://github.com/Golang-programming/gincli/releases/download/v1.0.0/gin-windows-amd64.exe" -OutFile "gin.exe"
# Ensure gin.exe is in your PATH
# Verify installation
.\gin.exe --version
For usage examples and information, please refer to the README.
Feedback and Contributions
We welcome your feedback! If you encounter any issues or have suggestions for improvements, please open an issue on our GitHub repository.
This initial release is the culmination of our efforts to simplify and accelerate the development process with the Gin Web Framework. We hope you find Gin CLI helpful in your projects.
What's Changed
- Feat/refector full project by @zeshantech in #1
New Contributors
- @zeshantech made their first contribution in #1
Full Changelog: https://github.com/Golang-programming/gincli/commits/v1.0.0