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

🏁 DRux

drux start instead of deno task start. You don’t need to make any changes to the deno.json file, just install it and run it.

Deno CI GitHub Contributors drux Made by ibodev1 TypeScript semantic-release

⭐ Getting started

CLI

You can also install it globally using the following:

deno install --allow-read --allow-run -n drux https://deno.land/x/drux/cli.ts

Then, the package is available to run:

drux <task name>

Alternatively, you can use it directly from the CLI by using deno run:

deno run --allow-read --allow-run -n drux https://deno.land/x/drux/cli.ts <task name>

Configration

If the name of the deno config file or the file containing the tasks are different, you must specify it with the --config or -c flag. (only json)

drux <task name> --config my_file.json

Reload Cache

If you can’t get updates, you may need to refresh the caches in DENO_DIR. See the documentation for this.

CLI with DPX

After installing DPX, you can directly use the CLI using the dpx command:

dpx --allow-read --allow-run drux <task name>

Configuration

Required permissions:

  1. --allow-read
  2. --allow-run

👩‍💻 Development

Run tests:

deno test --allow-read --allow-run

📄 License

MIT © ibodev1