gom

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 1 Imported by: 0

README

go-template

My own template repository for cli apps with Go

Some of the code structure and ideas were taken from metafates/go-template.

Features

  • use cobra for command line
  • integrated viper with cobra to read config options first from cli, then use config files, else use defaults
  • separate packages for each stuff for easier modification
  • pretty logging with charmbracelet/log
  • allow setting logging levels from cli
  • allow enabling/disabling colors from cli
  • use just for running tasks

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
log
where
Package for finding directories and files related to the app
Package for finding directories and files related to the app

Jump to

Keyboard shortcuts

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