Add "echo" as logger

This allow to test ouput, and specify ouput other then os.Stdout
This commit is contained in:
Mikołaj Pęczkowski 2021-11-07 19:58:49 +01:00
parent 23e4547e52
commit 5fd9bc851b
6 changed files with 315 additions and 117 deletions

View file

@ -12,5 +12,6 @@ func main() {
app := app.GitRepositoryManager{}
app.Parse(os.Args)
os.Exit(app.Run())
exitCode := app.Run(os.Stdout)
os.Exit(exitCode)
}