Skip to content

Commit c4576b4

Browse files
committed
docs: update README with jenv commands and usage examples
- Remove unused command examples - Add comment symbols to unused commands - Update command syntax for adding and removing JDKs - Update command syntax for scanning installed JDKs - Improve formatting consistency across all command examples
1 parent b12f291 commit c4576b4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ go build -o jenv
122122
```bash
123123
# Verify jenv installation
124124
jenv --version
125-
126125
```
127126

128127
### Add and remove JDK
@@ -131,9 +130,9 @@ jenv --version
131130

132131
```bash
133132
# Add a new JDK with an alias name
134-
jenv add <alias> <jdk_path>
133+
#jenv add <alias> <jdk_path>
135134
jenv add jdk8 "C:\Program Files\Java\jdk1.8.0_291"
136-
jenv remove <alias>
135+
#jenv remove <alias>
137136
jenv remove jdk8
138137
```
139138

@@ -146,14 +145,14 @@ jenv list
146145
### Switch to a specific JDK version
147146

148147
```bash
149-
jenv use <alias>
148+
#jenv use <alias>
150149
jenv use jdk8
151150
```
152151

153152
### Remove a JDK from jenv
154153

155154
```bash
156-
jenv remove <alias>
155+
#jenv remove <alias>
157156
jenv remove jdk8
158157
```
159158

@@ -165,6 +164,7 @@ jenv current
165164

166165
### Scan system for installed JDKs
167166
```bash
167+
#jenv scan <path>
168168
jenv scan c:\
169169
```
170170

@@ -177,13 +177,13 @@ jenv add-to-path
177177
### Change UI theme (light/dark)
178178

179179
```bash
180-
jenv theme <theme_name>
180+
#jenv theme <theme_name>
181181
jenv theme dark
182182
```
183183

184184
### help & version
185185
```bash
186-
jenv help [command]
186+
#jenv help [command]
187187
jenv --version
188188
```
189189

0 commit comments

Comments
 (0)