File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,22 +49,32 @@ The command provides several options to work with version strings:
4949 <tr>
5050 <td><code>validate</code></td>
5151 <td>Validates the given version string against the SemVer specification.</td>
52- <td><code>version validate v1 .0.0</code></td>
52+ <td><code>version validate 1 .0.0</code></td>
5353 </tr>
5454 <tr>
5555 <td><code>increment</code></td>
5656 <td>Increments the version string by major, minor, or patch.</td>
57- <td><code>version increment v1 .0.0</code></td>
57+ <td><code>version increment 1 .0.0</code></td>
5858 </tr>
5959 <tr>
6060 <td><code>gt</code></td>
6161 <td>Compares two version strings to see if the first is greater than the second.</td>
62- <td><code>version gt v1.0.0 v0.9.0</code></td>
62+ <td><code>version gt 1.0.0 0.9.0</code></td>
63+ </tr>
64+ <tr>
65+ <td><code>lt</code></td>
66+ <td>Compares two version strings to see if the first is less than the second.</td>
67+ <td><code>version lt 1.0.0 0.9.0</code></td>
68+ </tr>
69+ <tr>
70+ <td><code>eq</code></td>
71+ <td>Compares two version strings to see if they are equal.</td>
72+ <td><code>version eq 1.0.0 1.0.0</code></td>
6373 </tr>
6474 </tbody>
6575</table >
6676
67- For more details on each command,you can run:
77+ The command supports both patterns with or without the ` v ` prefix, so you can use ` 1.0.0 ` or ` v1.0.0 ` . For more details on each command, you can run:
6878
6979``` bash
7080version list
You can’t perform that action at this time.
0 commit comments