refactor: updated cache editor implementation

This commit is contained in:
David Allen 2025-06-16 16:19:43 -06:00
parent 389f720ff9
commit 64cca78d24
Signed by: towk
GPG key ID: 0430CDBE22619155
6 changed files with 78 additions and 28 deletions

View file

@ -42,9 +42,7 @@ var ListCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
// check if we just want to show cache-related info and exit
if showCacheInfo {
magellan.PrintMapWithFormat(map[string]any{
"path": cachePath,
}, listOutputFormat)
printCacheInfo(listOutputFormat)
os.Exit(0)
}