mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-23 08:01:15 +00:00
21 lines
516 B
Go
21 lines
516 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var pub_cache_cleanCmd = &cobra.Command{
|
|
Use: "clean",
|
|
Short: "Clears the global PUB_CACHE",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(pub_cache_cleanCmd).Standalone()
|
|
|
|
pub_cache_cleanCmd.Flags().BoolP("force", "f", false, "Don't ask for confirmation.")
|
|
pub_cache_cleanCmd.Flags().BoolP("help", "h", false, "Print this usage information.")
|
|
pub_cacheCmd.AddCommand(pub_cache_cleanCmd)
|
|
}
|