Documentation
¶
Overview ¶
Copyright © 2024 Taufik Hidayat <tfkhdyt@proton.me>
Copyright © 2024 Taufik Hidayat <tfkhdyt@proton.me>
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CacheClearCmd = &cobra.Command{ Use: "clear", Short: "Clear unused cache", Long: `Clear unused cache`, Run: func(cmd *cobra.Command, args []string) { err := usecase.ClearCache(clearAllCache, force) cobra.CheckErr(err) }, }
cacheClearCmd represents the cacheClear command
View Source
var CachePathCmd = &cobra.Command{ Use: "path", Short: "Print cache path", Long: `Print cache path`, Run: func(cmd *cobra.Command, args []string) { myCacheDir, err := usecase.GetCachePath() cobra.CheckErr(err) fmt.Println(myCacheDir) }, }
cachePathCmd represents the cachePath command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.