https://github.com/codemonument/deno_modup
A CLI tool by @codemonument named `modup` to upgrade deno module binaries installed from deno.land/x via `deno install`
https://github.com/codemonument/deno_modup
Last synced: about 1 month ago
JSON representation
A CLI tool by @codemonument named `modup` to upgrade deno module binaries installed from deno.land/x via `deno install`
- Host: GitHub
- URL: https://github.com/codemonument/deno_modup
- Owner: codemonument
- Created: 2022-06-01T17:45:48.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-15T16:13:31.000Z (almost 4 years ago)
- Last Synced: 2025-08-10T00:57:35.492Z (11 months ago)
- Language: TypeScript
- Homepage:
- Size: 115 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- Changelog: Changelog.md
Awesome Lists containing this project
README
# modup CLI
A CLI tool by @codemonument named `modup` (like the rustup cli) to upgrade deno module binaries installed from deno.land/x via `deno install`.
Language: Typescript
Run via: deno / as portable cli
Command (currently): modup.exe
## How to use
Available at:
- Deno Main Package: https://deno.land/x/modup
- Deno Secondary Package (for visibility): https://deno.land/x/module_upgrade (also uses modup command)
- Base Git Repo:
## How to use
1. Install the package from deno.land/x as cli `modup`:
```
deno install --allow-read --allow-net --allow-run --allow-env --name modup https://deno.land/x/modup/main.ts
```
2. Enjoy modup command! (Run `modup help` to get usage information)
3. Optional: You can change the command to anything you like by simply passing another --name instead of `modup`
## Example
1. Install `codeup` in a previous version: `deno install --allow-read --allow-write --allow-net --allow-run --allow-env --name codeup https://deno.land/x/codeup@2.0.0-beta.1/main.ts`
2. Run `codeup help` to verify installed version
3. Install `modup`: `deno install --allow-read --allow-net --allow-run --allow-env --name modup https://deno.land/x/modup`
4. Run `modup codeup` to upgrade codeup to the latest version.
See shell output for detailed information.
## ToDos
- add more validation: dno't try to update locally installed modules (with file url) or modules from other places than deno.land/x
- integrate nest.land
- look into switching from yargs package to https://drash.land/line/v1.x/getting-started/introduction
- use as inspiration: https://deno.land/x/deno_run@0.3.0