import AppIntents

/// Defines the App Shortcuts available in the Shortcuts app.
struct AscentlyShortcuts: AppShortcutsProvider {

    static var shortcutTileColor: ShortcutTileColor {
        .teal
    }

    static var appShortcuts: [AppShortcut] {
        return [
            AppShortcut(
                intent: ToggleSessionIntent(),
                phrases: [
                    "Toggle climb in \(.applicationName)",
                    "Start or stop climb in \(.applicationName)",
                    "Climb toggle in \(.applicationName)",
                ],
                shortTitle: "Toggle Session",
                systemImageName: "figure.climbing"
            )
        ]
    }
}
