From 53a64be850716c65cbbe37b775359bb0c7c8403a Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 1 Oct 2025 00:13:55 +0100 Subject: [PATCH] Refactor Signed-off-by: Oliver Davies --- cmd/create.go | 3 +-- cmd/edit.go | 3 +-- cmd/find.go | 3 +-- cmd/links.go | 3 +-- cmd/titles.go | 3 +-- cmd/view.go | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/cmd/create.go b/cmd/create.go index dbeafbe..164cbb7 100644 --- a/cmd/create.go +++ b/cmd/create.go @@ -3,9 +3,8 @@ package cmd import ( "strings" - "github.com/spf13/cobra" - "code.oliverdavies.uk/opdavies/cmd-zet/internal/zet" + "github.com/spf13/cobra" ) var createCmd = &cobra.Command{ diff --git a/cmd/edit.go b/cmd/edit.go index 110ff01..178f48a 100644 --- a/cmd/edit.go +++ b/cmd/edit.go @@ -7,10 +7,9 @@ import ( "strconv" "strings" - "github.com/spf13/cobra" - "code.oliverdavies.uk/opdavies/cmd-zet/internal/fzf" "code.oliverdavies.uk/opdavies/cmd-zet/internal/zet" + "github.com/spf13/cobra" ) var editCmd = &cobra.Command{ diff --git a/cmd/find.go b/cmd/find.go index 16a5523..37ac52e 100644 --- a/cmd/find.go +++ b/cmd/find.go @@ -6,10 +6,9 @@ import ( "os" "strings" - "github.com/spf13/cobra" - "code.oliverdavies.uk/opdavies/cmd-zet/internal/json" "code.oliverdavies.uk/opdavies/cmd-zet/internal/zet" + "github.com/spf13/cobra" ) var findCmd = &cobra.Command{ diff --git a/cmd/links.go b/cmd/links.go index 20d64d2..d6b0fd4 100644 --- a/cmd/links.go +++ b/cmd/links.go @@ -5,9 +5,8 @@ import ( "os" "strings" - "github.com/spf13/cobra" - "code.oliverdavies.uk/opdavies/cmd-zet/internal/zet" + "github.com/spf13/cobra" ) var linksCmd = &cobra.Command{ diff --git a/cmd/titles.go b/cmd/titles.go index 1f88073..07e58ed 100644 --- a/cmd/titles.go +++ b/cmd/titles.go @@ -5,10 +5,9 @@ import ( "log" "strings" - "github.com/spf13/cobra" - "code.oliverdavies.uk/opdavies/cmd-zet/internal/json" "code.oliverdavies.uk/opdavies/cmd-zet/internal/zet" + "github.com/spf13/cobra" ) var titlesCmd = &cobra.Command{ diff --git a/cmd/view.go b/cmd/view.go index d821b89..fde3798 100644 --- a/cmd/view.go +++ b/cmd/view.go @@ -7,10 +7,9 @@ import ( "strconv" "strings" - "github.com/spf13/cobra" - "code.oliverdavies.uk/opdavies/cmd-zet/internal/fzf" "code.oliverdavies.uk/opdavies/cmd-zet/internal/zet" + "github.com/spf13/cobra" ) var viewCmd = &cobra.Command{