From 6ca6ad3717b8038573cf889964e90cc254764215 Mon Sep 17 00:00:00 2001 From: aidanaden Date: Sun, 28 Jan 2024 09:36:14 +0800 Subject: [PATCH] feat: remove thank u persistent post message --- cmd/pull.go | 4 ---- cmd/pull_videos.go | 4 ---- cmd/update.go | 4 ---- cmd/update_videos.go | 4 ---- 4 files changed, 16 deletions(-) diff --git a/cmd/pull.go b/cmd/pull.go index 41c580a..4aa2e6d 100644 --- a/cmd/pull.go +++ b/cmd/pull.go @@ -2,7 +2,6 @@ package cmd import ( "github.com/aidanaden/canvas-sync/internal/app/pull" - "github.com/aidanaden/canvas-sync/internal/pkg/utils" "github.com/spf13/cobra" "github.com/spf13/viper" ) @@ -29,9 +28,6 @@ var pullFilesCmd = &cobra.Command{ preRun(cmd) pull.RunPullFiles(cmd, args) }, - PersistentPostRun: func(cmd *cobra.Command, args []string) { - utils.MotivationalAndStarMessage() - }, } func init() { diff --git a/cmd/pull_videos.go b/cmd/pull_videos.go index a0ad5aa..8e06611 100644 --- a/cmd/pull_videos.go +++ b/cmd/pull_videos.go @@ -2,7 +2,6 @@ package cmd import ( "github.com/aidanaden/canvas-sync/internal/app/pull" - "github.com/aidanaden/canvas-sync/internal/pkg/utils" "github.com/spf13/cobra" "github.com/spf13/viper" ) @@ -18,9 +17,6 @@ var pullVideosCmd = &cobra.Command{ preRun(cmd) pull.RunPullVideos(cmd, args, false) }, - PersistentPostRun: func(cmd *cobra.Command, args []string) { - utils.MotivationalAndStarMessage() - }, } func init() { diff --git a/cmd/update.go b/cmd/update.go index 977a52a..65aa8f1 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -2,7 +2,6 @@ package cmd import ( "github.com/aidanaden/canvas-sync/internal/app/update" - "github.com/aidanaden/canvas-sync/internal/pkg/utils" "github.com/spf13/cobra" "github.com/spf13/viper" ) @@ -25,9 +24,6 @@ var updateFilesCmd = &cobra.Command{ preRun(cmd) update.RunUpdateFiles(cmd, args) }, - PersistentPostRun: func(cmd *cobra.Command, args []string) { - utils.MotivationalAndStarMessage() - }, } func init() { diff --git a/cmd/update_videos.go b/cmd/update_videos.go index 0d3bf8f..24c4dd3 100644 --- a/cmd/update_videos.go +++ b/cmd/update_videos.go @@ -2,7 +2,6 @@ package cmd import ( "github.com/aidanaden/canvas-sync/internal/app/pull" - "github.com/aidanaden/canvas-sync/internal/pkg/utils" "github.com/spf13/cobra" "github.com/spf13/viper" ) @@ -17,9 +16,6 @@ var updateVideosCmd = &cobra.Command{ preRun(cmd) pull.RunPullVideos(cmd, args, true) }, - PersistentPostRun: func(cmd *cobra.Command, args []string) { - utils.MotivationalAndStarMessage() - }, } func init() {