DBang
DBang is a CLI to manage Deno scripts on GitHub
Vocabulary
- Catalog: A collection of scripts that is dang-catalog.json
- Script: A script that is in dang-script.json, also called artifact.
- repo_name: GitHub's repo name, eg.
dbang-catalog
, my-script
- repofullname: repo name with GitHub's account or organization name, for example
linux-china/dbang-catalog
Features
- Deno versions management
- Install Apps
- Aliases & Catalogs
- Trust and Permissions
- Unstable
- Default arguments
Security strategies
- Prompt for permissions confirm on first run
- Prompt for permissions confirm after
dbang-catalog.json
changed, like Android app
- Trust user's scripts by
dbang trust <user>
- Private repo support by DENOAUTHTOKENS
Web Storage Support
DBang use --config ~/.dbang/catalogs/github/linux-china/dbang-catalog.json
to separate different catalogs, and it
means scripts in same dbang-catalog.json would share the same storage.
References
- JBang: jbang.dev
- Update-informer: https://github.com/mgrachev/update-informer