mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
refactor: updated cache editor implementation
This commit is contained in:
parent
389f720ff9
commit
64cca78d24
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