command
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Sep 7, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
where
Package for finding directories and files related to the app
|
Package for finding directories and files related to the app |
|
|
|
Click to show internal directories.
Click to hide internal directories.