improve debora output

This commit is contained in:
Jae Kwon 2015-04-17 11:17:45 -07:00
parent 731b51f703
commit b0f696a687
1 changed files with 3 additions and 1 deletions

View File

@ -123,9 +123,11 @@ func cliRunProcess(c *cli.Context) {
if err != nil {
fmt.Printf("%v failure. %v\n", remote, err)
} else {
fmt.Printf("%v success. %v\n", remote, response)
fmt.Printf("%v success.\n", remote)
if response.Output != "" {
fmt.Println("--------------------------------------------------------------------------------")
fmt.Println(response.Output)
fmt.Println("--------------------------------------------------------------------------------")
} else {
fmt.Println("(no output)")
}