go-starter

command module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 2 Imported by: 0

README

go-starter

An golang starter project with viper, cobra, and github actions integrations

Deploy

CLI Flags

The go-starter command

Usage:
  go-starter [flags]

Flags:
  -c, --config string                 Config file (default "config.yml")
      --data-directory string         Directory that holds data (default "deploy/data/")
      --debug                         Enable debugging information
  -h, --help                          help for go-starter
      --log-to-file                   Enable writing log output to file, specified by log-to-file-path
      --log-to-file-compress          Enable compressing log output files
      --log-to-file-max-age int       The maxium number of days to store log output in a file (default 28)
      --log-to-file-max-backups int   The maxium number of rotated logs files to keep (default 3)
      --log-to-file-max-size int      The maximum size of outputed log files in megabytes (default 500)
      --log-to-file-path string       The file to write log output to (default "/tmp/go-starter.log")
      --log-to-stdout                 Enable writing log output to stdout (default true)
      --time-format string            The time format to use for general log messages (default "2006/01/02 - 15:04:05")
  -v, --version                       version for go-starter

Documentation

Overview

Package main represents the main entrypoint of the go-starter application.

Directories

Path Synopsis
Package cmd implements the go-starter CLI command.
Package cmd implements the go-starter CLI command.
Package exp is an example module for the application.
Package exp is an example module for the application.
Package utils implements utilities for the application.
Package utils implements utilities for the application.

Jump to

Keyboard shortcuts

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