From 3d46170693e256f4f26fd0d3af257902dbc22126 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Sun, 2 Nov 2025 21:25:37 -0800 Subject: [PATCH] Add --json flag to stale command --- cmd/bd/stale.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/bd/stale.go b/cmd/bd/stale.go index 7e8571ba..65282dde 100644 --- a/cmd/bd/stale.go +++ b/cmd/bd/stale.go @@ -100,5 +100,6 @@ func init() { staleCmd.Flags().IntP("days", "d", 30, "Issues not updated in this many days") staleCmd.Flags().StringP("status", "s", "", "Filter by status (open|in_progress|blocked)") staleCmd.Flags().IntP("limit", "n", 50, "Maximum issues to show") + staleCmd.Flags().BoolVar(&jsonOutput, "json", false, "Output JSON format") rootCmd.AddCommand(staleCmd) }