🚧 Get files

This commit is contained in:
Dan Jones 2023-08-29 07:15:01 -05:00
commit 3ae78a6704
2 changed files with 15 additions and 10 deletions

View file

@ -7,7 +7,7 @@ import (
"fmt"
"os"
"codeberg.org/danjones000/strip-beats/config"
"codeberg.org/danjones000/strip-beats/files"
"github.com/spf13/cobra"
)
@ -15,18 +15,10 @@ import (
var rootCmd = &cobra.Command{
Use: "strip-beats",
Short: "A brief description of your application",
/*
Long: `A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:
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.`,
*/
// Uncomment the following line if your bare application
// has an action associated with it:
Run: func(cmd *cobra.Command, args []string) {
fmt.Println(config.GetConfig())
fmt.Println(files.GetCandidates())
},
}