macos: input intent

This commit is contained in:
Mitchell Hashimoto
2025-06-19 11:07:46 -07:00
parent c904e86883
commit a6074040e7
6 changed files with 123 additions and 10 deletions

View File

@@ -1,13 +1,12 @@
import AppKit
import AppIntents
/// App intent that invokes a command palette entry.
struct KeybindIntent: AppIntent {
static var title: LocalizedStringResource = "Invoke a Keybind Action"
@Parameter(
title: "Terminal",
description: "The terminal to base available commands from."
description: "The terminal to invoke the action on."
)
var terminal: TerminalEntity