Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC - Add Indie and Pro license 'install' commands #7

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ deno compile --allow-read --allow-write --allow-env --output=builds/drenv --targ
```

> [!NOTE]
> Once **drenv** has been installed, you can seamlessly update to the latest version by running `drenv upgrade`.
> Once **drenv** has been installed, you can seamlessly update to the latest
> version by running `drenv upgrade`.

## Usage

Expand Down Expand Up @@ -60,7 +61,8 @@ This allows you to call `drenv` from anywhere in your terminal.
This command will copy a local DragonRuby installation at the specified path
into **drenv**'s home directory.

The path should point to the directory that contains the `dragonruby` executable.
The path should point to the directory that contains the `dragonruby`
executable.

> [!IMPORTANT]
> You will need to register at least one DragonRuby installation before you can
Expand Down Expand Up @@ -105,4 +107,17 @@ This command will list out all registered versions of DragonRuby.
* 6.3
```

### `drenv install <version>`

This command will download and install the specified version of DragonRuby.

This will prompt you to enter your https://dragonruby.org credentials.

> [!IMPORTANT]
> This command only supports installing Indie and Pro versions of DragonRuby.

### `drenv login` - Requires support from https://dragonruby.org

This command will prompt you to enter your DragonRuby credentials and store a token for future use.

Tested on MacOS Macbook Pro M1 with DragonRuby 5.32, 6.3, and 6.4.