Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow flags in deno.json #26117

Closed
franz101 opened this issue Oct 10, 2024 · 2 comments
Closed

Allow flags in deno.json #26117

franz101 opened this issue Oct 10, 2024 · 2 comments

Comments

@franz101
Copy link

franz101 commented Oct 10, 2024

First of all congrats to the launch. Migration to 2.x was seamless
Current setup

{
    "unstable": ["net"],
    "tasks": {
        "dev": "deno --allow-env  --allow-run  --allow-read --allow-net --env main.ts"
    },
}

Is it possible to run it like the following?

{
    "unstable": ["net"],
    "tasks": {
        "dev": "deno --env main.ts"
    },
    "allow" : ["read","env","net"]
}
@yazan-abdalrahman
Copy link
Contributor

@lucacasonato @bartlomieju

it suggestion
Can I work on this?

@lucacasonato
Copy link
Member

Duplicate of #12763

@lucacasonato lucacasonato marked this as a duplicate of #12763 Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants