From a5846b08bacafce8efe3b0b983812de63fbc12ce Mon Sep 17 00:00:00 2001 From: AlexsJones Date: Fri, 24 Mar 2023 10:57:33 +0000 Subject: [PATCH] tidying up files Signed-off-by: AlexsJones --- cmd/auth/auth.go | 7 +------ cmd/auth/key.go | 3 --- cmd/find/find.go | 3 --- cmd/find/problems.go | 3 --- cmd/root.go | 3 --- 5 files changed, 1 insertion(+), 18 deletions(-) diff --git a/cmd/auth/auth.go b/cmd/auth/auth.go index 7289f61..de5de0d 100644 --- a/cmd/auth/auth.go +++ b/cmd/auth/auth.go @@ -1,11 +1,6 @@ -/* -Copyright © 2023 NAME HERE alexsimonjones@gmail.com -*/ package auth import ( - "fmt" - "github.com/spf13/cobra" ) @@ -20,7 +15,7 @@ Cobra is a CLI library for Go that empowers applications. This application is a tool to generate the needed files to quickly create a Cobra application.`, Run: func(cmd *cobra.Command, args []string) { - fmt.Println("auth called") + cmd.Help() }, } diff --git a/cmd/auth/key.go b/cmd/auth/key.go index 0f8b9f4..91ad5be 100644 --- a/cmd/auth/key.go +++ b/cmd/auth/key.go @@ -1,6 +1,3 @@ -/* -Copyright © 2023 NAME HERE alexsimonjones@gmail.com -*/ package auth import ( diff --git a/cmd/find/find.go b/cmd/find/find.go index ba8473f..7c5387c 100644 --- a/cmd/find/find.go +++ b/cmd/find/find.go @@ -1,6 +1,3 @@ -/* -Copyright © 2023 NAME HERE alexsimonjones@gmail.com -*/ package find import ( diff --git a/cmd/find/problems.go b/cmd/find/problems.go index 37cdc9e..015b19e 100644 --- a/cmd/find/problems.go +++ b/cmd/find/problems.go @@ -1,6 +1,3 @@ -/* -Copyright © 2023 NAME HERE -*/ package find import ( diff --git a/cmd/root.go b/cmd/root.go index b458de1..75dd862 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,6 +1,3 @@ -/* -Copyright © 2023 NAME HERE -*/ package cmd import (