DenReg/cli/README.md

23 lines
1.2 KiB
Markdown
Raw Normal View History

2020-07-31 17:45:14 +00: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
2020-08-16 17:28:27 +00:00
- run programs
2020-07-31 17:45:14 +00:00
The -A flag is the easiest way to install. You can however manually grant the required permissions.
| permission | reason |
| ------------- | ------------------------------------------------------------------------------------------------- |
2020-08-02 21:40:12 +00:00
| --allow-read | Read configuration files (~/.denreg) as well as your project files on publish |
2020-07-31 17:45:14 +00:00
| --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 |
2020-08-16 17:28:27 +00:00
| --allow-run | Required to run hook scripts |