Skip to content

Commit 7dc86e6

Browse files
committed
run command and other fixes
1 parent 6632639 commit 7dc86e6

File tree

16 files changed

+44
-11
lines changed

16 files changed

+44
-11
lines changed

.gitignore

100644100755
File mode changed.

Cargo.lock

100644100755
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "discord version manager for linux"
44
homepage = "https://github.com/diced/dvm"
55
repository = "https://github.com/diced/dvm.git"
66
license = "MIT"
7-
version = "1.1.7"
7+
version = "1.1.8"
88
authors = ["diced <[email protected]>"]
99
edition = "2021"
1010

README.md

100644100755
Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Allowing you to manage all of your discord versions. This was made as I was impa
44

55
# Usage
66
```
7-
dvm 1.1.4
7+
dvm 1.1.8
88
99
USAGE:
1010
dvm <SUBCOMMAND>
@@ -25,7 +25,7 @@ SUBCOMMANDS:
2525

2626
# Installing
2727
To install a specific version just type in
28-
```
28+
```sh
2929
dvm install stable
3030
```
3131
This will do the following:
@@ -36,13 +36,13 @@ This will do the following:
3636

3737
## Installing multiple versions at once
3838
You can install multiple versions at once, they will be executed one after the other.
39-
```
39+
```sh
4040
dvm install stable ptb canary development
4141
```
4242

4343
# Removing
4444
Removing installations is as easy as installing them
45-
```
45+
```sh
4646
dvm remove stable
4747
```
4848
This will do the following:
@@ -52,11 +52,44 @@ This will do the following:
5252

5353
# Update
5454
Updating installations is as easy as installing them
55-
```
55+
```sh
5656
dvm update stable
5757
```
5858
This will do the following:
5959
1. Check if discord actually needs to be updated
6060
2. Download the latest tarball
6161
3. Remove the $HOME/.dvm/<installation type>
62-
4. Do everything the installation does.
62+
4. Do everything the installation does.
63+
64+
# Show
65+
This will show all installations that are currently installed, the `--verbose, -v` flag will show the path it's installed to, and the `--check, -c` flag will check if your installations are up-to-date (red = outdated, green = up to date)
66+
```sh
67+
dvm show
68+
dvm show -v
69+
dvm show -c
70+
dvm show -vc
71+
```
72+
```sh
73+
# no flag
74+
canary:0.0.133
75+
development:0.0.198
76+
stable:0.0.17
77+
# -v
78+
canary:0.0.133 -> /home/diced/.dvm/DiscordCanary
79+
development:0.0.198 -> /home/diced/.dvm/DiscordDevelopment
80+
stable:0.0.17 -> /home/diced/.dvm/Discord
81+
```
82+
83+
# Run
84+
You can run discord via command line with extra flags
85+
```sh
86+
dvm run canary <extra args>
87+
# for example
88+
dvm run canary --idk-some-chromium-flag-or-something
89+
```
90+
91+
# Completions
92+
Get shell completions for your shell of choice
93+
```sh
94+
dvm completions zsh
95+
```

rustfmt.toml

100644100755
File mode changed.

src/cli/install.rs

100644100755
File mode changed.

src/cli/mod.rs

100644100755
File mode changed.

src/cli/remove.rs

100644100755
File mode changed.

src/cli/run.rs

100644100755
File mode changed.

src/cli/show.rs

100644100755
File mode changed.

0 commit comments

Comments
 (0)