Skip to content

Commit a8724d5

Browse files
committed
feat(buttonless): new argument for no button UI
1 parent 8597692 commit a8724d5

File tree

5 files changed

+99
-38
lines changed

5 files changed

+99
-38
lines changed

Notification Agent Core/Controllers/HelpBuilder.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ public final class HelpBuilder {
137137
"[ opaque | translucent ]".red() + "\n The style for the background panel that will cover all the screens.\n Example: -background_panel opaque",
138138
"\n Flag that make the UI unmovable for the user.\n Example: -unmovable",
139139
"\n Flag that tells the agent to ignore cmd+q shortcut.\n Example: -disable_quit",
140-
"\n A custom width for the UI.\n Example: -custom_width 1000"]
140+
"\n A custom width for the UI.\n Example: -custom_width 1000",
141+
"\n Flag that tells the agent to not show any destructive CTA (Button).\n Example: -buttonless"]
141142
static let bannerDescriptions: [String] = ["[ banner | alert ]".red() + "\n The UI type of the notification.\n Example: -type banner",
142143
"\n The title of the notification.\n Example: -title \"Title\"",
143144
"\n The subtitle of the notification. It supports MarkDown text.\n Example: -subtitle \"Subtitle\"",

0 commit comments

Comments
 (0)