Attributes
Includes Deno configuration
Repository
Current version released
6 years ago
Dependencies
std
Versions
den
A better deno cli :p A wrapper of deno cli to give some extra features.
den give the possibility to create a deno.json file and execute some pre-defined commands.
{
"cmds": {
"multi": ["ls", "pwd"],
"my-ls": "ls",
"start": "deno run --allow-read --allow-net your_script.ts"
}
}Then run:
den cmdto get the list of commandsden cmd my-lsorden my-lsto execute the commandden cmd my-ls -lorden my-ls -lto execute the command with extra params
If the command is an array of command it will run each of them one after the other and add the extra params to each of them, so if you run den multi --help, it will execute ls --help and pwd --help.
All the commands from deno are also available, e.g.:
den run your_script.tsden --helpden eval "console.log(30933 + 404)"- …
installation
Use deno installer:
deno install -f --allow-run --allow-read https://raw.githubusercontent.com/apiel/den/master/den.tsTo upgrade run den den upgrade.