import { Alert } from "@raycast/api";
export default async () => {
const options: Alert.Options = {
title: "Finished cooking",
message: "Delicious pasta for lunch",
// while you can register a handler for an action, it's more elegant
// to use the `if (await confirmAlert(...)) { ... }` pattern
console.log("The alert action has been triggered");
await confirmAlert(options);