DenReg/cli
2020-08-16 19:28:27 +02:00
..
commands Add upgrade command 2020-08-16 19:28:27 +02:00
denreg.ts Add upgrade command 2020-08-16 19:28:27 +02:00
deps.ts Upgrading deps 2020-08-16 19:28:12 +02:00
global.ts Add hooks 2020-08-16 19:20:37 +02:00
meta.json Add upgrade command 2020-08-16 19:28:27 +02:00
README.md Add upgrade command 2020-08-16 19:28:27 +02:00

A CLI for the denreg registry.

Installation

Recommended way for installation is deno install -A --unstable https://deno.hibas123.de/raw/@denreg-cli/denreg.ts Since the cli requires access to:

  • reading and writing files
  • access to environment variables
  • network access
  • run programs

The -A flag is the easiest way to install. You can however manually grant the required permissions.

permission reason
--allow-read Read configuration files (~/.denreg) as well as your project files on publish
--allow-write Write configuration file while using setup and init as well as during publish for temporary files
--allow-net Access to network for uploading to the registry (can be exclusive to the registry)
--allow-env Required to get config file path relative to user home directory
--allow-run Required to run hook scripts