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:
17
pkg/list_test.go
Normal file
17
pkg/list_test.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user