An open API service indexing awesome lists of open source software.

https://github.com/ibodev1/drux

Run tasks cli for deno project.
https://github.com/ibodev1/drux

Last synced: 11 months ago
JSON representation

Run tasks cli for deno project.

Awesome Lists containing this project

README

          

# 🏁 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](https://github.com/ibodev1/drux/workflows/Deno%20CI/badge.svg)](https://github.com/ibodev1/drux/actions)
[![GitHub](https://img.shields.io/github/license/ibodev1/drux)](https://github.com/ibodev1/drux/blob/master/LICENSE)
[![Contributors](https://img.shields.io/github/contributors/ibodev1/drux)](https://github.com/ibodev1/drux/graphs/contributors)
[![drux](https://img.shields.io/badge/ibodev1-drux-brightgreen)](https://ibodev1.github.io/drux/)
[![Made by ibodev1](https://img.shields.io/badge/made%20by-ibodev1-0082fb)](https://github.com/ibodev1)
[![TypeScript](https://img.shields.io/badge/types-TypeScript-blue)](https://github.com/ibodev1/drux)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

## ⭐ Getting started

### CLI

You can also install it globally using the following:

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

Then, the package is available to run:

```bash
drux
```

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

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

#### 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)`
```bash
drux --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.](https://deno.land/manual/basics/modules/reloading_modules)

### CLI with [DPX](https://github.com/denorg/dpx)

After [installing DPX](https://github.com/denorg/dpx), you can directly use the CLI using the `dpx` command:

```bash
dpx --allow-read --allow-run drux
```

### Configuration

Required permissions:

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

## 👩‍💻 Development

Run tests:

```bash
deno test --allow-read --allow-run
```

## 📄 License

MIT © [ibodev1](https://ibodev1.github.io)