Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-10-04 23:59:50 +01:00
parent 590109b425
commit a28e1cb7a0
7 changed files with 40 additions and 26 deletions

View file

@ -20,7 +20,9 @@ If -j or --json is added, the results will be in JSON format.`,
Run: func(cli *cobra.Command, args []string) {
zets := zet.GetAllZets()
result := zet.ParseZetList(zets)
zetList := zet.CreateZetList(zets)
result := zetList.Parse()
if jsonOutput {
json, err := json.AsJSON(result)