gli

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

Koi logo
GLI

Generate boilerplate code for your next Go project

go version   license version

Installation

go get github.com/mehditeymorian/gli

Create New Project

Use command gli create for generating new project

➜  gli-playground gli create
? App Name? app
? Go Version 1.18
? choose module you need db, http, logger
? choose technology for db mongo
? choose technology for http gofiber
? choose technology for logger zap
? Do you want a cli app? No
? Do you want to create a Dockerfile? No
██████████ Downloading Template ██████████
✅	Module gofiber Downloaded
✅	Module mongo Downloaded
✅	Module zap Downloaded
✅	Module Simple Downloaded
✅	Module config Downloaded
✅	Module Others Downloaded
██████████ Downloading Packages ██████████
✅	Got github.com/gofiber/fiber/v2
✅	Got go.mongodb.org/mongo-driver/mongo
✅	Got go.uber.org/zap@latest
✅	Got github.com/knadh/koanf@latest
✅	Got github.com/tidwall/pretty@latest
voilà, Done 🤌🏻
██████████████████████████████████████████


  __ _  _ __   _ __
 / _` || '_ \ | '_ \
| (_| || |_) || |_) |
 \__,_|| .__/ | .__/
       | |    | |
       |_|    |_|

📝 Summary
🔥 6/6 Template Downloaded
🔥 5/5 Package Downloaded

app is Ready! 😎🙌

TODO

  • add more db, logger, http templates
  • add package explorer to find packages easier

Contact

License

Unless otherwise noted, the GLI source files are distributed under the Apache Version 2.0 license found in the LICENSE file.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cmd
mod

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL