mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
refactor: updated cache editor implementation
This commit is contained in:
parent
5a02fd9b55
commit
54f3a98e6e
6 changed files with 78 additions and 28 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue