Skip to content

A CLI to initialize and work on go projects, mainly designed for API's.

License

Notifications You must be signed in to change notification settings

gogolcorp/go-gadgeto

Repository files navigation

go-cli

Codacy Badge Go CodeQL License: MIT version Go Reference

A CLI to initialize and work on go projects, mainly designed for API's.

Install CLI

💡 You need to have go installed correctly on your machine.

Install the CLI by running :

go get github.com/edwinvautier/go-cli

Then you should be able to do :

run go-cli in shell

Initialize a project

You can initialize a project in your working directory by running the create command.

go-cli create
# or with app name
go-cli create my-app-name

The CLI will eventually ask you your git username, the DB management system you'd like to use and if you want to dockerize the application or not.

run go-cli in shell

Install a bundle

You can install bundles by using the install command of the CLI. This command will look for a bundle located inside the bundles folder of the repository and install it.

Bundle API

Each bundle should have the following elements :

  • templates folder
  • install.sh script
  • README.md file to explain how bundle works and how to use it

The templates part must follow the same filetree as the project that is created.

About

A CLI to initialize and work on go projects, mainly designed for API's.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages