Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.0.1"
Version is the semantic version of the program.
Variables ¶
This section is empty.
Functions ¶
func GetLogger ¶
GetLogger is a convenience function that returns a logrus logger with the "name" field already filled out.
func SetupLogging ¶
SetupLogging configures the global logrus instance based on user-supplied data.
:param verbose: Enable debug logging.
:param quiet: Disable any logging to the console.
:param disableColors: Disable color log levels and field keys.
:param forceColors: Force showing colors (for testing).
:param logFile: Log to this file path in addition to the console.
Types ¶
type Config ¶
type Config struct { NoColors bool NoReleases bool NoPrivate bool NoForks bool NoGist bool NoIssues bool LogFile string NoComments bool NoPublic bool Quiet bool NoRepos bool Token string NoPrompt bool User string Verbose bool Overwrite bool NoWikis bool Destination string }
Config holds parsed data from command line arguments.
Click to show internal directories.
Click to hide internal directories.