diff --git a/cmd/aicra/main.go b/cmd/aicra/main.go index 6f46105..9df6442 100644 --- a/cmd/aicra/main.go +++ b/cmd/aicra/main.go @@ -6,10 +6,13 @@ import ( "git.xdrm.io/go/aicra/clifmt" "os" "path/filepath" + "time" ) func main() { + starttime := time.Now().UnixNano() + /* (1) Flags ---------------------------------------------------------*/ /* (1) controller path */ @@ -182,8 +185,9 @@ func main() { } /* (6) finished */ - fmt.Printf("\n[ %s ] files are located inside the %s directory inside the project folder\n", + fmt.Printf("\n[ %s | %.0f ms ] files are located inside the %s directory inside the project folder\n", clifmt.Color(32, "finished"), + float64(time.Now().UnixNano()-starttime)/1e6, clifmt.Color(33, ".build"), )