Skip to content

Commit 6549dca

Browse files
authored
Merge pull request #83 from sionpixley/dev
More info in the usage text
2 parents 3b99976 + 7b9b4e3 commit 6549dca

6 files changed

Lines changed: 16 additions & 10 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/sionpixley/PolyNode
22

3-
go 1.25.5
3+
go 1.25.6

install/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module install
22

3-
go 1.25.5
3+
go 1.25.6
44

5-
require golang.org/x/sys v0.39.0
5+
require golang.org/x/sys v0.40.0

install/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
golang.org/x/sys v0.39.0 h1:CvCKL8MeisomCi6qNZ+wbb0DN9E5AATixKsvNtMoMFk=
2-
golang.org/x/sys v0.39.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
1+
golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ=
2+
golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=

internal/constants/constants.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,32 @@ Commands:
1313
1414
add <version or keyword or prefix>
1515
Downloads a specific version of Node.js, but does not switch it to your current version.
16+
Prefix will match the newest version with that prefix.
1617
current
1718
Prints your current version of Node.js.
1819
install <version or keyword or prefix>
1920
Downloads a specific version of Node.js and sets it as your default version.
21+
Prefix will match the newest version with that prefix.
2022
list
2123
Prints the list of downloaded Node.js versions.
2224
ls
2325
Alias for 'list' command.
2426
remove <version or prefix>
2527
Deletes a version of Node.js.
28+
Prefix will match the oldest version with that prefix.
2629
rm <version or prefix>
2730
Alias for 'remove' command.
31+
Prefix will match the oldest version with that prefix.
2832
search [prefix]
2933
Prints out a list of Node.js versions that have this prefix.
3034
If the prefix is omitted, prints out a list of the most recent Node.js versions available for download.
3135
temp <version or prefix>
3236
Prints out the command needed to temporarily set your Node.js to a specific version.
3337
If on AIX, Linux, or macOS, please use 'eval $(polyn temp <version>)' instead.
38+
Prefix will match the newest version with that prefix.
3439
use <version or prefix>
3540
Sets your default Node.js to a different version.
41+
Prefix will match the newest version with that prefix.
3642
update
3743
Updates PolyNode to the latest release.
3844
version
@@ -51,5 +57,5 @@ Keywords:
5157
UnsupportedOSError string = "polyn error: unsupported operating system"
5258

5359
// PolyNode's version.
54-
Version string = "v3.0.12"
60+
Version string = "v3.0.13"
5561
)

uninstall/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module uninstall
22

3-
go 1.25.5
3+
go 1.25.6
44

5-
require golang.org/x/sys v0.39.0
5+
require golang.org/x/sys v0.40.0

uninstall/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
golang.org/x/sys v0.39.0 h1:CvCKL8MeisomCi6qNZ+wbb0DN9E5AATixKsvNtMoMFk=
2-
golang.org/x/sys v0.39.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
1+
golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ=
2+
golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=

0 commit comments

Comments
 (0)