Add "echo" as logger
This allow to test ouput, and specify ouput other then os.Stdout
This commit is contained in:
parent
23e4547e52
commit
5fd9bc851b
6 changed files with 315 additions and 117 deletions
3
main.go
3
main.go
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue