Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-24 18:39:03 +01:00
parent 97445ca2cd
commit ba5f26056f
6 changed files with 17 additions and 18 deletions

View file

@ -20,15 +20,13 @@ 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) {
zetDir := "/home/opdavies/Documents/zet"
if len(args) < 1 {
fmt.Println("No query")
os.Exit(1)
}
zets := lib.SearchZets(zetDir, args[0])
zets := lib.SearchZets(args[0])
lib.ParseZetList(zets)
},