describe multiple sources

This commit is contained in:
2021-10-31 22:32:30 +01:00
parent 6817f494ef
commit bcfc734cd1

View File

@@ -81,8 +81,11 @@ func (c *Config) Describe() {
var tmp string
colors.PrimaryPrint(`Location: "%s"`, name)
// TODO: Add more info
// colors.PrintDescription("From", l.From)
tmp = ""
for _, path := range l.From {
tmp += fmt.Sprintf("\t%s %s\n", colors.Success.Sprint("←"), path)
}
colors.PrintDescription("From", tmp)
tmp = ""
for _, to := range l.To {