{"modulePath":"github.com/Robpol86/githubBackup","version":"v0.0.0-20161225195130-3ff763cd75c6","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package config\n\n## Constants\n\n```go\nconst Version = \"0.0.1\"\n```\nVersion is the semantic version of the program.\n\n## Functions\n\n```go\nfunc GetLogger() *logrus.Entry\n```\nGetLogger is a convenience function that returns a logrus logger with the \"name\" field already filled out.\n\n```go\nfunc SetupLogging(verbose, quiet, disableColors, forceColors bool, logFile string) (err error)\n```\nSetupLogging configures the global logrus instance based on user-supplied data.\n\n:param verbose: Enable debug logging.\n\n:param quiet: Disable any logging to the console.\n\n:param disableColors: Disable color log levels and field keys.\n\n:param forceColors: Force showing colors (for testing).\n\n:param logFile: Log to this file path in addition to the console.\n\n## Types\n\n```go\ntype Config struct {\n\tNoColors   bool\n\tNoReleases bool\n\tNoPrivate  bool\n\tNoForks    bool\n\tNoGist     bool\n\tNoIssues   bool\n\tLogFile    string\n\tNoComments bool\n\tNoPublic   bool\n\tQuiet      bool\n\tNoRepos    bool\n\tToken      string\n\tNoPrompt   bool\n\tUser       string\n\tVerbose    bool\n\tOverwrite  bool\n\tNoWikis    bool\n\n\tDestination string\n}\n```\nConfig holds parsed data from command line arguments.\n\n```go\nfunc NewConfig(argv []string) (Config, error)\n```\nNewConfig populates the struct with data read from command line arguments using docopt.\n\n:param argv: CLI arguments to pass to docopt.Parse().\n\n","path":"github.com/Robpol86/githubBackup/config","name":"config","synopsis":"","isRedistributable":true}
