From 261d250f50b17117e99ab8b4b6ac7dfd35371386 Mon Sep 17 00:00:00 2001 From: Nikolaus Gotsche Date: Wed, 24 Oct 2018 13:58:30 +0200 Subject: Finished Interface Framing --- interact.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'interact.go') diff --git a/interact.go b/interact.go index 3f3339b..4b54315 100644 --- a/interact.go +++ b/interact.go @@ -45,7 +45,8 @@ func interact() { //c.Print("\033[H\033[2J") //c.Println(boldGreen("Start New Project")) newProject() - showLastProject() + //showLastProject() + stdOut() c.Println(promptcol("______________________")) }, }) @@ -99,7 +100,8 @@ func interact() { LongHelp: ` Usage: status Shows the current Project, its last Tasks and if there is a open Task.`, Func: func(c *ishell.Context) { - stdOut() + //stdOut() + showStatus(true) c.Println(promptcol("______________________")) }, }) @@ -330,7 +332,7 @@ func interact() { argi, err := strconv.Atoi(arg) if err == nil { editCustomer(argi) - allCustomers() + allCustomers(false) //stdOut() } else { c.Println(boldRed(arg, "is not a valid id!")) @@ -418,7 +420,7 @@ func interact() { LongHelp: ` Usage: allcustomers Show all Customers.`, Func: func(c *ishell.Context) { - allCustomers() + allCustomers(false) c.Println(promptcol("______________________")) }, }) -- cgit v1.2.3