Release Notes for LessGo CLI v1.0.3
Release Date: August 25, 2024
We are excited to introduce the very first public release of the LessGo CLI! This tool is designed to make it easier than ever to get started with the LessGo framework, helping developers quickly scaffold and manage their projects with a simple command-line interface.
Key Features:
-
Project Initialization:
- Easily create a new LessGo project using the
lessgo-cli new myapp
command. - Generates a modular project structure with pre-configured directories and files to help you get started quickly.
- Easily create a new LessGo project using the
-
Version Information:
- Check the CLI version at any time with the
lessgo-cli --version
command. The current version for this release is v1.0.3.
- Check the CLI version at any time with the
-
Modular Design:
- The scaffolded project follows a modular architecture inspired by NestJS, tailored specifically for Go, making it easier to manage complex applications.
-
Cross-Platform Support:
- Works seamlessly on both Windows and Unix-based systems. Instructions for setting up the environment on Windows are included.
Installation:
Install the CLI tool with a simple Go command:
go install github.com/hokamsingh/lessgo-cli@latest
Ensure that the GOPATH is added to your system's PATH environment variable to use the tool globally.
Project Structure:
The CLI generates a structured project with the following layout:
myapp/
├── app/
│ ├── cmd/
│ │ └── main.go
│ └── src/
│ ├── app_controller.go
│ ├── app_module.go
│ └── app_service.go
├── go.mod
└── go.sum
cmd/main.go
: The entry point for your application.src/
: Contains essential components like controllers, modules, and services.
Future Roadmap:
- More Commands: Upcoming releases will include more commands for managing and enhancing your LessGo projects.
- Documentation: Comprehensive documentation and tutorials will be released to help developers make the most out of the LessGo CLI.
Thank you for choosing LessGo CLI! We're excited to see the amazing projects you'll create with it. If you encounter any issues or have feedback, please reach out via our GitHub repository.