mirror of
https://github.com/taigrr/mg.git
synced 2026-04-02 03:28:42 -07:00
initial commit
This commit is contained in:
17
cmd/mrpaths.go
Normal file
17
cmd/mrpaths.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/taigrr/mg/parse"
|
||||
)
|
||||
|
||||
func main() {
|
||||
mrconf, err := parse.LoadMRConfig()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
for _, path := range mrconf.GetRepoPaths() {
|
||||
fmt.Println(path)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user