{"modulePath":"github.com/robpol86/githubbackup","version":"v0.0.0-20161225195130-3ff763cd75c6","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package main\n\n## Functions\n\n```go\nfunc Collect(cfg *config.Config, ghAPI *api.API, ghRepos *api.GitHubRepos, ghGists *api.GitHubGists) error\n```\nCollect gathers initial information via GitHub APIs to find out what should be backed up.\n\n```go\nfunc Main(argv []string, testURL string) int\n```\nMain holds the main logic of the program. It exists for testing (vs putting logic in main()).\n\n:param argv: CLI arguments to pass to docopt.Parse().\n\n:param testURL: For testing only. Query this base URL instead of the GitHub API URL.\n\n```go\nfunc VerifyDest(dir string, noPrompt bool) error\n```\nVerifyDest validates and creates the destination directory.\n\n","path":"github.com/robpol86/githubbackup","name":"main","synopsis":"","isRedistributable":true}
