Skip to content

Commit 2208762

Browse files
authored
chore(sdk): bump go-flashduty to v0.8.0 and regenerate (#133)
Pulls in the status-page Info signature change (breaking: now returns the typed *StatusPageItem alongside the response, instead of discarding the body). Regenerates the status-page CLI command and its skill card to print the typed fields.
1 parent 7dda9cb commit 2208762

5 files changed

Lines changed: 44 additions & 9 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/flashcatcloud/flashduty-cli
33
go 1.25.1
44

55
require (
6-
github.com/flashcatcloud/go-flashduty v0.7.1-0.20260731151217-3eb7f03d7530
6+
github.com/flashcatcloud/go-flashduty v0.8.0
77
github.com/mattn/go-runewidth v0.0.27
88
github.com/spf13/cobra v1.10.2
99
github.com/spf13/pflag v1.0.10

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
github.com/clipperhouse/uax29/v2 v2.2.0 h1:ChwIKnQN3kcZteTXMgb1wztSgaU+ZemkgWdohwgs8tY=
22
github.com/clipperhouse/uax29/v2 v2.2.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM=
33
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
4-
github.com/flashcatcloud/go-flashduty v0.7.1-0.20260731151217-3eb7f03d7530 h1:Me3joPqi0Q9K3f+PuZJPMcieK8nNJnhMCbDNZB9FYWw=
5-
github.com/flashcatcloud/go-flashduty v0.7.1-0.20260731151217-3eb7f03d7530/go.mod h1:aA0RtZEs0AYOwwdNKdtVeD8YMOdnmVY1zAlVD+9Ovx8=
4+
github.com/flashcatcloud/go-flashduty v0.8.0 h1:ozNY6fTRbaxdEjMDpfoeiEJZpUpKgefGoypbeViJ49c=
5+
github.com/flashcatcloud/go-flashduty v0.8.0/go.mod h1:aA0RtZEs0AYOwwdNKdtVeD8YMOdnmVY1zAlVD+9Ovx8=
66
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
77
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
88
github.com/mattn/go-runewidth v0.0.27 h1:Feg/Oou5zI/wnpgDF6omIU0OokC9GxLC/WRknhVlIR0=

internal/cli/zz_generated_response_help.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cli/zz_generated_status_pages.go

Lines changed: 39 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

skills/flashduty/reference/status-page.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ Delete status page
157157
### info <page-id>
158158
Get status page detail
159159
- `<page-id>` (positional, required) string — Status page ID
160+
- response: single object (`data` unwrapped to the top level) — fields: components (array<object>); contact_info (string); custom_domain (string); custom_links (array<object>); dark_logo (string); date_view (string); display_uptime_mode (string); favicon (string); logo (string); logo_url (string); name (string); page_footer (string); page_header (string); page_id (integer); sections (array<object>); subscription (object); template_preference (string); type (string); url_name (string)
160161

161162
### list
162163
List status pages

0 commit comments

Comments
 (0)