-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Labels
permissionsrelated to --allow-* flagsrelated to --allow-* flags
Description
Description
In deno 2.6 the new --ignore-read and --ignore-env where added but the interractive no permission prompt do not allow to ignore a request. Adding a new [i]gnore and [I]gnore all to env and read permissions could be great.
Example
Before
deno run npm:terminal-link-cli --help
┏ ⚠ Deno requests env access to "YARGS_MIN_NODE_VERSION".
┠─ To see a stack trace for this prompt, set the DENO_TRACE_PERMISSIONS environmental variable.
┠─ Learn more at: https://docs.deno.com/go/--allow-env
┠─ Run again with --allow-env to bypass this prompt.
┗ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all env permissions) >
After
deno run npm:terminal-link-cli --help
┏ ⚠ Deno requests env access to "YARGS_MIN_NODE_VERSION".
┠─ To see a stack trace for this prompt, set the DENO_TRACE_PERMISSIONS environmental variable.
┠─ Learn more at: https://docs.deno.com/go/--allow-env
┠─ Run again with --allow-env to bypass this prompt.
┗ Allow? [y/n/A/i/I] (y = yes, allow; n = no, deny; A = allow all; i = ignore; I = ignore all env permissions) >
Metadata
Metadata
Assignees
Labels
permissionsrelated to --allow-* flagsrelated to --allow-* flags