My Go CLI Tool is a command-line utility designed to simplify the setup of Go projects. With features for initializing new projects, setting up Git repositories, and choosing from various project templates, it streamlines your development workflow.
- Create new Go projects with multiple templates (basic, web-server, CLI tool).
- Optionally initialize a Git repository.
- Configure projects using a JSON file or interactive prompts.
You can install My Go CLI Tool on different platforms as follows:
-
Download the Binary:
- Visit the Releases page to download the appropriate binary for your operating system.
-
Install the Binary:
-
For Linux/macOS:
curl -LO https://github.com/Itzhep/go-cli/releases/download/v1.0.0/go-cli.exe chmod +x my-go-cli sudo mv my-go-cli /usr/local/bin/
-
For Windows:
curl -LO https://github.com/Itzhep/go-cli/releases/download/v1.0.0/go-cli.exe move go-cli.exe C:\path\to\your\bin
📓 Note : if it dosnt work run it from src by :
go run Go-CLI.go
-
-
Configuration via JSON You can also configure your project setup using a JSON configuration file. Create a file with the following format:
{
"projectName": "my-project",
"gitInit": true,
"template": "cli-tool"
}Then, run:
my-go-cli --config path/to/config.jsonMy Go CLI Tool is released under the MIT License.