965
return fmt.Errorf("unable to count V1 schedules: %w", err)
966
}
967
>
v2Count, err := countScheduleVisibility(c, wfClient, ns, v2ScheduleVisibilityQuery())
commands.go
968
>
if err != nil {
969
return fmt.Errorf("unable to count V2 schedules: %w", err)
970
}
971
972
>
_, _ = fmt.Fprintf(c.App.Writer, "Namespace: %s\n", ns)
commands.go
973
>
_, _ = fmt.Fprintf(c.App.Writer, "V1 (workflow-backed): %d\n", v1Count)
974
>
_, _ = fmt.Fprintf(c.App.Writer, "V2 (CHASM): %d\n", v2Count)
975
>
_, _ = fmt.Fprintf(c.App.Writer, "Total: %d\n", v1Count+v2Count)
976
>
return nil
977
}
978