6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-07 22:14:18 +00:00

Add basic printing of all repos status

This commit is contained in:
Grzegorz Dlugoszewski
2020-06-02 12:40:22 +02:00
parent 7b99d65797
commit abf220355c
4 changed files with 185 additions and 0 deletions

17
pkg/list_test.go Normal file
View File

@@ -0,0 +1,17 @@
package pkg
import (
"os"
"testing"
)
func TestList(t *testing.T) {
_ = os.Setenv(EnvReposRoot, "/home/gru/workspace")
paths, err := FindRepos()
checkFatal(t, err)
repos, _ := OpenAll(paths)
PrintRepos(repos)
}