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.
- Host: GitHub
- URL: https://github.com/ibodev1/drux
- Owner: ibodev1
- License: mit
- Created: 2023-04-19T10:09:08.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-31T13:56:48.000Z (over 2 years ago)
- Last Synced: 2025-01-05T08:28:27.934Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://ibodev1.github.io/drux/
- Size: 99.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
[](https://github.com/ibodev1/drux/actions)
[](https://github.com/ibodev1/drux/blob/master/LICENSE)
[](https://github.com/ibodev1/drux/graphs/contributors)
[](https://ibodev1.github.io/drux/)
[](https://github.com/ibodev1)
[](https://github.com/ibodev1/drux)
[](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)