Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alfredo/lib/utils/permissions.ts>withPermissions

Your Alfred workflows on steroids with Deno
Go to Latest
variable withPermissions
import { withPermissions } from "https://deno.land/x/alfredo@0.4.1/lib/utils/permissions.ts";

Check permissions before running a script. This will return a boolean to see if all permissions have been granted.

type

(flags?: Deno.PermissionName[], showLog?) => Promise<boolean>