mirror of
https://github.com/mudler/luet.git
synced 2025-08-31 23:02:16 +00:00
cmd/config: Align print to new tags
This commit is contained in:
@@ -32,13 +32,13 @@ var configCmd = &cobra.Command{
|
|||||||
fmt.Println(config.LuetCfg.GetGeneral())
|
fmt.Println(config.LuetCfg.GetGeneral())
|
||||||
fmt.Println(config.LuetCfg.GetSystem())
|
fmt.Println(config.LuetCfg.GetSystem())
|
||||||
if len(config.LuetCfg.CacheRepositories) > 0 {
|
if len(config.LuetCfg.CacheRepositories) > 0 {
|
||||||
fmt.Println("cache_repositories:")
|
fmt.Println("repetitors:")
|
||||||
for _, r := range config.LuetCfg.CacheRepositories {
|
for _, r := range config.LuetCfg.CacheRepositories {
|
||||||
fmt.Println(" - ", r.String())
|
fmt.Println(" - ", r.String())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if len(config.LuetCfg.SystemRepositories) > 0 {
|
if len(config.LuetCfg.SystemRepositories) > 0 {
|
||||||
fmt.Println("system_repositories:")
|
fmt.Println("repositories:")
|
||||||
for _, r := range config.LuetCfg.SystemRepositories {
|
for _, r := range config.LuetCfg.SystemRepositories {
|
||||||
fmt.Println(" - ", r.String())
|
fmt.Println(" - ", r.String())
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user