dbang

Crates.iodbang
lib.rsdbang
version0.2.0
sourcesrc
created_at2022-01-04 01:31:10.395394
updated_at2022-08-25 17:57:01.152994
descriptionCLI to manage Deno scripts
homepagehttps://dbang.dev
repositoryhttps://github.com/dbangdev/dbang
max_upload_size
id507477
size112,486
Libing Chen (linux-china)

documentation

https://dbang.dev

README

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
  • repo_full_name: 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 DENO_AUTH_TOKENS

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

Commit count: 206

cargo fmt