diff --git a/Makefile b/justfile similarity index 100% rename from Makefile rename to justfile diff --git a/main.go b/main.go index 59b3aab..43708fa 100644 --- a/main.go +++ b/main.go @@ -15,6 +15,7 @@ const ( defaultDir = "." green = "\033[32m" red = "\033[31m" + grey = "\033[90m" reset = "\033[0m" ) @@ -42,7 +43,12 @@ func main() { status, err := getStatus(cpath) if err != nil { - fmt.Println(cpath) + if err.Error() == "repository does not exist" { + // fmt.Println(err) + fmt.Printf("%s%s (%v)%s\n", grey, cpath, "no repo", reset) + } else { + fmt.Println(cpath) + } continue } @@ -51,6 +57,7 @@ func main() { } else { fmt.Println(cpath) } + // fmt.Println(status.String()) } }