feat: native import & export

This commit is contained in:
Gabe Farrell 2025-06-18 06:49:05 -04:00
parent 1d02cede49
commit 7b0cff0a07
13 changed files with 645 additions and 2 deletions

View file

@ -327,3 +327,11 @@ func ParseBool(s string) (value, ok bool) {
return
}
}
func FlattenAliases(aliases []models.Alias) []string {
ret := make([]string, len(aliases))
for i := range aliases {
ret[i] = aliases[i].Alias
}
return ret
}